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

enter image description here

The image is photo edited to show my requirement.

Thanks in advance

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top