Welcome Guest Search | Active Topics |

clicking on a data point that is in two series
rcwright
#1 Posted : Monday, January 6, 2014 1:08:26 PM(UTC)
Rank: Newbie

Groups: jQueryDV, Registered
Joined: 1/6/2014(UTC)
Posts: 5

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
I have created a very simple test case of a line chart with two data series which have a common data point. When I click on the common data point I only ever get a mouse up event for the second series. Is there any simple way for a user to select the first series?
Dragan
#2 Posted : Tuesday, January 7, 2014 11:07:03 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
When 2 points are in the same position on the chart, only the event for the last series is fired. I'm not really sure what is your case, but you can try switching your series positions or remove the markers from the first series.
Best Regards,
Dragan Matek
jqChart Inc.
1 user thanked Dragan for this useful post.
rcwright on 1/7/2014(UTC)
rcwright
#3 Posted : Tuesday, January 7, 2014 12:04:22 PM(UTC)
Rank: Newbie

Groups: jQueryDV, Registered
Joined: 1/6/2014(UTC)
Posts: 5

Thanks: 3 times
Was thanked: 0 time(s) in 0 post(s)
Thanks Dragan for the quick response.

I am planning to use the charts to show data to users and I want to have a 'drill down' feature. The event on the data points is just what I need. All OK so far. If I then put two series on the same chart it still works because I can send back the series that the user has clicked on for the drill down. But then I though, what happens if the two series go through the same point? If the user clicks on the common data point they can't select the series that they want to drill down, so I wondered if there was anything in the library that would help. I can write a small popup to ask the user which series they want so it's no great problem if there is nothing in the library.
Dragan
#4 Posted : Tuesday, January 7, 2014 12:28:26 PM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Unfortunately, currently jqChart doesn't provide additional functionality for selecting data points, which are in the same place. We'll try implementing something that helps in this cases in some of the next releases.
Best Regards,
Dragan Matek
jqChart Inc.
1 user thanked Dragan for this useful post.
rcwright on 1/7/2014(UTC)
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.082 seconds.