Declined
Last Updated: 04 Jul 2018 10:21 by ADMIN
wu
Created on: 04 Jul 2018 00:16
Category: ChartView
Type: Feature Request
0
How can I hide the point in the lineSeries with the large data,and show After zoom in ?
      How can I hide the point in the lineSeries with the large data,and then zoom in by mousewheel,the point can be show in the lineSeries,when zoom out again,the point can be hide.
     Because with large data in a view,if show the point, the lineSeries's performance is poor,and the details area is not necessary,only when zoom in,we hope to show the point.
3 comments
ADMIN
Martin
Posted on: 04 Jul 2018 10:20
Additionally, you can try to boost the performance using the light render options of the series. https://docs.telerik.com/devtools/wpf/controls/radchartview/features/rendering

If you have further questions I would ask you to post them in the forum or to open a new support ticket via your telerik.com account.
ADMIN
Martin
Posted on: 04 Jul 2018 10:19
Hello Wu Yang,

To achieve your requirement you can set and unset the DefaultVisualStyle property of the series. When you zoom-out you can set the property to null in order to hide the default visuals of the data points. And when you zoom-in you can set the property to a Style that targets the Path element (the default visual). You can use the ActualVisibleRangeChanged event of the axis or the ZoomChanged of the chart to decide when to set the DefaultVisualStyle.

Check the following resources:

- https://docs.telerik.com/devtools/wpf/controls/radchartview/styles-and-templates/customizing-cartesianchart-series#customizing-data-points-using-defaultvisualstyle

- https://docs.telerik.com/devtools/wpf/controls/radchartview/features/behaviors/panzoom

- https://docs.telerik.com/devtools/wpf/controls/radchartview/events

Regards,
Martin Ivanov
Technical Support Engineer
wu
Posted on: 04 Jul 2018 06:26
Or when the data exceed a certain amount,the point will be hide,when the data reduce,the
 point will be show,of cause,can't effect the lineseries's performance with large data.

[ChartView]