corelibraries-devexpress-dot-xtracharts-dot-scrollbarannotationoptions-d53b080b.md
Gets or sets a value that indicates whether to show scroll bar annotations for series point annotations.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public bool ShowSeriesPointAnnotations { get; set; }
Public Property ShowSeriesPointAnnotations As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if scroll bar annotations should be visible; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowSeriesPointAnnotations |
|---|---|
| ScrollBarOptions |
.XAxisAnnotationOptions .ShowSeriesPointAnnotations
| | ScrollBarOptions |
.YAxisAnnotationOptions .ShowSeriesPointAnnotations
|
Use the ScrollBarOptions.XAxisAnnotationOptions property to access the scroll bar annotation settings for x-axes. Use ScrollBarOptions.YAxisAnnotationOptions for y-axes.
XYDiagram diagram = chartControl1.Diagram as XYDiagram;
diagram.EnableAxisXScrolling = true;
diagram.EnableAxisXZooming = true;
ScrollBarAnnotationOptions xAxisScrollBarOptions = diagram.DefaultPane.ScrollBarOptions.XAxisAnnotationOptions;
xAxisScrollBarOptions.ShowConstantLines = true;
xAxisScrollBarOptions.ShowStrips = true;
xAxisScrollBarOptions.ShowCustomLabels = false;
xAxisScrollBarOptions.ShowPaneAnnotations = false;
xAxisScrollBarOptions.ShowSeriesPointAnnotations = true;
diagram.EnableAxisYScrolling = true;
diagram.EnableAxisYZooming = true;
ScrollBarAnnotationOptions yAxisScrollBarOptions = diagram.DefaultPane.ScrollBarOptions.YAxisAnnotationOptions;
yAxisScrollBarOptions.ShowConstantLines = true;
yAxisScrollBarOptions.ShowStrips = true;
yAxisScrollBarOptions.ShowCustomLabels = false;
yAxisScrollBarOptions.ShowPaneAnnotations = false;
yAxisScrollBarOptions.ShowSeriesPointAnnotations = true;
Dim diagram As XYDiagram = TryCast(chartControl1.Diagram, XYDiagram)
diagram.EnableAxisXScrolling = True
diagram.EnableAxisXZooming = True
Dim xAxisScrollBarOptions As ScrollBarAnnotationOptions = diagram.DefaultPane.ScrollBarOptions.XAxisAnnotationOptions
xAxisScrollBarOptions.ShowConstantLines = True
xAxisScrollBarOptions.ShowStrips = True
xAxisScrollBarOptions.ShowCustomLabels = False
xAxisScrollBarOptions.ShowPaneAnnotations = False
xAxisScrollBarOptions.ShowSeriesPointAnnotations = True
diagram.EnableAxisYScrolling = True
diagram.EnableAxisYZooming = True
Dim yAxisScrollBarOptions As ScrollBarAnnotationOptions = diagram.DefaultPane.ScrollBarOptions.YAxisAnnotationOptions
yAxisScrollBarOptions.ShowConstantLines = True
yAxisScrollBarOptions.ShowStrips = True
yAxisScrollBarOptions.ShowCustomLabels = False
yAxisScrollBarOptions.ShowPaneAnnotations = False
yAxisScrollBarOptions.ShowSeriesPointAnnotations = True
See Also
ScrollBarAnnotationOptions Class