LineStyle Property (APlot)

Returns or sets the style of lines for connecting points on the object.

Syntax

Object.LineStyle [ = enLineStyle ]

The LineStyle property syntax has the following parts:

 

Name

Type

Description

Object

APlot

APlot object

enLineStyle

enumAPlotLineStyle

An integer specifying the style of lines for connecting points on the object. This property can be set at design time and is read-only at run time.

Where

enumAPlotLineStyle can be one of the following:

 

Name

Value

Description

ApltLineStyleSolid

0 *

Solid line

ApltLineStyleDash

1

Dash line

ApltLineStyleDot

2

Dotted line

ApltLineStyleDashDot

3

Dash Dot line

ApltLineStyleDashDotDot

4

Dash Dot Dot

ApltLineStyleXYStep

5

XY Step

ApltLineStyleYXStep

6

YX Step

ApltLineStyleNone

7

None

Example

The following statement changes the APlot's plot line to have a dot-dash line style:

plt1.LineStyle=ApltLineStyleDashDot

Applies to

APlot

See Also

AChart.PlotAreaBorderStyle, AChart.PlotAreaFillStyle, LineColor, LineToBase, LineToBaseColor, LineWidth, PointStyle