TiPlotChannelCustom.DataTraceLineStyle

TiPlotChannelCustom

Specifies the line style of a specific channel trace line between two points.

type TiPlotLineStyle = (iplsSolid, iplsDash, iplsDot, iplsDashDot, iplsDashDotDot);

property DataTraceLineStyle[const Index: Integer]: TiPlotLineStyle

Description

Use DataTraceLineStyle to get or set the line style of 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 Style for each segment is automatically populated with the Overall Trace Line Style property: TraceLineStyle. You only need to set the DataTraceLineStyle 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.

These are the possible values:

Value
Meaning
iplsSolid
A solid line.
iplsDash
A line made up of a series of dashes
iplsDot
A line made up of a series of dots.
iplsDashDot
A line made up of alternating dashes and dots.
iplsDashDotDot
A line made up of a series of dash-dot-dot combinations.

Example

Delphi

//Sets style 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].DataTraceLineStyle[100] := iplsSolid;

C++ Builder

//Sets style 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]->DataTraceLineStyle[100] = iplsSolid;

Contents | Index | Previous | Next