Closed GoogleCodeExporter closed 8 years ago
This seems to be a usage issue, not a defect in the library. You need to flip
the order of the couples in your data series. If your original series was
[[1,3233], [2,6700], [3,1233], [4,2921]] then when using horizontal= true, you
need to use [[3233,1], [6700,2], [1233,3], [2921,4]] . The data series is in
x,y order, so if you want the quantity to be depicted across the horizontal (x)
axis, then you need to put the quantity as the zeroth element in each data
pair.
Original comment by dpchi...@hotmail.com
on 28 Aug 2011 at 5:59
Thanks for the quick reply!
You're right - when I reverse the points it does look slightly better. For the
life of me, I cannot figure out the proper usage though...
I've attached screenshots & source, I'd really appreciate help in the right
direction.
Original comment by Butch.A....@gmail.com
on 30 Aug 2011 at 1:02
Attachments:
Besides swapping the points, you also need to swap the axes. This is really a
question for the forum
(https://groups.google.com/forum/?fromgroups#!forum/flot-graphs) though. If
you have any follow-ups, please post them there.
Original comment by dnsch...@gmail.com
on 8 May 2012 at 8:38
Original comment by dnsch...@gmail.com
on 9 May 2012 at 12:49
Original issue reported on code.google.com by
Butch.A....@gmail.com
on 26 Aug 2011 at 9:47Attachments: