
|
public primaryXAxis: object = {
majorGridLines: { width: 0 },
lineStyle: { width: 0 },
majorTickLines: { width: 0 },
valueType: 'Category',
labelStyle: {
size: '15px',
},
lineBreakAlignment: 'Center'
};
|
I am trying to add this property to my yAxis but it does not seem to work. I've added break tags then added the property " LineBreakAlignment: "right" " within " this.primaryYAxis"
Anything more I need to do?
Version:
@syncfusion/ej2-charts": "20.1.52
Regards,
Dave M
Hi David,
By default, the line break support is available for category values and its text position can be customized using lineBreakAlignment property. Y axis supports only numeric and logarithmic value types. We don’t have line break support for y axis. Please check with below documentation.
UG : https://ej2.syncfusion.com/angular/documentation/chart/axis-labels/#line-break-support
Kindly revert us if you have any concerns.
Regards,
Durga Gopalakrishnan.