0
A
回答
0
看看供應商目錄。
因此,如果您正在使用 「miloschuman \ yii2-highcharts的微件」 和你使用作曲家安裝了它,嘗試尋找在供應商\ miloschuman \ yii2-highcharts的微件目錄。
也是一樣與其他廠商如「yiisoft \ yii2」等人,他們也都在廠商目錄。
另一條建議。如果您打算修改供應商目錄上的這些源代碼,請不要。這是不可取的,因爲當您運行另一個作曲家更新時,您對該源代碼所做的所有更改都將被覆蓋。只需將該軟件包分叉並創建自己的軟件包,以便在您運行作曲者更新後不會被覆蓋。
0
在這裏看到更多的細節Exporting Buttons
$(function() {
$('#container').highcharts({
title: {
text: 'Solar Employment Growth by Sector, 2010-2016'
},
subtitle: {
text: 'Source: thesolarfoundation.com'
},
yAxis: {
title: {
text: 'Number of Employees'
}
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle'
},
plotOptions: {
series: {
pointStart: 2010
}
},
series: [{
name: 'Installation',
data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175]
}, {
name: 'Manufacturing',
data: [24916, 24064, 29742, 29851, 32490, 30282, 38121, 40434]
}, {
name: 'Sales & Distribution',
data: [11744, 17722, 16005, 19771, 20185, 24377, 32147, 39387]
}, {
name: 'Project Development',
data: [null, null, 7988, 12169, 15112, 22452, 34400, 34227]
}, {
name: 'Other',
data: [12908, 5948, 8105, 11248, 8989, 11816, 18274, 18111]
}]
});
Highcharts.getOptions().exporting.buttons.contextButton.menuItems.push({
text: 'Additional Button',
onclick: function() {
alert('OK');
/*call custom function here*/
}
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="height: 400px; margin-top: 1em"></div>
+0
@ r34627673你是不是能夠得到 –
相關問題
- 1. 高級搜索
- 2. 高級搜索
- 3. 高級搜索
- 4. 高級搜索vb.net
- 5. PHP高級搜索
- 6. Mysql高級搜索
- 7. magento高級搜索
- 8. PHP高級搜索
- 9. Sqlite高級搜索
- 10. JQgrid高級搜索
- 11. 高級搜索Github?
- 12. Jqgrid高級搜索
- 13. jqGrid的高級搜索 - 保存搜索
- 14. LINQ中的高級搜索
- 15. pg_search高級搜索的
- 16. Mediawiki中的高級搜索
- 17. WordPress的高級搜索
- 18. 高級搜索使用Hibernate搜索
- 19. Yii2高級排序
- 20. yii2高級2.06 createAbsoluteUrl
- 21. LAMP/jquery高級搜索
- 22. 製作高級搜索
- 23. 導軌 - 高級搜索
- 24. 高級AngularJS Live搜索
- 25. 高級搜索,PHP和MySQL
- 26. Deezer高級搜索無效
- 27. 高級搜索表單?
- 28. 在Vim中高級搜索
- 29. 高級Eclipse Java搜索
- 30. 高級搜索使用CheckboxList
你想在列表 –
添加另一種選擇是,我要通過程序來添加另一種選擇@ Deep3015 – r34627673