byMan / flot

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

Missing a clear error/deprecation message when using time axes without the plugin #709

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This discussion is the first in what will probably be several related to users 
not understanding that time support is now a separate plugin:

https://groups.google.com/d/topic/flot-graphs/30pIGjKCDVI/discussion

We should catch this case and throw a friendly exception stating something like 
"Axis mode 'time' requires a plug-in that doesn't appear to be present".

Original issue reported on code.google.com by dnsch...@gmail.com on 25 Jun 2012 at 2:13

GoogleCodeExporter commented 9 years ago
Hello,

We did a first pass, it's here: Is this the right way to throw this exception 
or is there a better approach? 

https://github.com/flot/flot/pull/55

Thank you.
Yael

Original comment by yael.elm...@gmail.com on 9 Jul 2012 at 8:01

GoogleCodeExporter commented 9 years ago
Confirmed in the master branch; this makes the missing plugin much easier for 
developers to identify.  Thanks!

Original comment by dnsch...@gmail.com on 11 Jul 2012 at 11:27