Akh
Akh

Reputation: 6043

How to do double domain crosshair using jFreeChart

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

Upvotes: 1

Views: 1246

Answers (1)

trashgod
trashgod

Reputation: 205785

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.

Upvotes: 2

Related Questions