[jQuery] Re: Ann: Flot 0.1 released
On Dec 4, 8:35 pm, Ken Gregg [EMAIL PROTECTED] wrote: Great work. Anxious to play with it. Thanks! :-) One suggestion for handling time series is providing x and y axis label callbacks. When passed a value (number of minutes, hours, days, etc) the call back could translate the value to label text and the values would still scale. This is already supported. :-) I want to do more than that. The thing is that a good tick generator for the Gregorian calendar would go about generating ticks differently than a good tick generator for ordinary scalar values. For instance, if the plot displays half a year of time, there should be ticks for when the months start instead of some arbitrary days. I have some Python code for generating better ticks from when we were using Plotr, I just need to convert it to Javascript and expand it a bit. And maybe have a look at what gnuplot is doing. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
On Dec 5, 5:48 pm, Guy Fraser [EMAIL PROTECTED] wrote: Take a look at the Datejs.com library - it has lots of useful methods for working with dates and I believe they also plan to later implement it as a jQuery plugin. Hm, interesting. Now we'll just sit back and wait to you find a way of implementing this sort of thing:http://simile.mit.edu/timeline *hides* :-) I actually had a look at Timeline when I was doing the research for the project. It's awfully slow on Firefox on Linux, though. -- Ole Laursen
[jQuery] Re: Ann: Flot 0.1 released
Ole Laursen wrote: The thing is that a good tick generator for the Gregorian calendar would go about generating ticks differently than a good tick generator for ordinary scalar values. For instance, if the plot displays half a year of time, there should be ticks for when the months start instead of some arbitrary days. Take a look at the Datejs.com library - it has lots of useful methods for working with dates and I believe they also plan to later implement it as a jQuery plugin. Now we'll just sit back and wait to you find a way of implementing this sort of thing: http://simile.mit.edu/timeline *hides*
[jQuery] Re: Ann: Flot 0.1 released
On Dec 4, 11:03 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Karl Swedberg schrieb: Interesting. I don't see any canvas in IE6, thats why I posted. It doesn't throw any error either. That's really strange. They're working in my IE6. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
I found that right after I posted. My first project was plotting daily hits. I just made the x axis the day of the month and made sure my values arrays have an entry for every day and formatted the date using tickFormatter. Worked great, but what you suggest would be even easier. Ken On Dec 5, 2:57 am, Ole Laursen [EMAIL PROTECTED] wrote: On Dec 4, 8:35 pm, Ken Gregg [EMAIL PROTECTED] wrote: Great work. Anxious to play with it. Thanks! :-) One suggestion for handling time series is providing x and y axis label callbacks. When passed a value (number of minutes, hours, days, etc) the call back could translate the value to label text and the values would still scale. This is already supported. :-) I want to do more than that. The thing is that a good tick generator for the Gregorian calendar would go about generating ticks differently than a good tick generator for ordinary scalar values. For instance, if the plot displays half a year of time, there should be ticks for when the months start instead of some arbitrary days. I have some Python code for generating better ticks from when we were using Plotr, I just need to convert it to Javascript and expand it a bit. And maybe have a look at what gnuplot is doing. -- Ole Laursenhttp://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
Beautiful stuff. Nice work! I'll be using this for sure. - Richard On Dec 4, 2007 7:04 AM, Ole Laursen [EMAIL PROTECTED] wrote: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. The project page is here: http://code.google.com/p/flot/ And examples are here: http://people.iola.dk/olau/flot/examples/ I also posted about the news on my blog: http://ole-laursen.blogspot.com/2007/12/flot-01-released.html I'm in the midst of writing the API documentation, but the examples should hopefully get you started and the available settings are documented in the source code at the top of the file. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
Wow, looks nice. Great work. On Dec 4, 2007 11:48 AM, Richard D. Worth [EMAIL PROTECTED] wrote: Beautiful stuff. Nice work! I'll be using this for sure. - Richard On Dec 4, 2007 7:04 AM, Ole Laursen [EMAIL PROTECTED] wrote: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. The project page is here: http://code.google.com/p/flot/ And examples are here: http://people.iola.dk/olau/flot/examples/ I also posted about the news on my blog: http://ole-laursen.blogspot.com/2007/12/flot-01-released.html I'm in the midst of writing the API documentation, but the examples should hopefully get you started and the available settings are documented in the source code at the top of the file. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
Just off the top of my head. 1) I'd like to see some sort of background color for the labels in the top right. The text overlaps the lines and make it a little tough to read. At least an option for it. That's really it. This is QUITE impressive and I can easily see uses for this. Thanks for releasing it to the community! andy matthews -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ole Laursen Sent: Tuesday, December 04, 2007 6:04 AM To: jQuery (English) Subject: [jQuery] Ann: Flot 0.1 released Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. The project page is here: http://code.google.com/p/flot/ And examples are here: http://people.iola.dk/olau/flot/examples/ I also posted about the news on my blog: http://ole-laursen.blogspot.com/2007/12/flot-01-released.html I'm in the midst of writing the API documentation, but the examples should hopefully get you started and the available settings are documented in the source code at the top of the file. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
Swt and useful . I like it so much. 2007/12/4, Ole Laursen [EMAIL PROTECTED]: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. The project page is here: http://code.google.com/p/flot/ And examples are here: http://people.iola.dk/olau/flot/examples/ I also posted about the news on my blog: http://ole-laursen.blogspot.com/2007/12/flot-01-released.html I'm in the midst of writing the API documentation, but the examples should hopefully get you started and the available settings are documented in the source code at the top of the file. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
AWESOME work, congratulations and thanks for sharing. On Dec 4, 9:04 am, Ole Laursen [EMAIL PROTECTED] wrote: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. The project page is here: http://code.google.com/p/flot/ And examples are here: http://people.iola.dk/olau/flot/examples/ I also posted about the news on my blog: http://ole-laursen.blogspot.com/2007/12/flot-01-released.html I'm in the midst of writing the API documentation, but the examples should hopefully get you started and the available settings are documented in the source code at the top of the file. -- Ole Laursenhttp://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
On Dec 4, 3:11 pm, Andy Matthews [EMAIL PROTECTED] wrote: Just off the top of my head. 1) I'd like to see some sort of background color for the labels in the top right. The text overlaps the lines and make it a little tough to read. At least an option for it. One of the loose ends. I've just now committed to SVN support for the options backgroundColor and backgroundOpacity for the legend. The default is to use an opacity of 85% and try to guess the color. I'll fix a couple of other things I'm a bit dissatisfied with when I'm done writing the API documentation and then make another release. That's really it. This is QUITE impressive and I can easily see uses for this. Thanks. :-) -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
Ole, This is absolutely brilliant stuff here. Wow! I can't tell you how much I love this. At jQueryCamp07, John Resig and Bradley Sepos did a presentation on canvas, and I was blown away by the possibilities. This plugin confirms my blown-away-edness. :-) Any plans for a pie chart type -- maybe by using arc(x, y, radius, startAngle, endAngle, anticlockwise) ? --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 4, 2007, at 7:04 AM, Ole Laursen wrote: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. The project page is here: http://code.google.com/p/flot/ And examples are here: http://people.iola.dk/olau/flot/examples/ I also posted about the news on my blog: http://ole-laursen.blogspot.com/2007/12/flot-01-released.html I'm in the midst of writing the API documentation, but the examples should hopefully get you started and the available settings are documented in the source code at the top of the file. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
On Dec 4, 7:11 pm, Karl Swedberg [EMAIL PROTECTED] wrote: This is absolutely brilliant stuff here. Wow! I can't tell you how much I love this. At jQueryCamp07, John Resig and Bradley Sepos did a presentation on canvas, and I was blown away by the possibilities. This plugin confirms my blown-away-edness. :-) Thanks. :-) The canvas is, although simple, quite pleasant to work with. Any plans for a pie chart type -- maybe by using arc(x, y, radius, startAngle, endAngle, anticlockwise) ? Currently not. Mostly because I'm a bit unsure how it would fit in with the rest of the plugin. If there's almost no code sharing, it's probably better to somehow separate it out so that those who just want the pie charts don't have to have the rest of the package and vice versa. I'll give it a thought. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
Our projects will could be more desktop now =D Thanks a lot! On Dec 4, 2007 10:04 AM, Ole Laursen [EMAIL PROTECTED] wrote: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. The project page is here: http://code.google.com/p/flot/ And examples are here: http://people.iola.dk/olau/flot/examples/ I also posted about the news on my blog: http://ole-laursen.blogspot.com/2007/12/flot-01-released.html I'm in the midst of writing the API documentation, but the examples should hopefully get you started and the available settings are documented in the source code at the top of the file. -- Ole Laursen http://people.iola.dk/olau/ -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] Re: Ann: Flot 0.1 released
I like the idea of plugin chart components. Have 2 or 3 built in types, then release additional modules as requested. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ole Laursen Sent: Tuesday, December 04, 2007 12:22 PM To: jQuery (English) Subject: [jQuery] Re: Ann: Flot 0.1 released On Dec 4, 7:11 pm, Karl Swedberg [EMAIL PROTECTED] wrote: This is absolutely brilliant stuff here. Wow! I can't tell you how much I love this. At jQueryCamp07, John Resig and Bradley Sepos did a presentation on canvas, and I was blown away by the possibilities. This plugin confirms my blown-away-edness. :-) Thanks. :-) The canvas is, although simple, quite pleasant to work with. Any plans for a pie chart type -- maybe by using arc(x, y, radius, startAngle, endAngle, anticlockwise) ? Currently not. Mostly because I'm a bit unsure how it would fit in with the rest of the plugin. If there's almost no code sharing, it's probably better to somehow separate it out so that those who just want the pie charts don't have to have the rest of the package and vice versa. I'll give it a thought. -- Ole Laursen http://people.iola.dk/olau/
[jQuery] Re: Ann: Flot 0.1 released
Ole Laursen schrieb: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. I love the interactive stuff. That makes it so much more useful then any graphing stuff I've seen and used so far. Please include excanvas on your demo pages. If I understand it right, this will make Flot work in IE without any other hassle on your side. I'm looking forward to updates! Jörn
[jQuery] Re: Ann: Flot 0.1 released
Hey Jörn, He is using excanvas as far as I can see. Tried it in IE6, and it looked great. He also accounts for it in the plugin: if (jQuery.browser.msie) // excanvas hack canvas = window.G_vmlCanvasManager.initElement(canvas) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 4, 2007, at 2:07 PM, Jörn Zaefferer wrote: Ole Laursen schrieb: Hi! I've just released Flot 0.1, a brand-new plot plugin for jQuery which focuses on simple usage, attractive looks and interactive features like zooming. It's like plotr and Plotkit, but hopefully a bit more intelligent when it comes to auto-adjusting axes. I love the interactive stuff. That makes it so much more useful then any graphing stuff I've seen and used so far. Please include excanvas on your demo pages. If I understand it right, this will make Flot work in IE without any other hassle on your side. I'm looking forward to updates! Jörn
[jQuery] Re: Ann: Flot 0.1 released
Karl Swedberg schrieb: Hey Jörn, He is using excanvas as far as I can see. Tried it in IE6, and it looked great. He also accounts for it in the plugin: if (jQuery.browser.msie) // excanvas hack canvas = window.G_vmlCanvasManager.initElement(canvas) Interesting. I don't see any canvas in IE6, thats why I posted. It doesn't throw any error either. Jörn