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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Customize pie graph text

Thread ID:

Created:

Updated:

Platform:

Replies:

113766 Oct 8,2013 05:46 AM UTC Oct 9,2013 11:45 AM UTC JavaScript 1
loading
Tags: ejChart
Pradeep
Asked On October 8, 2013 05:46 AM UTC

Is it possible to customize the text on the markers
in a pie graph?

Apart from changing font size, color, family etc,
can I include HTML content such as span with a class.. etc?
To make it look like this...
https://www.dropbox.com/s/py78quvh9xopehl/question_11_1_graph_text.jpg

Gowrimathi S [Syncfusion]
Replied On October 9, 2013 11:45 AM UTC

Hi Pradeep,

 

Thanks for using Syncfusion product.

 

By default, y values of the point has been shown in labels, if you want to customize the label, make use of the “text” property of each point.

 

[JS]

 

{x:10, y:10, text:’others 10%’}

 

Please refer the drill down sample from the below link.

 

http://js.syncfusion.com/demos/beta/#!/flat/chart/User%20Interaction/DrillDown

 

Thanks,

Gowrimathi S


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

;