Bar Charts Format Number Y Label & Tooltip

OS info

Problem description

Formatting value for Y label & tooltip but turns to be an error.

Steps to reproduce

Screen Shot 2022-11-26 at 23.41.13

<dmx-chart id="chartRevenueMonthly" class="chartjs-render-monitor light" width="320" height="200" point-size="" type="bar" dmx-bind:data="jsonRevenueData.data.revenue_monthly" dataset-1:tooltip="" dataset-1:label="Pendapatan" nogrid="true" thickness="1" colors="colors3" responsive="true" dataset-1:value="amount" labels="month"></dmx-chart>

Screen Shot 2022-11-26 at 23.39.19

<dmx-chart id="chartRevenueMonthly" class="chartjs-render-monitor light" width="320" height="200" point-size="" type="bar" dmx-bind:data="jsonRevenueData.data.revenue_monthly" dataset-1:tooltip="" dataset-1:label="Pendapatan" nogrid="true" thickness="1" colors="colors3" responsive="true" dataset-1:value="amount.formatNumber(2, '.', ',')" labels="month"></dmx-chart>
Community Page
Last updated: