JSON export - Chart.js line chart
In this sample we use JSON data, containing over 2000 currency rates, from EPPlus to populate a Charts.js line chart. The rates are imported to EPPlus from a .csv file using the LoadFromText function and exported to JSON via the ToJson() method. The JSON data is fetched via an ajax call to a separate MVC controller action (JsonExportController.Sample1GetJsonData())
Loading chart...