MarkerSize: Double;
MarkerSize: System.Double;
The MarkerSize property determines sizes of markers of the selected data series of the chart.
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;
Begin
SelectedSeries:= UiChart1.Chart.SelectedSeries;
SelectedSeries.DisplayMarkers := True;
SelectedSeries.MarkerSize := 2;
SelectedSeries.MarkerType := ChartMarkerType.Rhombus;
End Sub Button1OnClick;
After executing the example, the markers for the data series are displayed in the shaped of diamonds with the size of 2 mm.
Executing the example requires a form, the Button1 button located on this form, the ChartBoxNet component and UiChartNet component used as a data source.
Imports Prognoz.Platform.Forms.Net;
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Chart;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
SelectedSeries: IChartSelectedSeries;
Begin
SelectedSeries:= UiChartNet1.ChartUi.Chart.SelectedSeries;
SelectedSeries.DisplayMarkers := True;
SelectedSeries.MarkerSize := 2;
SelectedSeries.MarkerType := ChartMarkerType.cmtRhombus;
End Sub;
After executing the example the markers for the data series are displayed as diamonds with the size of 2 mm.
See also: