java - jfreechart remove horizontal dotted line -
i getting lot of problems jfreechart.
i want draw graphic (stackedbarchartgraphic defaultcategorydataset input).
i want graphic this:
the problem goes when graphic this:
i want remove horizontal dotted lines @ 100, 200, 300 , on , (also) put black line @ value 0 (i.e. draw 0 axis black line). tried this:
categoryplot plot = (categoryplot) chart.getplot(); plot.setbackgroundpaint(color.white); plot.setdomaingridlinepaint(color.white); plot.setrangegridlinepaint(color.gray); plot.setdomaingridlinesvisible(false); plot.clearrangemarkers(); plot.clearannotations();
and doesn't work. ideas? much!
Comments
Post a Comment