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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

1
0

Hi,

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=3.1.0.4549 …..’

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 ?

Best regards
-Magnus

  • You must to post comments
1
0

Hi,

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.

    s:RenderSurfaceBase.RenderSurfaceType="Abt.Controls.SciChart3D.Context.D3D10.Direct3D10RenderSurface"

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 🙂

-Magnus

  • Andrew
    That's good to hear :) you will be sad to know there is a very bad memory leak in the D3D renderer, but we have already fixed this and are working to setup the D3D package on the ABT Software NuGet feed now. Once its pushed I'll let you know so you can get latest.Also, I would be interested to see screenshots of your app or even better videos!! Can you show us videos of before/after with D3D vs a software renderer? We're getting mixed reports - some users report speed up, others not. i want to know which conditions you get speedup under and which you don't so we can improve performance. Best regards, Andrew
  • Andrew
    UPDATE: SciChart3D is now on the ABT Software NuGet feed. See https://www.scichart.com/directx10-rendersurface-scichart3d-dll-now-on-abt-software-nuget-feed/ for details
  • You must to post comments
0
0

Hi Magnus,

You need to reference Abt.Controls.Scichart3D.Wpf.dll in your solution, then add this code to your SciChartSurface:

From High Quality vs. High Speed vs. DirectX Renderer Plugins:

<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.

Best regards,
Andrew

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.