IChartSelectedSeries.Marker

Syntax

Marker: IChartMarker;

Description

The Marker property returns parameters of the marker of the selected data series on the chart.

Example

Executing the example requires a form, the Button1 button located on this form, the ChartBox component and UiChart component used as a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    SelectedSeries: IChartSelectedSeries;
   Mark: IChartMarker;              
Begin
    SelectedSeries:= UiChart1.Chart.SelectedSeries;
    SelectedSeries.DisplayMarkers := True;
    SelectedSeries.MarkerSize := 5;
    SelectedSeries.MarkerType := ChartMarkerType.Rhombus;
    Mark := SelectedSeries.Marker;
    Mark.DisplayShadow := True;
    Mark.Shadow.Color := GxColor.FromName("Blue");      
End Sub Button1OnClick;

After executing the example, the markers with a blue shadow are displayed for the selected data series.

See also:

IChartSelectedSeries