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
close icon

Stripline text in outside Chart Region

Good day,

I am new to the Chart in Syncfusion and wanted to ask if it is possible for the Stripline text (Heavy, Light) to be in the right of the Y Axis line?



Thank you.


1 Reply

SB Swetha Babu Syncfusion Team December 8, 2022 11:02 AM UTC

Hi Germie,


We do not have support to render the stripline text at the right of the y-axis. However, we can achieve your requirement by using the annotations in the charts. We have created an application to demonstrate the same. Please find the below stackblitz link for your reference.


Sample link: https://stackblitz.com/edit/angular-mea75u?file=app.component.html


Code Snippet:


public annotation: Object[] = [

        {

            content: "<div>Heavy</div>",

            coordinateUnits: "Pixel",

            x: "105%",

            y: "40%"

        },

        {

            content: "<div>Light</div>",

            coordinateUnits: "Pixel",

            x: "105%",

            y: "55%"

        }

    ];



Screenshot:




Kindly, revert us if you have any concerns.


Regards,

Swetha


Loader.
Live Chat Icon For mobile
Up arrow icon