Noob question guys: I'm trying to understand WPF technology, and specifically I will have a project that needs charts. I have added the reference

In the XAML i was advised to add: (taken from here : https://mitchelsellers.com/blogs/2011/04/20/wpf-chart-styling-explained)
xmlns:datavis="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit"
xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
However when it then try add a Chart in the XAML it gives the following error.
Severity Code Description Project File Line Suppression State Error The name "chart" does not exist in the namespace "clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit". Error The type 'charting:chart' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built Error The tag 'chart' does not exist in XML namespace 'clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit'.
What am I missing/not understanding?
The XAML gives the following error.

But when i look at the Toolkit in the object browser, i see the charting/chart
