Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top