Different bar width per data point #25

wants to merge 2 commits into


None yet

7 participants


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).


presumably this is accepts data formatted:

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

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!


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

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

Flot 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.



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