apexcharts / Blazor-ApexCharts

A blazor wrapper for ApexCharts.js
https://apexcharts.github.io/Blazor-ApexCharts
MIT License
794 stars 91 forks source link

Working with series in Blazor #324

Closed christiankasongo closed 10 months ago

christiankasongo commented 10 months ago

Hello, I want to add a bar chart on my blazor component. There is no examples (https://apexcharts.github.io/Blazor-ApexCharts/bar-charts ) that shows how to work with series.

I would like to do something like this var options = { series: [{ name: 'Net Profit', data: [44, 55, 57, 56, 61, 58, 63, 60, 66] }, { name: 'Revenue', data: [76, 85, 101, 98, 87, 105, 91, 114, 94] }, { name: 'Free Cash Flow', data: [35, 41, 36, 26, 45, 48, 52, 53, 41] }], Thank you

joadan commented 10 months ago

Hello,

I have added a sample, https://apexcharts.github.io/Blazor-ApexCharts/bar-charts#included%20model