Link to home
Start Free TrialLog in
Avatar of allelopath
allelopath

asked on

JFreeChart: emphasize grid line

I have a JFreeChart with a couple plots (see attached)
I would like to emphasize the horizontal "0" line, ie make it bold and/or darker.
I suppose one way to make another plot with points (0,0) and (170000,0), but perhaps there is a better way.
Screen-shot-2011-05-10-at-10.11..png
Avatar of for_yan
for_yan
Flag of United States of America image

This is a JFreeChart Manual
On page 73 they draw a chart with one additional horizonatl plot-axis.
They have the code rtight there.
You can check how they do it.
Thsi would probably be the prefereable way, as this the manual.


jfreechart-1.0.13-A4.pdf
Well, it looks like they do it as additional series.
Still, manual is not a bad thing - maybe you'll find something better there.
ASKER CERTIFIED SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of allelopath
allelopath

ASKER

I guess there's no way to actually change the XYPlot.