StackedArea Bug in 1.0.11

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
agscontact
Posts: 13
Joined: Mon Dec 01, 2008 4:31 am

StackedArea Bug in 1.0.11

Post by agscontact » Fri Dec 26, 2008 9:50 am

146.06 cat1 series1

3.67 cat2 series2


the resulting stacked area is not proper......

any suggestions????


[/img]

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 » Tue Dec 30, 2008 11:38 am

Your dataset has two categories and two series, a total of four "cells" for data values...but you only specify two values. Maybe that's not what you intended, but I can't tell.
David Gilbert
JFreeChart Project Leader

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

agscontact
Posts: 13
Joined: Mon Dec 01, 2008 4:31 am

Post by agscontact » Mon Jan 12, 2009 3:08 am

hi gilbert ...thanks for your reply...we cant have data based on chart...data can be anything say i have only 2 rows like this...you can check the generated chart.its wrong

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Post by paradoxoff » Mon Jan 12, 2009 2:24 pm

agscontact wrote:we cant have data based on chart...data can be anything say i have only 2 rows like this...you can check the generated chart.its wrong
:?: :?: :?:
Not sure what you say.
I will probably try to produce a stacked chart with two categories and one series per category and largely differen values and see how that looks like, but since there is only one series per category there is nothing to stack anyways.

Locked