Barchart label position is not correct.



Hi Team, Could you please provide the solution for proper alignment of label text.


1 Reply

DG Durga Gopalakrishnan Syncfusion Team October 19, 2022 02:39 PM UTC

Hi Konchada,


Greetings from Syncfusion.


By default, if we render two series with side by side placement, then the axis label is placed in the middle of the two series. If we set the enableSideBySidePlacement property in chart as false, then the second series gets rendered on the first series and the axis label gets placed based on your requirement. We have created a simple angular application to demonstrate the same. Please find the below stackblitz link for your reference.


Code Snippet:


<ejs-chart [enableSideBySidePlacement]="false"></ejs-chart>


Screenshot :



Sample : https://stackblitz.com/edit/angular-qz8mun-dhefyb


Please revert us if you have any concerns.


Regards,

Durga Gopalakrishnan.


Loader.
Up arrow icon