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

Pie chart and Display Text

Thread ID:

Created:

Updated:

Platform:

Replies:

36816 Nov 10,2005 10:23 AM UTC Nov 17,2005 01:37 PM UTC WinForms 3
loading
Tags: Chart
Administrator [Syncfusion]
Asked On November 10, 2005 10:23 AM UTC

Hi, there, I would like to know the following: 1. In pie chart, is it possible to get rid the tick line. what I mean is to show up the text on each point but not the Tick line. For ex when I say in "ChartControlSeries_PrepareStyle" event { args.Style.DisplayText = true; args.Style.Text = string.Format("{0}%", series.Points[args.Index].YValues[0]); } each part in the pie shows up the text along with a tick line. Now how do I turn off that tick line but still display the text? Please refer attached image for details. 2. In Pie chart, is there any other way available to display text for each point apart from doing it in the "ChartControlSeries_PrepareStyle" event. I mean what I would like to know is, if I handle "ChartControlSeries_PrepareStyle" then for each point I need to set the text, how do I do the same for all the points in a series so that I dont have to handle "ChartControlSeries_PrepareStyle" rather while preparing the series itself I make series to display text in each of the points? Thanks, Bubu

syncPie.zip

Geetha M [Syncfusion]
Replied On November 11, 2005 03:45 PM UTC

Hi, You can avoid displaying the Tick lines by setting the Text Orientation property of ChartStyleInfo class. You can display the text without raising the PrepareStyle event using the Styles property of the ChartSeries class. Please take a look at the sample attached which illustrates this and let me know if this helps you. Regards, Geetha

F36816.zip

Administrator [Syncfusion]
Replied On November 13, 2005 01:00 PM UTC

Hi, Thanks for the reply. but what I was looking for is to show up the text at the top but not to display the tick. I had tried other enums of "ChartTextOrientation" but seems either it shows the text at centre or it shows up the text with tick line at the top. It will be gr8 if you can provide a sample showing all the "ChartTextOrientation" s in a series.

Geetha M [Syncfusion]
Replied On November 17, 2005 01:37 PM UTC

Hi, Sorry for the delayed response. I am afraid, the Pie chart cannot display text without ticks except when the text orientation is set to be RegionUp. I have created a feature request on this and will try to implement it at the earliest. Thanks for you patience. Regards, Geetha

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

;