gmmoraesbr / flot

Automatically exported from code.google.com/p/flot
0 stars 0 forks source link

setting format.x or format.y to "false" is not working #311

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This causes the scale to range from 0 to 1 only.

I believe the problem is in jquery.flot.js.

Line 495: f = format[m];

needs to be

f = s.datapoints.format[m];

Original issue reported on code.google.com by rubens...@gmail.com on 23 Feb 2010 at 3:38

GoogleCodeExporter commented 8 years ago
Hi,

It's not completely generalized yet so it might be that it doesn't do what you 
think
it will. I don't think your suggested change will work though? Did you test it? 
As
far as I can see, "format" comes from "s.datapoints.format".

What do you want it to do?

Original comment by olau%iol...@gtempaccount.com on 22 Mar 2010 at 11:44

GoogleCodeExporter commented 8 years ago
Ok I think it's best if I attach an example. I have 3 series (for example) on 
the same 
y axis, but do not want one of them to be included in the calculation of the y 
axis 
range, so I wrote a plugin to do that. It's possible that you are correct and I 
am 
trying to misuse the that data structure, please let me know.

With the attached file, if you use it without my proposed change, it will scale 
to 
shown only the sine waveform, but if you apply the change, it will work at 
least as I 
expected ;-)

Original comment by rubens...@gmail.com on 22 Mar 2010 at 11:50

Attachments:

GoogleCodeExporter commented 8 years ago
Issue 504 has been merged into this issue.

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 8:57

GoogleCodeExporter commented 8 years ago
Issue 672 has been merged into this issue.

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 8:58

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 8:58