Hide Comments
Hide Comments

Comments (0)

Defines the collection of all points or values in a chart. A chart is made up of a collection of values ( RSChartPanel.TRSChartValue ), where each TRSChartValue descendant defines the information for one point, one pie slice, one shape, etc for the chart.

The TRSChartValue class defines the base value class and common properties to all values, including Caption, Color, and Values. The RSChartPanel.TRSChartValues collection defines the base collection class and common properties to all collection of values, such as DimensionCount, MaxValues, and MinValues.


Note that the TRSChartValues collection provides built-in support for limiting the number of values in the collection (using the    Limit property).

Namespace: RSChartPanel



  property Values: TRSChartValues read FValues write SetValues stored IsValuesStored;

Property Value

Type: TRSChartValues


The following example modifies the appearance of an area chart.


   i: Integer;
   // Modify the brush and pen
   RSAreaChart1.Brush.Style := csCross;
   RSAreaChart1.Pen.Width := 2;
   RSAreaChart1.Color := clRed;
   // modify the font for the value's Captions
   RSAreaChart1.Font.Style := [fsBold];
   RSAreaChart1.Options := RSAreaChart1.Options - [coColorEachPoint]; // remove coColorEachPoint so we use the chart's color
   // now let's change every  chart value's caption to its index in the collection of chart values
   for i := FirstIndex to LastIndex do
     RSAreaChart1.Values[i].Caption := IntToStr(i);

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb