Skip to content

Resolve Validation Failures in Chart KB Repos: Added ReadMe content #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# Visualize-JSON-Data-Quickly-Using-WPF-Chart
# Visualize JSON Data Quickly Using WPF Chart

JSON is one of the most widely used data formats, but working with it can be challenging.

This article focuses on extracting data from JSON files and visualizing it using bar charts, line charts, and pie charts from the [Syncfusion WPF Charts](https://help.syncfusion.com/wpf/charts/getting-started) control.

Four easy steps can be used to quickly display data from a JSON web service using the WPF Charts simplicity:
1. Retrieve the data from json string or web service using HttpClient.
2. Deserialize the JSON data to create a list of ExpandoObject.
3. List of ExpandoObjects to DataTable Conversion
3. List of ExpandoObjects to DataTable Conversion.
4. 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.

![Create beautiful charts using JSON data in WPF](https://github.com/SyncfusionExamples/Visualize-JSON-Data-Quickly-Using-WPF-Chart/blob/master/WPFChartJSONDataOverview.gif)

For a detailed, step-by-step guide on how to effectively visualize JSON data using WPF charts, refer to the comprehensive blog titled [Visualize JSON Data Quickly Using WPF Charts](https://www.syncfusion.com/blogs/post/visualize-json-data-wpf-charts).

## Troubleshooting
### Path too long exception
If you are facing a path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.