Jump to content
Software FX Community

Wrapping of Point Labels of Pie chart


Upendra Singh

Recommended Posts

Hi Upendra

 

 Try use the follow:

 

StringBuilder strToolTip = new StringBuilder();

            strToolTip.Append("Cash and Cash");

            strToolTip.Append("\n[/font]Equivalents: %p%%");

_chart1.ToolTipFormat = strToolTip.ToString();

 

The %p will display the percentage, and the \n will start as new line.

set this string on ToolTipFormat property

 

Good luck


Link to comment
Share on other sites

  • 7 months later...

Thanks, I have another query related to point labels only:

 

Chart has 2 adjacent point labels getting wrapped in two lines, labels are displayed but label text is overlapping.

 

Can anyone suggest how can we manage the space between two point labels.

 

Also I want to attach sample image of the chart with the question but unable to do that here.

 

Thanks,

Upendra

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...