DisplayShadow: Boolean;
DisplayShadow: System.Boolean;
The DisplayShadow property determines whether the data series shadow is displayed.
If this property is set to True, the data series are displayed with a shadow on the chart. If this property is set to False, the shadow is not displayed.
Executing the example requires a form, the Button1 button located on this form, the ChartBox component and UiChart component used as a data source.
This example is a handler of the Onclick event for the button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
SelectedSeries: IChartSelectedSeries;
Begin
SelectedSeries:= UiChart1.Chart.SelectedSeries;
SelectedSeries.DisplayShadow:= True;
End Sub Button1OnClick;
After executing the example, the data series are displayed with a shadow on the chart.
Executing the example requires a form, the Button1 button located on this form, the ChartBoxNet component and UiChartNet component used as a data source.
This example is a handler of the Click event for the button.
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.DisplayShadow:= True;
End Sub button1_Click;
After executing the example, the data series are displayed with a shadow on the chart.
See also: