StackedBarChart, don't display all values on X-line

Discussion about JFreeChart related to stockmarket charts.
Locked
Alexey
Posts: 1
Joined: Mon Apr 12, 2010 7:49 pm
antibot: No, of course not.

StackedBarChart, don't display all values on X-line

Post by Alexey » 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
Image

There is two problems
1)
Image
I can't(i don't know how) paint positive and negative values in one color.


2)
Image
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

Locked