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.
Syncfusion Feedback

Chart Label position

Thread ID:

Created:

Updated:

Platform:

Replies:

120793 Oct 15,2015 07:21 AM UTC Oct 19,2015 06:20 AM UTC ASP.NET Web Forms 5
loading
Tags: Chart
Vijaykumar
Asked On October 15, 2015 07:21 AM UTC

HI ,

I am new to syncfusion   controls . Any option available for place the data label in inside the 

StackingColumn chart bar. I am using below code not working for me

<CommonSeriesOptions EnableAnimation="True" Tooltip-Visible="true"


Tooltip-Format="#series.name# &lt;br/> #point.x# : #point.y#" Type="StackingColumn" LabelPosition="Inside" >


<Marker>


<DataLabel Visible="true" >


<Font FontFamily="arial" FontSize="12px" ></Font>


</DataLabel>


</Marker>


</CommonSeriesOptions>


thank you,

vijayakumar.s



  


Sanjith Kesavan [Syncfusion]
Replied On October 15, 2015 10:52 AM UTC

Hi Vijaykumar,

Thanks for contacting Syncfusion support. We have analyzed your query. For placing the label inside the stacking column you can set “TextPosition” property of the datalabel as “middle” or “bottom”. Default value for “TextPosition” is “top”. This will place the datalabel at the “top” of the series .  If “TextPosition” is set as “middle” then datalabel will be placed at the middle of the series and if “TextPosition” is set as “bottom”, then datalabel will be placed at the bottom of the series. Please find the below code example.

In the above code we have set the “TextPosition” of the datalabel as “middle”. Please find the screenshot of the chart.

In the above screenshot datalabels are placed inside the stacking column. We have prepared the sample as per you requirement. Please find the sample from below mentioned location.
Sample Link: http://www.syncfusion.com/downloads/support/forum/120793/ze/WebApplication22055509727

Please let us know if you have any concern.

Regards,
Sanjith K.

Vijaykumar
Replied On October 15, 2015 01:52 PM UTC

hi Sanjith,

Thanks for quick response. It's  is working fine.
for my case I use the property labelformat=N3 in YAxis then it will so like below. kindly help me.


Sanjith Kesavan [Syncfusion]
Replied On October 16, 2015 12:28 PM UTC

Hi VijayKumar,

Sorry for the inconvenience caused. Image attached in the last update is not visible and so we cannot understand what is the problem you are facing. Please zip the image file and attach it. This will be helpful for us to fix your problem sooner.

Please let us know if you have any concern.

Regards,
Sanjith K.

Vijaykumar
Replied On October 16, 2015 02:04 PM UTC

Hi Sanjith,
Thanks for the respons now i got solution.
Thank You,
Vijayakumar.S

Sanjith Kesavan [Syncfusion]
Replied On October 19, 2015 06:20 AM UTC

Hi Vijaykumar,

We are glad that your issue has been resolved. Please let us know if you need any further assistance on this.

Regards,
Sanjith K.

CONFIRMATION

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.

Warning Icon 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.Close Icon

;