Contents  All Classes  Index A-Z  All Units


TTransposeSeriesTool
Hierarchy     Properties     Methods     Events     

Unit
TeeTransposeSeries

Description
This tool is used to exchange series data rows by columns and vice-versa.

For example, if you have a chart with 3 series that have 5 points each series, after applying the transpose tool the chart will show 5 series with 3 points each series.

You can use transpose tool at design-time using the Chart Tools Editor dialog, or at runtime by code like the following example:

// Declare variable
var t : TTransposeSeriesTool;

// Create and associate to Chart1
t:=TTransposeSeriesTool.Create(Self);
t.ParentChart:=Chart1;

// Do transpose
t.Transpose;

// Not necessary to destroy de tool right here.
// It will be automatically destroyed when the chart is destroyed.
// t.Free;



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.