IUiChartGetDataValueEventArgs.Value3

Fore Syntax

Value3: Double;

Fore.NET Syntax

Value3: Double;

Description

The Value3 property determines bubble chart bubble size.

Comments

To get source data by OX, OY axis, use the IUiChartGetDataValueEventArgs.Value2 and IUiChartGetDataValueEventArgs.Value properties.

Fore Example

Executing the example requires a form containing the ChartBox component with the ChartBox1 identifier and the UiChart component with UiChart1 identifier. Specify UiChart1 as a data source for the ChartBox1 component.

Add links to the Chart, ExtCtrls, Forms system assemblies.

The example is a handler of the OnGetDataValue event for the UiChart1 component.

Sub UiChart1OnGetDataValue(Sender: Object; Args: IUiChartGetDataValueEventArgs);
Begin
Args.Result := True;
Args.Value := Args.SerieIndex + Args.SerieIndex + 1;
Args.Value2 := Args.SerieIndex + Args.SerieIndex + 2;
Args.Value3 := Args.SerieIndex + Args.SerieIndex + 1;
End Sub UiChart1OnGetDataValue;

After executing the example a bubble chart is built by the specified number of series and bubbles, which size depends on the specified initial size.

Fore.NET Example

Executing the example requires a .NET form containing the ChartBoxNet component with ChartBoxNet1 identifier and the UiChartNet component with the UiChartNet1 identifier. Specify UiChartNet1 as a data source for the ChartBoxNet1 component.

The example is a handler of the OnGetDataValue event for the UiChartNet1 component.

Private Sub uiChartNet1_OnGetDataValue(Sender: System.Object; Args: Prognoz.Platform.Interop.Chart.UiChartGetDataValueEventArgs);
Begin
Args.Result := True;
Args.Value := Args.SerieIndex + Args.SerieIndex + 1;
Args.Value2 := Args.SerieIndex + Args.SerieIndex + 2;
Args.Value3 := Args.SerieIndex + Args.SerieIndex + 1;
End Sub

The result of the Fore.NET example execution matches with that in the Fore example.

See also:

IUiChartGetDataValueEventArgs | UiChart.OnGetDataValue