Jump to content
Software FX Community
Sign in to follow this  
FP2006

Multiline Chart Titles or Inserting Linebreak

Recommended Posts

Has anyone figured out how to insert a line break or make chart titles multiline?

 We have tried "/n", "\n", "/r/n", \r\n" and none worked.  Hoping there is a workaround.

 Thanks in advance for your help!

Share this post


Link to post
Share on other sites

Hi,

You can insert a newline (\n) character to wrap long text in the title. Take a look at the following sample:

TitleDockable t = new TitleDockable ();

t.Text = "This title is very very long for the chart control \n This is a bar chart control" ;

chart1.Titles.Add(t);

I hope it helps.

Share this post


Link to post
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.

Loading...
Sign in to follow this  

×
×
  • Create New...