Articles in this section
Category / Section

How can I specify the position of the floating Legend?

1 min read

 

When the LegendPosition property of the ChartControl is set to ChartDock.Floating, the position defaults to the bottom-left corner of the ChartWebArea of the ChartWebControl.

You can specify coordinates via the Location property of the ChartWebLegend

C#

this.ChartWebControl1.Legend.Position = ChartDock.Floating;

this.ChartWebControl1.Legend.Location = new Point(20,20);

 

VB

Me.ChartWebControl1.Legend.Position = ChartDock.Floating

Me.ChartWebControl1.Legend.Location = new Point(20,20)

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied