RangeAreaSeries2D.MarkerDisplayMode Attached Property
Specifies how the marker of a side series point should be displayed.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Returns
Type | Description |
---|---|
SidePointDisplayMode | A SidePointDisplayMode enumeration value. |
Remarks
The following modes are available:
Value | Description |
---|---|
Default | The marker uses common marker settings. |
DiagramEdge | The control displays the marker at the diagram edge. |
SeriesPoint | The control shows the marker on the series point. If the marker should be outside a visual area when zooming or scrolling, the marker is displayed at the diagram’s edge. |
Example
This example demonstrates how to show a marker only for the first series point. To do this, set MarkerDisplayMode to SeriesPoint.
Set LineSeries2D.MarkerVisible to False to hide other markers.
<dxc:XYDiagram2D>
<dxc:SplineAreaSeries2D ... MarkerVisible="False">
<dxc:SplineAreaSeries2D.FirstPoint>
<dxc:SidePoint dxc:SegmentSeries2DBase.MarkerDisplayMode="SeriesPoint">
</dxc:SidePoint>
</dxc:SplineAreaSeries2D.FirstPoint>
</dxc:SplineAreaSeries2D>
...
</dxc:XYDiagram2D>