But there is all that you need on the website:
Live Charts[
^]
1. Go to Solution Explorer, right click on references, then Manage NuGet Packages.
2. Browse for LiveCharts.Wpf, select the package and click on install
3. Add namespace to your XAML
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
And to code behind if necessary
using LiveCharts;
using LiveCharts.Wpf;
4.Code Behind
SeriesCollection = new SeriesCollection
{
new LineSeries
{
Values = new ChartValues<double> { 3, 5, 7, 4 }
},
new ColumnSeries
{
Values = new ChartValues<decimal> { 5, 6, 2, 7 }
}
};
5. XAML
<lvc:CartesianChart Series="{Binding SeriesCollection}" />