Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
780
Chart Resize Performance
posted

Is there any thing I can do to control the resize performance of a chart?  Maybe something to make it delay redrawing a little as its container size is changed so it doesn't re-render so often? 

Below is a simple repro using the new XamWebDialogWindow.  If you resize the window with the text it's very responsive.  When you resize the chart window, it is slow to respond.  Obviously it has more to do than the text, but I was just wondering if there was anything I could tweak to make it a little more responsive.  I'll set min width/height to eliminate the redraw when it gets too small, but the sizing up would still be an issue.

Thanks in advance for any ideas,
Keith

 <igDialogWindow:XamWebDialogWindow StartupPosition="Manual" Top="20" Left="20" Height="200" Width="200" Content="Simple text test">
</igDialogWindow:XamWebDialogWindow>
<igDialogWindow:XamWebDialogWindow StartupPosition="Manual" Top="250" Left="150" Height="400" Width="400">
    <igDialogWindow:XamWebDialogWindow.Content>
        <igChart:XamWebChart>
            <igChart:XamWebChart.Series>
                <igChart:Series ChartType="Pie" Label="Series 1">
                    <igChart:Series.DataPoints>
                        <igChart:DataPoint Value="10" Label="point1" />
                        <igChart:DataPoint Value="20" Label="point2" />
                        <igChart:DataPoint Value="30" Label="point3"  />
                    </igChart:Series.DataPoints>
                </igChart:Series>
            </igChart:XamWebChart.Series>
        </igChart:XamWebChart>
    </igDialogWindow:XamWebDialogWindow.Content>
</igDialogWindow:XamWebDialogWindow>