Pre loader

Tag: enable Directx wpf

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

1 vote
7k views

Hi ,

I’m trying to use DirectX acceleration on my graphs. I have Windows 10, DirectX 12 with a nvidia gtx 660 graphic card.

I read your article easy fallback… and I’m trying to make it works.

I get true from Direct3D10CompatibilityHelper.SupportsDirectX10 property , but your method OnTryApplyDirectXRendererChanged fails to create

var directXSurface = new Direct3D10RenderSurface();

I always get this error

Additional information: Could not load type 'SharpDX.Color4' from assembly 'SharpDX, Version=3.0.2.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1'.

I updated via nuget all assemblies and:
SharpDx version 3.0.2.0 Runtime v4.0.30319
ShaprDX.D3DCompiler version 3.0.2.0 Runtime v4.0.30319
ShaprDX.Direct3D10 version 2.6.3.0 Runtime v4.0.30319
ShaprDX.Direct3D11 version 3.0.2.0 Runtime v4.0.30319
ShaprDX.Direct3D9 version 3.0.2.0 Runtime v4.0.30319

This is the definition of my surface

<s:SciChartSurface Name="sciChart" 
                    Grid.Row="0"
                    dirx:DirectXHelper.TryApplyDirectXRenderer="True"
                    BorderThickness="0"
                    s:ThemeManager.Theme="{Binding ElementName=ChangeThemeCombo, Path=SelectedItem}"
                    Padding="0"
                    VerticalAlignment="Stretch"
                    s:SciChartGroup.VerticalChartGroup="myCharts"
                    >

Could you help me please?

  • lorenzo522 asked 8 years ago
  • last active 8 years ago
Showing 1 result