How to show a series on the top without re-adding all the series in the chart


How to show a series on the top without re-adding all the series in...
Author
Message
Xiaolong Zhu
Xiaolong Zhu
Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)
Group: Forum Members
Posts: 18, Visits: 1

Hi

we found the order of showing shape series is opposite the order of adding series. The series first added will be showed on the top of the chart. This brings a problem to us: we have a very complicate background with millions of small lines and we need to add a small series of points on the top of this chart while the user does some interactions. To make sure the points displayed on the top, we need to clear all the series and then add point series and finally add the background series again which has very bad impact on the performance while people manipulate the chart.

So is there any better ideas? Thanks.

Xiaolong

 


Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi,

The approach that you use is fine, but there is also an option to use the Vector series. You can take a look at the following example in our Windows Forms demo application:

All Examples > All Examples > Chart Gallery > Vector > 2D Vector Series

Note that the arrowheads can be removed, so that just plain lines are displayed.

It is possible to either use only one series and assign custom colors for each arrow, or group the lines (by color) into different series. In either case no empty data points will be involved.



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search