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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -