Hi Team,
I am looking to format the numbers in nl-BE format on the stacked column chart.
I have added the necessary cldr-data inside the wwwroot folder and it is working for normal grid. I can see the currency formatted to
€ 1.320.858,00 which is what I am looking for.
But the stacked columns grid shows
€ 4511479,50 as label on the y-axis as well as on the tool tip.
@model StackedGrid
<ejs-chart id="@Model.Name" load="window.onChartLoad" title="@Model.Title" height="700" locale="nl-BE">
<e-chart-primaryxaxis labelIntersectAction="Rotate45" valueType="Category">
<e-majorgridlines width="0"></e-majorgridlines>
</e-chart-primaryxaxis>
<e-chart-primaryyaxis minimum="0" maximum="@Model.MaximumValue" interval="@Model.Interval" title="Sales" valueType="Double" labelFormat="C2">
<e-majorticklines width="0"></e-majorticklines>
<e-linestyle width="0"></e-linestyle>
</e-chart-primaryyaxis>
<e-series-collection>
@foreach (var item in Model.GridValues)
{
var dataSource = item.DataSource;
<e-series dataSource="dataSource" xName="key" yName="value" name="@item.Name" width="2" opacity="1" type="@Syncfusion.EJ2.Charts.ChartSeriesType.StackingColumn"></e-series>
}
</e-series-collection>
<e-chart-tooltipsettings enable="true"></e-chart-tooltipsettings>
<e-chart-legendsettings toggleVisibility="true"></e-chart-legendsettings>
<e-chart-chartarea>
<e-chartarea-border width="0"></e-chartarea-border>
</e-chart-chartarea>
</ejs-chart>