Pre loader

Tag: flickering

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0 votes
3k views

Hi,

I have an analog and scatter chart on separate tabs and when I change for the tab with the scatter chart, after a bit the chart starts to flicker with the data on the chart and the axes values moving quickly up and down and in a few seconds, it’ll become still and won’t move anymore until I change tabs again. It looks like if it would like to scale the Y axis values really quickly, but it’s the same before and after the flickering, which is totally correct, so there is no need to do anything like this. It happens both if I put data to the series dynamically and if there is no data update also. What can cause this behavior?

This is my chart in the XAML:

<s:SciChartSurface x:Name="ScatterChart"
   ClipToBounds="True"
   RenderableSeries="{Binding ScatterRenderSeries}" 
   Margin="10,0" >

<s:SciChartSurface.ChartModifier>
    <s:ModifierGroup>
        <s:XAxisDragModifier DragMode="Scale"/>
        <s:YAxisDragModifier AxisId="LeftAxis" DragMode="Scale"/>
        <s:YAxisDragModifier AxisId="RightAxis" DragMode="Scale"/>
        <sciChart6Controls:NotifyingMouseWheelZoomModifier IsEnabled="true" ReceiveHandledEvents="True"/>
        <s:MouseWheelZoomModifier IsEnabled="True" ActionType="Zoom" XyDirection="XYDirection"/>
        <s:RubberBandXyZoomModifier/>
        <s:ZoomPanModifier IsEnabled="True" ExecuteOn="MouseRightButton" ClipModeX="None" />
        <s:ZoomExtentsModifier ExecuteOn="MouseDoubleClick" />
        <s:RolloverModifier ShowTooltipOn="MouseOver"/>
        <s:LegendModifier Margin="10" ShowLegend="True" />
    </s:ModifierGroup>
</s:SciChartSurface.ChartModifier>

<s:SciChartSurface.XAxis>
    <s:NumericAxis x:Name="ScatterXAxis"
            AutoRange="Always" 
            GrowBy="0.1,0.1"
            AxisTitle=""
            DrawMajorBands="True"
            DrawMinorTicks="True" 
            DrawMinorGridLines="True"
            AutoTicks="True"
            AxisAlignment="Bottom"/>
</s:SciChartSurface.XAxis>

<s:SciChartSurface.YAxis>
    <s:NumericAxis x:Name="ScatterYAxis"
            Id="LeftAxis"
            AutoRange="Always"
            GrowBy="0.1,0.1"
            AxisTitle=""
            DrawMajorBands="True"
            DrawMajorGridLines="True"
            DrawMinorGridLines="True"
            AutoTicks="True" 
            TextFormatting="F2"
            ScientificNotation="Normalized"
            AxisAlignment="Left" />
</s:SciChartSurface.YAxis>

Showing 1 result