Completed
Last Updated: 15 Aug 2017 10:54 by ADMIN
ADMIN
Hristo
Created on: 11 May 2017 10:49
Category: RangeSelector
Type: Feature Request
1
ADD. RadRangeSelector - expose the CreateRenderer event of the inner chart

		
1 comment
ADMIN
Ralitsa
Posted on: 26 May 2017 09:38
In order to apply the custom render in RadRangeSelector, you can use the following code snippet: 

RangeSelectorViewElement rangeSelectorChartElement = this.radRangeSelector1.RangeSelectorElement.AssociatedElement as RangeSelectorViewElement;
rangeSelectorChartElement.CreateRenderer += ChartElement_CreateRenderer;

private void ChartElement_CreateRenderer(object sender, ChartViewCreateRendererEventArgs e)
{
    e.Renderer = new CustomCartesianRenderer((CartesianArea)e.Area);
}