We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 09:39 AM

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.
Live Chat Icon For mobile
Up arrow icon