Giter Site home page Giter Site logo

Additive Chart Support about flot HOT 6 CLOSED

flot avatar flot commented on June 19, 2024
Additive Chart Support

from flot.

Comments (6)

dnschnur avatar dnschnur commented on June 19, 2024

From [email protected] on July 21, 2008 21:17:49
I think the appropriate way to do this is to add a dataset for the total production
in your own code. However you're already generating the data for each company, as you
go just keep track of whatever you're interested in.

from flot.

dnschnur avatar dnschnur commented on June 19, 2024

From olau%[email protected] on September 10, 2008 19:45:51
I can empathize with your point, but I think I tend to agree with Ryan.

In any case, for anything to happen here, somebody needs to think up a reasonable API
that fits well in with the rest of Flot. That's the minimum requirement. :)

Offhand, to me, that sounds harder than simply summing up the stuff server-side. So
until this happens, I'll keep the bug closed as won'tfix.

from flot.

dnschnur avatar dnschnur commented on June 19, 2024

From olau%[email protected] on September 18, 2008 09:43:39
OK, I'm going to reopen this. It's very similar to bug #31 which is about stacked
bar charts specifically. There's two things in this: support for drawing areas where
the lower part is not just the x axis, so to speak. And a preprocessor for
accumulating the data. Let's make this bug about the latter thing.

Again what needs to happen here first is that someone thinks up a reasonable API.

from flot.

dnschnur avatar dnschnur commented on June 19, 2024

From [email protected] on September 26, 2008 13:52:49
I'd like to see:

yaxis : { mode: "stacked" }

Or something equally simplistic. That would cause the data sets tied with the yaxis
to be drawn, in order, each stacked on the previous. We use this now (in another
charting tool) to represent composition. Think: bandwidth graph, but broken down by
protocol. Or database transaction rates split into insert, update and delete.

from flot.

dnschnur avatar dnschnur commented on June 19, 2024

From olau%[email protected] on October 01, 2008 08:18:33
Another option which is a bit more general would be specifying it in the series as
something like { data: [...], cumulativeGroup: 1 }. Flot would then accumulate the
series in the group, with the first series being at the bottom.

I think that all it takes to implement this is a bit of logic in processData. I think
we need to copy accumulated data series, though, otherwise it's not going to work
when people replot the same graph.

from flot.

dnschnur avatar dnschnur commented on June 19, 2024

From olau%[email protected] on March 15, 2010 13:07:24
If I'm not mistaken, this was actually fixed some time ago with the stacked plugin,
although it might not be complete yet I don't think it makes sense to keep this open
anymore.

from flot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.