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:
The name “SciChartSurface” does not exist in the namespace “clr-namespace:Abt.Controls.SciChart;assembly=Abt.Controls.SciChart.Wpf”
Can you try this? Use the following namespace at the top of your XAML file:
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!
Please login first to submit.