Defines if SmartLabels are allowed to be drawn outside of the plotting area.
Visual Basic (Declaration) | |
---|---|
Public Overridable Property AllowOutsidePlotArea As LabelOutsidePlotAreaStyle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual LabelOutsidePlotAreaStyle AllowOutsidePlotArea {get; set;} |
Return Value
Specifies the extent of how the datapoint labels should be drawn with respect to the plotting area. The default value is LabelOutsidePlotAreaStyle.Partial.
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WebControl<CRLF>...<CRLF><CRLF> ' Enable SmartLabels<CRLF> chart1.Series["Default"].SmartLabels.Enabled = True<CRLF> <CRLF> ' Allow SmartLabels To be partially outside the plot area<CRLF> chart1.Series["Default"].SmartLabels.AllowOutsidePlotArea = LabelOutsidePlotAreaStyle.Partial<CRLF><CRLF>... |
Copy Code | |
---|---|
using Dundas.Charting.WinControl<CRLF>...<CRLF><CRLF> // Enable SmartLabels<CRLF> chart1.Series["Default"].SmartLabels.Enabled = true;<CRLF> <CRLF> // Allow SmartLabels to be partially outside the plot area<CRLF> chart1.Series["Default"].SmartLabels.AllowOutsidePlotArea = LabelOutsidePlotAreaStyle.Partial;<CRLF><CRLF>... |
This property determines how the datapoint labels should be drawn outside the plotting area. When applying smart data labels the drawing outside of labels is only used to provide an option as the chart will only draw outside if the labels cannot be drawn elsewhere without overlapping.
The possible values are:
Member Name |
Description |
---|---|
Yes |
Labels are allowed to leave the plotting area if necessary. |
No |
Labels are NOT allowed to leave the plotting area. |
Partial |
Labels are allowed to leave the plotting area if necessary but no more than 50% of the label cannot be drawn outside the plotting area. |
NOTE: SmartLabels only work when the Label angle property is set to zero.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family