youcef92 / flotr

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

Pie chart mouse hit detection does not work with only one data series #167

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make a pie chart with one data series
2. turn on mouse hit detection
3. mouse over the data series

What is the expected output? What do you see instead?
A detected hit on the data series. Instead nothing happens.

What version of the product are you using? On what operating system?
most recent trunk (r174 I think)

Please provide any additional information below.
What I'm talking about is a data series that is 100% of the chart.

Original issue reported on code.google.com by alla...@gmail.com on 28 Dec 2010 at 4:58

GoogleCodeExporter commented 8 years ago
Yes, it was something i missed, while preparing mouse tracking for pie charts, 
i will try to solve this problem for you.

Original comment by macku30@gmail.com on 31 Dec 2010 at 9:54

GoogleCodeExporter commented 8 years ago
This patch will solve your problem. If there will be problems with file 
revisions please let me know

Original comment by macku30@gmail.com on 31 Dec 2010 at 11:12

Attachments:

GoogleCodeExporter commented 8 years ago
Yep, that patch worked perfectly thanks.

Original comment by alla...@gmail.com on 31 Dec 2010 at 4:04

GoogleCodeExporter commented 8 years ago
I haven't tested this patch but it looks good and the OP verified it, so I've 
committed it (as r179)

Original comment by peter....@solide-ict.nl on 2 Feb 2011 at 1:44