I have downloaded the Charting with Data Visualization Toolkit from Nuget, DotNetProjects.WpfToolkit.DataVisualization in Visual Studio 2019 Pro.
The articles that I have found instruct loading the System.Windows.Controls.DataVisualization reference.Cant not find it???
I can find DotNetProjects.Controls.DataVisualization.Toolkit, but any example adding Charts to my XAML code fail.This is what I am trying, unsuccessfully however….
xmlns:dvc="clr-namespace:DotNetProjects.DataVisualization.Toolkit;assembly=DotNetProjects.DataVisualization.Toolkit"
<TabItem Header=" Chart">
<dvc:Chart Name="MyChart" Width="400" Height="250" Background="YellowGreen">
</dvc:Chart>
</TabItem >
2
Answers
<lrm:Chart x:Name="myChart" Width="500" Height=" 500" Title="Gary"/>