Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCharting > RSGraphCharts > Classes > TRSGraphChartValue > Methods

TRSGraphChartValue.AddChild(String) Method

Scroll Prev Top Next More

Creates a new graph chart value as a child of the current graph chart value. The AddChild method creates the new graph chart value, initializes its Caption to the ACaption parameter and its Level property to the current graph chart value's Level + 1, and then creates a link from the current node to the new node.

The new graph chart value is returned by the method.

noteNote

The new graph chart value is considered a "child" only in that its Level is 1 more than the current chart value and there is a link from the current chart value to the new chart value. It is not an enforced relationship. The new graph chart value, as well as the old one, are managed by the RSGraphCharts.TRSGraphChartValues collection. You can change and delete links to sever this "parent-child" relationship.

Namespace: RSGraphCharts

Parameters

ACaption

Type: String

Return Value

Type: TRSGraphChartValue

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb