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

Discussion about JFreeChart related to stockmarket charts.

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

Postby 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

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

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
Posts: 1
Joined: Mon Apr 12, 2010 7:49 pm

Return to JFreeChart - Stockmarket

Who is online

Users browsing this forum: Google [Bot] and 2 guests