SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

1 vote


I built a chart following your “series with metadata” example, and I use easy fallback… to switch from software and hardware rendering. Debugging the program I see my program entering in DirectXHeper class and choosing correctly from Direct3D10RenderSurface and HighSpeedRenderSurface (it depends from user preference).

I have a debug script that populates tha chart with random values. The result is shown in example1.png, every “candle” is built with 5 vertical numbers.

I notice a really strange issue. When using directx, the usage of memory grows a lot faster than software rendering. It becomes unstable after 1200 “candles” and with 1.5gb memory allocated.

I made a test, running the program for a while, the script generates about 900 “candles” with and without DirectX, as you can see in the 900CandlesWithDirectX.png and 900CandlesWithOutDirectX.png, the amount of memory is very different. It seems that with hardware acceleration the program doesn’t free the memory and it always continues to grow.

I immediately removed the check “3D acceleration”, but I would like to know how to solve this issue.

All the SharpDX.* are 2.6.3 version
Scichart.* Version 4.06.8482 Runtime v4.0.30319

here the definition of the chart:

    <s:SciChartSurface Name="sciChart" 
                    s:ThemeManager.Theme="{Binding ElementName=ChangeThemeCombo, Path=SelectedItem}"

                        <!--  Declare RenderableSeries  -->
                            <s:FastLineRenderableSeries x:Name="lineSeries"

                                  PaletteProvider="{StaticResource GainLossPaletteProvider}"
                                  s:CursorModifier.TooltipTemplate="{StaticResource CursorTooltipTemplate}"

                                    <seriesWithMetadata:AnnotatedPointMarker RenderPD="{Binding ElementName=lineSeries,Path=.}"  Width="5" Height="7" TextColor="White" ProgressBarColor="White"  AmountProgressBarFill="Orange" GainMarkerFill="LimeGreen" LossMarkerFill="Red" Stroke="White" StrokeThickness="1"  />



how can I understand where could the pitfall be ?
Thank you

  • lorenzo522 asked 5 years ago
  • last active 5 years ago
Showing 1 result
This template supports the sidebar's widgets. Add one or use Full Width layout.