I am trying to swap one of our graphs to use the new DX10 surface but are unable to do so.
As per the release notes for the DX10 render functionality we added DX and the SciChart Wpf3d dll’s as references in the project, added the s3D namespace to the XAML and set the render surface to ‘Direct3D10RenderSurface’ but upon starting the application the graph disappear.
In XAML editor we get the warning message on the reference to ‘s3D:Direct3D10RenderSurface’:
‘Could not load type ‘Abt.Controls.SciChart.Wpf.XmlFileSite’ from assembly ‘Abt.Controls.SciChart.Wpf, Version=184.108.40.20649 …..’
We have switched to use the SciChart NuGet feed for the SciChart references.
Is there any more things we need to do in order to enable DX10 RenderSurface ?
Already had all those dll’s referred in the project and also used the XAML annotation to enable DX10 surface but that did not work.
However if I explicitly refer to the render surface type on the SciChartSurface it work.
We have a lot of data in many charts and I can already see quite a significant performance increase on both total reload of the charts in addition to real-time updates.
Nice work 🙂
You need to reference Abt.Controls.Scichart3D.Wpf.dll in your solution, then add this code to your SciChartSurface:
<s:SciChartSurface.RenderSurface> <s3D:Direct3D10RenderSurface/> </s:SciChartSurface.RenderSurface>
Please ensure the SharpDX libraries that are included in the Installer (see C:/Program Files (x86)/ABT Software/SciChart SDK/Lib/net40) are also copied to your output directory.
Finally, we are working to get the D3D project included in the NuGet feed. Not just yet! But when we do it will solve the dependency issues totally and you’ll just need to reference SciChart3D.
Please login first to submit.