Unplanned
Last Updated: 04 Apr 2016 13:12 by ADMIN
ADMIN
George
Created on: 11 Jul 2014 12:15
Category: RangeSelector
Type: Bug Report
1
FIX. RadRangeSelector - the layout of the associated chart is not updated during drilldown
To reproduce:

Add a RadChartView and setup drilldown. Add a RadRangeSelector and associate the chart with it. Start the application and drill down, you will see that the layout of the chart is not updated accordingly.

Workaround:

In the Drill event handler save a value whether a drill has occured. On the MouseUp event of RadChartView update the layout of the chart:

private bool drill;
void Chart_Drill(object sender, DrillEventArgs e)
{
    drill = true;
}

void Chart_MouseUp(object sender, MouseEventArgs e)
{
    if (this.drill)
    {
        Application.DoEvents();
        (this.rangeSelector.RangeSelectorElement.AssociatedElement as IRangeSelectorElement).UpdateAssociatedView();
    }

    drill = false;
}
0 comments