StackedBarChart, don't display all values on X-line
Posted: Mon Apr 12, 2010 9:07 pm
For build of Bar chart i using org.jfree.chart.ChartFactory.createStackedBarChart(...,dataset,...)
where dataset is two-dimensional array. You can see result
There is two problems
1)
I can't(i don't know how) paint positive and negative values in one color.
2)
If i choose a large interval of values, then some of them are't displayed
How i can resolved this problem? Maybe i need use another class of ChartFactory instead createStackedBarChart? If you are not hard, give a link to example of how to implement this,i.e. example of chart like my where problems 1 and 2 is resolved
where dataset is two-dimensional array. You can see result
There is two problems
1)
I can't(i don't know how) paint positive and negative values in one color.
2)
If i choose a large interval of values, then some of them are't displayed
How i can resolved this problem? Maybe i need use another class of ChartFactory instead createStackedBarChart? If you are not hard, give a link to example of how to implement this,i.e. example of chart like my where problems 1 and 2 is resolved