Jump to content
Software FX Community

Title above legendbox


timtos

Recommended Posts

Hello.

If I display the legendbox and set the DockStyle to Top and also set a title for the chart and set the DockStyle to Top,

the legendbox is displayed above the title!!! How can I change that??? The title should be the first element!

TitleDockable td = new TitleDockable("My title test - First element in the chart!!!");

td.Alignment =

StringAlignment.Center;td.Dock = DockArea.Top;

td.LineAlignment =

StringAlignment.Center;

this.Titles.Add(td);

// ...

this.LegendBox.Dock = DockArea.Top;

The only workaround I see is to set the legendbox.Titles but there is a problem with the alignment.

So I really hope there is a way to tell the chart title to be the first element!

Thanks really a lot for any help and/ or suggestions!

Greetings,

Tim.

Link to comment
Share on other sites

  • 5 weeks later...

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