Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different bar width per data point #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pedrofaustino
Copy link

This may be somehow related with google code issue 275.

In any case, let me know if you're interested into merging this and in that case if there's something else that needs to be done (e.g. code is not correct, an example is required).

@graingert
Copy link

presumably this is accepts data formatted:

data: [
   [x, y],
   [x, y, width],
   [x, y],
   [x, y, width]
]

@graingert
Copy link

This would be really handy as I want to implement a time based histogram, and some months have the gall to have more milliseconds that others!

@emersonthis
Copy link

Wow, this is exactly what I'm looking for. How should the third parameter be formated? Just an integer or an object?

This was referenced Sep 28, 2012
@arjan0307
Copy link

+1

@jee7
Copy link

jee7 commented Mar 12, 2014

It seems to be the fourth parameter. Why isn't this merged to flot:master?

@dnschnur
Copy link
Member

This pull request was opened before I took over as maintainer, and I hadn't really looked at it. Quickly reviewing it now, there are a few problems:

  • It assumes that the new point will be the last, which isn't true if the user or plugins have added additional values.
  • Bars can already have an optional third coordinate
  • It doesn't use pointformat to add the new value

I don't have time, but if anyone would like to fix this up, add docs, and submit a pull request against the 0.9-work branch, I'd be happy to merge it.

@knocte
Copy link

knocte commented Mar 23, 2015

ping?

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

Successfully merging this pull request may close these issues.

None yet

7 participants