How to draw a line from the point to X axis, in the JavaFX ScatterChart?

偶尔善良 提交于 2019-12-04 06:25:31

问题


Now I am work with JavaFX ScatterChart and I need to draw a line from the point of data to X axis, as I show in the image below.

Thak you for your help!!


回答1:


You'll have to create a custom chart and add the lines as custom nodes. This is very similar to the marker lines in the answer to the Adding a line in a JavaFX chart question.



来源:https://stackoverflow.com/questions/29463467/how-to-draw-a-line-from-the-point-to-x-axis-in-the-javafx-scatterchart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!