Blazor-Blazor-ApexCharts

[删除(380066935@qq.com或微信通知)]

apexcharts/Blazor-ApexCharts: A blazor wrapper for ApexCharts.js (github.com)

Blazor ApexCharts Documentation
Blazor-ApexCharts



Installation

Nuget

Blazor-ApexCharts


dotnet add package Blazor-ApexCharts

Usage

Assets

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>

Imports

Add a reference to Blazor-ApexCharts in your _Imports.razor


@using ApexCharts;