IUiChartGetDataValueEventArgs.Value3

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.

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.

See also:

IUiChartGetDataValueEventArgs | UiChart.OnGetDataValue