IUiChartGetDataValueEventArgs.Value3

Fore Syntax

Value3: Double;

Fore.NET Syntax

Value3: Double;

Description

The Value3 property determines the size of a bubble of the bubble chart.

Comments

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

Fore Example

Executing the example requires the form containing the ChartBox component with ChartBox1 name and the UiChart component with UiChart1 identifier. Specify UiChart1 as a data source for 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 specified number of series and bubbles, the size of which depends on specified initial size.

Fore.NET Example

Executing the example requires the .NET form containing the ChartBoxNet component with ChartBoxNet1 name and the UiChartNet component with 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 execution of Fore.NET example is similar to Fore example result.

See also:

IUiChartGetDataValueEventArgs | UiChart.OnGetDataValue