Hi,
I draw a series event marker but its symbol is not smooth.
Please check the attached screen shot and provide some help.
Thanks,
Series Event Marker symbol Issue
Moderator: Queue Moderators
Series Event Marker symbol Issue
- Attachments
-
- SeriesEventMarker.JPG (7.76 KiB) Viewed 15482 times
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Series Event Marker symbol Issue
Please set chart.RenderOptions.AntiAliaslevel = 4. You might have 0 or 1 there, which disables AA.
Or you ary maybe running with an old Intel GPU that doesn't support anti-aliasing in hardware at all.
Or you ary maybe running with an old Intel GPU that doesn't support anti-aliasing in hardware at all.
LightningChart Support Team, PT
Re: Series Event Marker symbol Issue
Also,please confirm do we need to manually remove the series event marker from sampledataseries when it goes out side the visible chart area or is it do automatically?
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Series Event Marker symbol Issue
By setting ViewXY.DropOldEventMarkers = true, the outscrolled markers are destroyed by the chart.
LightningChart Support Team, PT
Re: Series Event Marker symbol Issue
ViewXY.DropOldSeriesData does this property clear series data(plotting) and series event markers both ?
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Series Event Marker symbol Issue
DropOldSeries data destroys old series data, but not markers.
DropOldEventMarkers destroys the markers, but not data.
To destroy both, enable both these properties.
When markers are set to track the data values, and series data is destroyed from marker's location the marker will disappear because there's no data to track on that position anymore. But the marker stays in the markers list.
DropOldEventMarkers destroys the markers, but not data.
To destroy both, enable both these properties.
When markers are set to track the data values, and series data is destroyed from marker's location the marker will disappear because there's no data to track on that position anymore. But the marker stays in the markers list.
LightningChart Support Team, PT
Re: Series Event Marker symbol Issue
DropOldEventMarkers is this property drop both (SeriesEventMarkers & ChartEventMarkers) ?
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Series Event Marker symbol Issue
We need to display a huge amount of markers on the chart, so instead of initializing new marker object every time can we reuse these markers ? as soon as the marker go beyond the visible chart area we reuse it by placing it in upcoming time stamp ?
i think it would definitely boost up the performance of my application.
Would you like to suggest something on this?
Happy Coding !!
i think it would definitely boost up the performance of my application.
Would you like to suggest something on this?
Happy Coding !!
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Series Event Marker symbol Issue
It's definitely a good idea to recycle markers. You can set marker.Visible = false when it goes out of the chart, and then recycle that marker to new position and set Visible = true.
It is the optimal approach, and I definitely recommend using it
It is the optimal approach, and I definitely recommend using it
LightningChart Support Team, PT