Jump to content
Software FX Community

Legendbox border


Recommended Posts

No. The border property of the chart is used when setting default and image borders for the control. In order to assign a standard or image border, you must create a new SimpleBorder or ImageBorder object.

The border property of the LegendBox takes on a value from the DockBorder enumerator which is a DockableBar object. These values can be External, Internal, or None.

Link to comment
Share on other sites

Is that possible to set the chart border to None and set the LegendBox border's style to "1px solid black"?

I want to remove the chart border but keep the LegendBox border there. The problem is when I set the chart border to None, the LegendBox border disappears too. Here is my current code:

Dim border As SimpleBorder = New SimpleBorderborder.Type = SimpleBorderType.NoneChart1.Border = borderChart1.LegendBox.Border = DockBorder.Internal 

Thanks for the help!

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.

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