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