StackedBarChart with TimeSeries

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
MP3HiFi
Posts: 12
Joined: Fri Apr 11, 2008 8:02 am

StackedBarChart with TimeSeries

Post by MP3HiFi » Fri Apr 11, 2008 8:17 am

Hello,

at the Moment I use ChartFactory.createStackedBarChart to get my chart. For the x-axis I have dates in a timeseries. Because I have a lot of datapoints, the x-axis labels are not readable, because they overlap.

Is there any solution for this. The stacked option is a must.

Thanks
Martin

MP3HiFi
Posts: 12
Joined: Fri Apr 11, 2008 8:02 am

Post by MP3HiFi » Mon Apr 14, 2008 11:03 am

Hello,

does nobody has a solution for this problem?

Bye
Martin

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Apr 14, 2008 1:23 pm

You should try an XYPlot with a DateAxis, using the TimeTableXYDataset and a StackedXYBarRenderer.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

MP3HiFi
Posts: 12
Joined: Fri Apr 11, 2008 8:02 am

Post by MP3HiFi » Mon Apr 14, 2008 4:08 pm

Thanks,

it works.

Bye
Martin

Locked