I’m new to SciChart and have been following the tutorial provided by SciChart (SciChart WPF 2D Charts > Tutorials > MVVM). Took me hours to make it through the first step in Tutorial 02b – Creating a SciChartSurface with MVVM due to namespace typo in the tutorial, and again I’m now stuck at the very second step.
I cannot replicate the result in Tutorial 03b – Adding Series to a Chart with MVVM. No error found in the output, no binding error whatsoever, but the line is not visible. Also see the attached image comparing what it should look like in the tutorial and what mine looks like.
The project is a direct copy and paste from the tutorial except for the names. I have also cross checked against the code in GitHub. I’ve attached the project as a zip with the bin and obj folders removed.
- CJ Lo asked 4 months ago
- last edited 4 months ago
-
Awaiting your response CJ
- You must login to post comments
Hi CJ
I ran the code in Tutorial 3b – Adding Series to a Chart in MVVM locally. I have the master branch & ran it without changes from Github.
It seems to work? Here’s a screenshot of what I see on my PC.
All I did was clone the repo, navigate to folder \SciChart.Wpf.Examples\Tutorials\MVVM\Tutorial 03b Adding Series to a Chart with MVVM\, open the solution in visual studio and build/run.
I also ran your local project ‘TempChart.zip’ and it runs without problem. Here is a screenshot below. I cannot see the error that you are referring to.
As a debugging step can you run your application in debug mode and send us the following output in the Visual Studio Output window:
Visual Xccelerator Engine v8.0.0.27737
GPU Capability Test
Is BGRA feature required: TRUE
Examining Graphics Adapter: NVIDIA GeForce RTX 3080 Ti Laptop GPU
VRAM: 3072Mb
DeviceId: 9312Visual Xccelerator Engine Direct3D9 Compatibility
This should give us some information to debug the problem.
Finally, I cannot find the typo you’re referring to in Tutorial 02b – Creating a SciChartSurface with MVVM. Very happy to have a rapid turnaround on reported issues in the docs if you can show us where.
Best regards
Andrew
- Andrew Burnett-Thompson answered 4 months ago
-
Edit: update – found the typo in Tutorial02b thanks to your previous answer!
-
Update 2: documentation issues now fixed. Thanks for reporting!
- You must login to post comments
Please login first to submit.