neolite / flot

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

Pie Chart - no full circle #700

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Example: One Pie Chart with multiple values, but only one is != 0 does not get 
drawed

[{"data":0,"color":3,"label":"val1},
{"data":0,"color":8,"label":"val2"},
{"data":1,"color":7,"label":"val3"},{"data":0,"color":17,"label":"val4"},{"data"
:0,"color":26,"label":"val4"}]

expected: full circle in the specified color

Original issue reported on code.google.com by matthias...@googlemail.com on 1 Jun 2012 at 8:15

GoogleCodeExporter commented 8 years ago
I don't see any problems when I test against your data.  Can you describe in 
more detail what you're seeing, and what the problem is?  What version of Flot 
are you using?

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:28

GoogleCodeExporter commented 8 years ago
(There is a missing " after val1 in te report)
I double checked on a windows machine with chrome and firefox where it was 
working, too.
I use flot-0.7.zip in a webview on a android 4 device. So I guess it uses the 
webkit engine and V8 JavaScript engine. 
I use the // DEFAULT sample and see only the legend in the right place. The pie 
is not visible at all. If two or more data fields have a not 0 value then it is 
drawn correctly.

Original comment by matthias...@googlemail.com on 4 Jun 2012 at 9:22

GoogleCodeExporter commented 8 years ago
Thanks for the info, and yes, I noticed the missing ".  So it sounds like a 
rendering-engine-specific issue; I'll need to see if I can get something closer 
to your setup for testing.

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 9:25

GoogleCodeExporter commented 8 years ago
I'm seeing the same issue. Works on other browsers, just not Android. (Legend 
shows, pie doesn't. )

Original comment by daniel....@gmail.com on 28 Jun 2012 at 3:59

GoogleCodeExporter commented 8 years ago
I can confirm this issue. Happends on both my HTC Desire HD (Android 2.3.5) and 
my Samsung Galaxy Tab 10.1 (Android 3.2). Seems like it always happens when 
only a single piece is supposed to be drawn.

Original comment by ze...@zero3.dk on 23 Jul 2012 at 9:35

GoogleCodeExporter commented 8 years ago
cant wait to see this issue fixed

Original comment by matthias...@googlemail.com on 26 Aug 2012 at 12:40