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.

0
0

Trying to follow the first tutorial to add a chart to my WPF application
(Windows 7, 64bit .Net4.5, Visual Studio 2012)
First I add a SciChart reference to my project. Browsing I see a choice of folders under SciChart\Lib\ net45, net45-x64 etc all containing “Abt.Controls.SciChart.Wpf.dll”
Which to select?

At the top of MainWindow.xaml I add the namespace ref:
xmlns:s=”clr-namespace:Abt.Controls.SciChart;assembly=Abt.Controls.SciChart.Wpf”

Then

This reports

The name “SciChartSurface” does not exist in the namespace “clr-namespace:Abt.Controls.SciChart;assembly=Abt.Controls.SciChart.Wpf”

  • You must to post comments
0
0

Hi Gideon,

Can you try this? Use the following namespace at the top of your XAML file:

xmlns:s=" http://schemas.abtsoftware.co.uk/scichart" 

All of our online examples use this namespace declaration. It wraps up all the sub-namespaces in the Scichart DLL into one.

Also which DLL to select – it depends! If you are doing normal .NET development then select either net40 or net45. If you are developing a C++/C# mixed project you will need to select x86 or x64 depending on your build options for the C++ project.

Finally, if you open up the Add References dialog in Visual Studio you should find Abt.Controls.SciChart.Wpf.dll in the assemblies list. This is the default (net40) version.

Hope this helps!

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.