Specifies the docking of elements within the PlotArea.
Namespace: MindFusion.Charting.Silverlight
Assembly: MindFusion.Charting.Silverlight
C#
![]() |
---|
See LayoutPanel.GetDock, LayoutPanel.SetDock |
Visual Basic
![]() |
---|
See LayoutPanel.GetDock, LayoutPanel.SetDock |
One of the Dock enumeration members.
The following example adds a ChartLegend to a line chart and docks it to the left.
C#
![]() |
---|
ChartLegend legend = new ChartLegend(); legend.Series = lineChart1.Series; LayoutPanel.SetDock(legend, Dock.Left); lineChart1.Legends.Add(legend); |
Visual Basic
![]() |
---|
Dim legend As ChartLegend = New ChartLegend legend.Series = lineChart1.Series LayoutPanel.SetDock(legend, Dock.Left) lineChart1.Legends.Add(legend) |