A blazor wrapper for ApexCharts.js
$ dotnet add package Blazor-ApexChartsA blazor wrapper for ApexCharts.js
Credits to @thirstyape for pushing it over the edge!
We have cleaned up the options class in order to align with the js version as much as possible. It should only be minor changes but if you have any problems just let us know.
dotnet add package Blazor-ApexCharts
In _Host.cshtml (server-side) or in index.html (client-side) add the following lines to the body tag after the _framework reference
<script src="_content/Blazor-ApexCharts/js/apex-charts.min.js"></script>
<script src="_content/Blazor-ApexCharts/js/blazor-apex-charts.js"></script>
Add a reference to Blazor-ApexCharts in your _Imports.razor
@using ApexCharts;
Apex Chart options are available in the ApexChartOptions class that can be passed to the chart. More info in Apex documentation ApexCharts Docs.