jiezawsze / flot

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

Does flot support radar charts ? #138

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I did not find any info on this. Does flot handle radar charts ?
See attachment for a a sample.

Original issue reported on code.google.com by pll...@gmail.com on 18 Mar 2009 at 9:28

Attachments:

GoogleCodeExporter commented 8 years ago
No. Not at the moment, and I'm not aware of anyone working on it.

Original comment by olau%iol...@gtempaccount.com on 22 Mar 2009 at 12:41

GoogleCodeExporter commented 8 years ago
I know its over a year later but there is an plugin here to do this:

http://www.jumware.com/Includes/jquery/Flot/Examples/spider.html - Example

http://www.jumware.com/Includes/jquery/Flot/Doc/JQuery.Flot.spider.html - API

http://www.jumware.com/Includes/jquery/Flot/JS/Index.html - Source (See Spider)

Original comment by unde...@live.com.au on 14 Jul 2010 at 6:56

GoogleCodeExporter commented 8 years ago
I've just had a look at the jumware plugin; it's not too bad, but please be 
aware that (as I understand things) its behaviour is not actually correct.  It 
scales each leg independently, so if you add just one series it will just make 
a uniform circle, and even with multiple series relative positioning is 
meaningless.

I've attached a small patch to alter this so each leg uses the same scale, and 
also added the options of manually specifying the minimum and maximums (see 
legMin and legMax in the options), rather than the default of using a 
percentage of the data min/max.

Unfortunately I can't find any way of contacting the developer.

Original comment by mark.hep...@gmail.com on 14 Sep 2010 at 12:32

Attachments:

GoogleCodeExporter commented 8 years ago
Hello Mark,
you found the developer :-)
Bad news first, the plugin works as designed. The idea was to have legs which 
show totally different KPIs like number of Injuries, Costs, Energyconsumption 
in a chart like this.
Good news now, I can see the reason why you want to change this behaviour.
One option could be to add a property which switches from "scale by leg" to 
"scale by everything"
If you want, contact me at pumrs@web.de

Original comment by juergenm...@googlemail.com on 14 Sep 2010 at 7:04

GoogleCodeExporter commented 8 years ago
Please take a new look to 
http://www.jumware.com/Includes/jquery/Flot/Examples/spider.html
In userdefined tab is a new selectbox to switch between scaling for each leg to 
same scale for all legs.
In Q&U-design (quick and ugly) I added a new property in spider called 
scaleMode (options.series.spider.scaleMode)
Optional values are "leg" or "all"
Because of Q&U its only tested shortly, so please report any bug.

Original comment by juergenm...@googlemail.com on 14 Sep 2010 at 8:08

GoogleCodeExporter commented 8 years ago
the "spider" functionality doesn't seem to work under firefox 3.6.10, though 
loads fine under chrome, "radar" works fine under either...
Also I can't find a method to set a min and max value for the legs (either 
under an scale mode of leg or all) this is an issue cause depending on the data 
the scale changes drastically, and no scale values appear to even indicate what 
numbers are being shown.

Original comment by jvand...@gmail.com on 7 Oct 2010 at 3:20

GoogleCodeExporter commented 8 years ago
Spider works fine under firefox 3.6.10 now.
There was a bug in definition of a variable which was ignored in previous 
versions.
Min/max for legs will follow later, not sure right now how this should look 
like (one for all, one for each leg or ??)

Original comment by juergenm...@googlemail.com on 7 Oct 2010 at 8:36

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 7 May 2012 at 8:45

GoogleCodeExporter commented 8 years ago
I'm currently working with the plugin and I the highlighting behavior is not 
what I expected when set to area. I think it should fill the area applying the 
opacity option. However, that value is hardwired and has no effect when 
highlight mode is set to area. So I've change it using the vode shown here: 
http://www.peppertop.com/blog/wp-content/uploads/2008/07/colortorgba.js
(just for simplicity, it is not big deal translating from rgb to rgba).
I attach the modified file.

Original comment by miguelc...@gmail.com on 9 Jul 2012 at 2:34

Attachments:

GoogleCodeExporter commented 8 years ago
Miquel,

I noticed the same issue when expecting to see the area.  I'm attempting to use 
your colortorgba solution, but so far I don't see a change.  Is there something 
else I have to do than merely replacing the package's spider.js with yours?

Thanks.

Original comment by richardh...@gmail.com on 14 Aug 2012 at 7:15

GoogleCodeExporter commented 8 years ago
Thanks for the plugin, really useful.  However, I ran into a small bug: "if 
(opt.series.spider.legMin)" will not evaluate to true if legMin is 0.  See 
patch.

Original comment by gramm...@gmail.com on 23 Feb 2014 at 11:24

Attachments:

GoogleCodeExporter commented 8 years ago
I see that the plugin have drawScale without implements, i need a way to show 
the yaxis or to calculate each yaxis to show scale of point

Original comment by Luis.Alv...@gmail.com on 19 Jun 2015 at 4:22