Skip to content

franks1/Blazor-ApexCharts

 
 

Repository files navigation

.NET Core

Blazor-ApexCharts

A blazor wrapper for ApexCharts.js


v1.0 Released to production!

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.


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;

Chart Options

Apex Chart options is available in the ApexChartOptions class that can be passed to the chart. More info in Apex documentation ApexCharts Docs.

Stargazers repo roster for @apexcharts/Blazor-ApexCharts

About

A blazor wrapper for ApexCharts.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 92.3%
  • JavaScript 3.8%
  • CSS 3.7%
  • HTML 0.2%