java - jfreechart remove horizontal dotted line -


i getting lot of problems jfreechart.

i want draw graphic (stackedbarchartgraphic defaultcategorydataset input).

i want graphic this: desired graph

the problem goes when graphic this: error graph

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

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -