0
A
回答
3
當然可以,並且所有上傳你提到了辦法。基礎知識是您需要數據中的標籤文本,並且您需要自定義標籤格式器。例如
series: [{
dataLabels: {
enabled: true,
x:40,
formatter:function() {
return this.point.name;
},
style:{color:"black"}
},
data: [{
"x": 23,
"y": 22,
"z": 200,
"name":"point1"
}, {
"x": 43,
"y": 12,
"z": 100,
"name":"point2"
}]
}]
在dataLabel的「x」參數定義的,其中,以相對於該點的標籤放置的偏移量。您也可以指定'y'選項來上下移動它。這些數字可能是負面的。
要改變點顏色,可以爲數據中的每個點對象設置一個「顏色」屬性。
相關問題
- 1. JTextField「Bubble」Text
- 2. Highcharts errorors with corsshairs
- 3. stat_summary_2d with geom =「text」
- 4. mongodb $ text with $
- 5. Android Imagebutton with text
- 6. Highcharts-ng with drilldown
- 7. addPoint with HIGHCHARTS(xAxis dateTime)
- 8. display:table-cell with text-align:center
- 9. UIButton with Text Stroke/Outline
- 10. SQL GROUP_CONCAT WITH EDIT TEXT
- 11. jquery next prev with text
- 12. text to XML with xslt
- 13. SplitButton title with glyphicon + text
- 14. Highcharts Zooming with Scroll Bar
- 15. Highcharts with angularjs without jquery
- 16. 混亂的LineChart with highcharts
- 17. AngularJS for Highcharts with dynamic ajax data
- 18. SQLAlchemy with PostgresSQL and Full Text Search
- 19. Keras:Tokenizer with fit_generator()on text data
- 20. Android Custom GridLayout with Text + Image
- 21. dd-collapse-text with emoji filter
- 22. Android .setmarkage with subscript or superscript text
- 23. Sublime Text 2 with MIT Scheme
- 24. Try-Catch Block Issue with Text
- 25. javascript wrap with text標籤
- 26. Mongo $ geoNear with search text duplicate results
- 27. float left div with text shift down
- 28. NSPopupButton with Live Fonts(Styled Text)
- 29. XSD for simplecontent with attribute and text
- 30. djangocms-text-ckeditor with django-filer
哦,是的,我忘了自定義標籤格式化程序。謝謝! – Lorenzo