TiPlotChannelCustom.DataTraceLineWidth
TiPlotChannelCustom
Specifies the pen width used when drawing a specfic channel trace line between
two points.
property DataTraceLineWidth[Index : Integer] : Integer;
Description
Use DataTraceLineWidth to get or set the pen width used when drawing a
specific channel trace line between two data points.
For example, if you specify an Index of 2 (Data Point #3), then you are
referring to the trace line drawn between Data Point Index 1 and Index 2 (Data Point
#2 and #3). You cannot specify Data Point Index 0 because there is no data
point before it to connect a line to.
As data points are added to the channel, the individual Trace Line Width for
each segment is automatically populated with the Overall Trace Line Width
property: TraceLineWidth. You only need to set the DataTraceLineWidth property when you want the
trace line width to differ from the default.
Important Note! : This property only affects those channels with their DataStyle property set to ipdsFullFeature. For the TiPlot component, the FastDrawEnabled property must be set to FALSE for this feature to work.
Example
Delphi
//Sets width of trace line between the 101st data point and the 100th data
point
//or in other words between Data Point Index 100 and Data Point Index 99
iComponent.Channel[0].DataTraceLineWidth[100] := 2;
C++ Builder
//Sets width of trace line between the 101st data point and the 100th data
point
//or in other words between Data Point Index 100 and Data Point Index 99
iComponent->Channel[0]->DataTraceLineWidth[100] = 2;
Contents | Index | Previous | Next