Customize the text of axis label in Horizontal line annotation.

I want to display a label annotation on the numerical axis but display a different text and not the axis value. I have tried setting the Text property on Horizontal line annotation, but it displays at a different location on the screen and not aligned with axis labels. How can I make the custom text label aligned with other axis labels. A sample provided on the same will be helpful.

1 Reply 1 reply marked as answer

DD Devakumar Dhanapoosanam Syncfusion Team April 29, 2021 10:32 AM UTC

Hi Joseph Cellucci, 
 
Greetings from Syncfusion. 
 
Query: How can I make the custom text label aligned with other axis labels.  
 
We have analyzed your requirement and we suspect that your requirement is to customize the axis labels values for numerical axis. Please refer the below kb for customizing the axis labels values for more details, 
 
KB:  
 
Also, we would like to suggest the Annotation can be positioned using axis or pixel unit with the CoordinateUnit property. We can position the custom text label annotation using the CoordinateUnit type as Pixels. Please refer the below document for more details, 
 
 
We hope the above information will be helpful to achieve your requirement. Please let us know if you need any further assistance on this. 
 
Regards, 
Devakumar D 


Marked as answer
Loader.
Up arrow icon