Four easy steps can be used to quickly display data from a JSON web service using the WPF Charts simplicity:
- Retrieve the data from json string or web service using HttpClient.
- Deserialize the JSON data to create a list of ExpandoObject.
- List of ExpandoObjects to DataTable Conversion
- Set the ItemsSource property of the chart to the data table along with the binding path of the X and Y in the Chart Series.