WPF Chart - Examples
SciChart WPF ships with hundreds of WPF Chart Examples which you can browse, play with, view the source-code and even export each WPF Chart Example to a stand-alone Visual Studio solution. All of this is possible with the new and improved SciChart WPF Examples Suite, which ships as part of the SciChart WPF SDK.
The Tenor Curves example demonstrates how to combine 3D Charts and 2D Charts in the same example, in this case to display sample tenor curve data.
3D Charts are provided by the SciChart3DSurface Type. In this example we use a UniformGridDataSeries3D and a SurfaceMeshRenderableSeries3D to visualize the 3D surface. Rotation of the 3D chart is provided by the OrbitModifier3D.
2D Line Charts are provided by the SciChartSurface. This uses a single FastLineRenderableSeries and XyDataSeries type to display line data, with an optional PointMarker.
Documentation Links
– SciChart3DSurface Type
– SciChartSurface Type
– SurfaceMeshRenderableSeries3D
– UniformGridDataSeries3D
The C#/WPF source code for the WPF 3D Chart Tenor Curves Plot example is included below (Scroll down!).
Did you know you can also view the source code from one of the following sources as well?
- Clone the SciChart.WPF.Examples from Github.
- Or, view source in the SciChart WPF Examples suite.
- Also the SciChart WPF Trial contains the full source for the examples (link below).