Hi,
I have a problem when I want to order some series.
for example, I want to let the blue area series displayed in front of the red one. I know it can work if I draw the red line series first, and then the blue one will be in front of it, but it will be complicated if I have many series. So I wonder if there are any APIs can do some help.
Thanks in advance.
By the way, if we can define the size of series' marker ?
The size of the marker is fixed in the CTP, but you will be able to modify the marker size in the RTM. For X-Y plots the RTM should also support the bubbleSeries series type, which allows you to bind a column to the radius of the markers. The CTP does allow for custom markers, to some degree, so it may be possible to use this functionality to do variable size markers in the CTP, but we are rearranging this API to make things simpler to use, so I'm not sure I'd recommend spending time on that up front.
For series order, currently the only way to set their zindex is to control their order in which they are added. We'll evaluate ways to modify the z order as we move to RTM. Also, I'd recommend making a feature request for this API.
Hope this helps!
-Graham
Okay, thanks so much for your reply. :)
Hi, that version (which is the only released version) is the CTP so, as I said, you might be better off waiting for the RTM to do resizable markers.
1. The current behavior for category series is to show the tooltip if you are over any part of the series visual. I would suggest making a feature request if you need to have the tooltip only show over the markers. Another way you may be able to achieve this is to add a second series that is a line series with a transparent stroke, but with the same data, and only assign the tooltip to that series. In which case the tooltip wont show over the area portion of the series.
2. This is also not currently possible. You could make the series on top slightly transparent so that you can see the series underneath, but I don't believe this will result in mouse events being fired for all series. You could however, try to employ the same trick as above. Add all your series one time and then add all your series a second time as just line series with a transparent stroke by visible markers. This is a bit of a hack so its bad for performance, so I'd recommend making a feature request.
3. You can do a pinch to zoom on the chart on the ipad if you have enabled zooming. Also, I believe the ipad version should still raise a seriesMouseLeftButtonUp event. If it isn't, then that is a bug in the CTP version.
Hi, Graham
Can you give me an example about how to modify marker size? I download the product from
NetAdvantage jQuery 2011 Vol. 2 Complete Bundle, is that CTP version?
And I order the data using linq before I add the series, I think it is not a problem now.
There are another 3 questions.
1. Is it possible that chart shows tooltips only when I move my mouse on the Marker? For example, currently, when I move my mouse on the middle of a area type series, it will also show the tooltip of some marker.
2. Is it possible some series under others can show their Markers and click them? Just like the pictures displayed below:
3. Are there some events can let chart's marker be zoomed in mobile devices like Ipad? In pc application, I can do that using seriesMouseLeftButtonUp event.
Thanks.