apexcharts / Blazor-ApexCharts

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

Stacked bar chart PlotOptionsBarDataLabels MaxItems property not working #327

Closed nikhazy closed 11 months ago

nikhazy commented 1 year ago

Hi all,

First of all thanks for this wrapper, I like it so much! I would like to have a stacked bar chart with labels JUST when i have less than X elements. According to the description (Maximum limit of data-labels that can be displayed on a bar chart. If data-points exceed this number, data-labels won't be shown.) of PlotOptionsBarDataLabels.MaxItems, it should do that. But if I add this property to the example code like MaxItems=1: image

It still shows the labels.

Am I wrong, or i dont use it well? Thanks for your response in advance!

joadan commented 1 year ago

Hello,

I'm sorry but I'm not familiar with the MaxItems property. I think it's probably better to ask in apexcharts.js repo.