How to do double domain crosshair using jFreeChart

被刻印的时光 ゝ 提交于 2019-12-12 23:49:34

问题


How can I implement the double domain cross-hairs for my jfreechart? Here is the requirement I need to honor.

The image is photo edited to show my requirement.

Thanks in advance


回答1:


You can use a ValueMarker, as shown here. You'll need to set the dash attributes in your Stroke; DEFAULT_GRIDLINE_STROKE is an example.



来源:https://stackoverflow.com/questions/9321693/how-to-do-double-domain-crosshair-using-jfreechart

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