Stacking plugin doesn't work for area charts #324

Open
dnschnur opened this Issue Sep 28, 2012 · 11 comments

Comments

Projects
None yet
1 participant
Owner

dnschnur commented Sep 28, 2012

Original author: mvdle...@me.com (October 27, 2009 14:07:19)

Hi,

I don't know if this is a bug or a feature request. I've just upgraded to
flot 0.6.0 for the stacking support. I would like to have stacked areas, as
in:

http://images.google.nl/images?q=area%20chart

It works if I stack lines or bars, but "filled lines" (i.e. areas) don't
seem to work. I think the bug is that the areas start at the bottom of the
chart and overlap each other. Semi-transparent colors then become
intelligible.

Is this by design or did I spot a bug?

regards
Michiel van der Leeuw

Original issue: http://code.google.com/p/flot/issues/detail?id=245

Owner

dnschnur commented Sep 28, 2012

From olau%iol...@gtempaccount.com on October 27, 2009 15:07:31
The reason why it doesn't work is simply that area charts can't be drawn with an
arbitrary bottom at the moment. There's a patch somewhere for fixing that, then the
rest should be more or less trivial.

Owner

dnschnur commented Sep 28, 2012

From mvdle...@me.com on November 02, 2009 14:22:30
Can you point me towards the patch or should I hold off until the next release? Apart
from the stacked graphs, I'm very happy.

Owner

dnschnur commented Sep 28, 2012

From jean.bar...@gmail.com on November 16, 2009 05:01:34
I am having the same issue. This isn't exactly what you want, but I have this file
from somewhere, which fixes it - the flot library and plugins are inlined here.

Owner

dnschnur commented Sep 28, 2012

From L0n3.R4n...@gmail.com on November 17, 2009 16:42:07
G'day Jean,
I'm having the same issue mentined in this thread. You're solution looks great, but
is there any chance of getting this as an external javascript file please?
Thanks~!

Owner

dnschnur commented Sep 28, 2012

From olau%iol...@gtempaccount.com on February 09, 2010 14:18:33
Hi, just came across this report again. I think I fixed this some time ago in the
development version. Could you try the stacking plugin now and see if it works for you?

Owner

dnschnur commented Sep 28, 2012

From mvdle...@me.com on February 18, 2010 13:19:33
Sorry it took me so long to get back on this one, but I just grabbed the latest
development version, turned on fill on the stacked chart and it's fixed!

Thanks!

Michiel

Owner

dnschnur commented Sep 28, 2012

From mvdle...@me.com on February 18, 2010 19:48:02
Hi,

I got another (smaller issue).. When stacking graphs, the legend is bottom-up from
the stacked bars in my graphs, making it difficult to see which things belong
together. For an example see:

http://www.xs4all.nl/~satan/.flot/perfstats.png

I can probably hack around in the code and turn it up-side down, but I was wondering
if I was doing something wrong?

Any help is appreciated, I'm very happy with flot!

cheers,
Michiel

Owner

dnschnur commented Sep 28, 2012

From ericschm...@gmail.com on October 28, 2010 22:10:38
I'm having trouble getting stacked area charts to work for flot. I've been looking at examples and doing my best to imitate code that seems to work, but it looks like the filled are of the top most line in a stacked area charts overlaps those below it. Is anybody still experiencing this? Please help, I'm up against a deadline and totally frustrated.

Warmest regards,
Eric

Owner

dnschnur commented Sep 28, 2012

From ericschm...@gmail.com on October 28, 2010 22:57:24
To all,

I didn't realize that the above posts were talking about checking code out of svn when they were talking about the "development version"... Once I did that everything worked out great! Excellent plugin! Thank you, thank you, thank you!

Cheers,
Eric

Owner

dnschnur commented Sep 28, 2012

From jase.wil...@gmail.com on August 04, 2011 15:34:10
Im having trouble here...
Has this been sorted? That fix looks great there is FAR too much code in that html file, could someone make it into a .js file for including??

Thanks

Owner

dnschnur commented Sep 28, 2012

From jase.wil...@gmail.com on August 05, 2011 08:46:54
The stacked plugin only seems to work if the bottom line is consistent. When the bottom area stops, so does the top. I don't want this, i need it so the top line carries on till the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment