Hi Jose Simoes,
Thanks for using syncfusion products,
We have analyzed your query. We can achieved your requirement by using axisLabelRender event. In that event, you can customize the axis labels. In your scenario, you can format numeric axis with 2 decimal places using labelFormat property and then you can add °C using axisLabelRender event. Please find the code snippet below to achieve this requirement.
public primaryYAxis: Object = {
labelFormat: 'n2',
};
public axisLabelRender(args: IAxisLabelRenderEventArgs): void {
if(args.axis.orientation === 'Vertical') {
args.text = args.text + '°C';
}
}; |
Screenshot:
Sample for your reference can be find from below link,
Kindly revert us, if you have any concerns.
Thanks,
Baby.