How to do double domain crosshair using jFreeChart
-
26-10-2019 - |
Question
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
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