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.
Unfortunately, activation email could not send to your email. Please try again.

Displaying Axis Labels inside Bars

Thread ID:





130842 Jun 6,2017 09:28 PM Jun 8,2017 07:24 AM Xamarin.Forms 3
Tags: SfChart
Asked On June 6, 2017 09:28 PM

The labels on my Bar Chart are pretty long and I would like to display them with in the bar like so

| Label                                        |
|label                               |

Is it possible to achieve this?

Saravana Pandian Murugan [Syncfusion]
Replied On June 7, 2017 11:27 AM

Hi idispose, 
Thanks for using Syncfusion products. 
We have achieved your requirement by using LabelPosition of ChartAxisLabelStyle. Please download the sample from the following location. 
Please find the code snippet below. 
Code Example: 
    <chart:CategoryAxis TickPosition="Inside">  
          <chart:ChartAxisLabelStyle LabelsPosition="Inside"/>  
Please refer the below user guide link for more details about axis label positioning and let us know if you need further assistance on this. 
Saravana Pandian M. 

Replied On June 7, 2017 09:22 PM

Hi Saravana
Thanks. This helped and is exactly what I am looking for. 

Appreciate the quick response. 


Saravana Pandian Murugan [Syncfusion]
Replied On June 8, 2017 07:24 AM

Hi IDispose,

Thanks for the update. We are glad to know that the given solution worked. Please let us know if you need further assistance on this.

Saravana Pandian M.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.