Completed
Last Updated: 02 Feb 2023 13:57 by ADMIN
Release LIB 2023.1.206 (6 Feb 2023)
Martin Ivanov
Created on: 13 Jan 2023 09:22
Category: ChartView
Type: Bug Report
0
ChartView: SeriesCreated event of SeriesProvider is not raised when SeriesDescriptorSelector is used

The SeriesCreated event of the RadChartView's SeriesProvicer is never called when the SeriesDescriptorSelector property is used.

To work this around, you can create a custom chart series descriptor and override its CreateInstanceCore method.

public class CustomScatterSeriesDescriptor : ScatterSeriesDescriptor
{
	protected override ChartSeries CreateInstanceCore(object context)
	{
		var series = (ScatterSeries)base.CreateInstanceCore(context);
		// assign whatever settings you need here
		return series;
	}
}

0 comments