Style Property (AChart)

Returns or sets the style of how the chart appears graphically in the object.

Syntax

Object.Style [ = enStyle ]

The Style property syntax has the following parts:

 

Name

Type

Description

Object

AChart

AChart control

enStyle

enumAChartStyle

An integer specifying how the chart appears graphically in the object.

Where

enumAChartStyle can be one of the following:

 

Name

Value

Description

achtStyleLine

0 *

Line Chart. The chart is displayed as a series of connected points.

achtStyleArea

1

Area Chart. The chart is displayed as an area under the connected points.

achtStyleVerBar

2

Vertical Bar Chart. The chart is displayed as a series of vertical bars.

achtStyleHozBar

3

Horizontal Bar Chart. The chart is displayed as a series of horizontal bars.

achtStyleVerStackedBar

4

Stacked Vertical Bar Chart. The chart is displayed as a single vertical bar.

achtStyleHozStackedBar

5

Stacked Horizontal Bar Chart. The chart is displayed as a single horizontal bar.

achtStyleHiLoArea

6

Hi-Lo Area Chart. The chart is displayed with two areas: above (Hi) and below (Lo) the connected points.

achtStyleHiLoVerBar

7

Hi-Lo Vertical Bar. The chart is displayed as a series of vertical bars.

achtStyleHiLoHozBar

8

Hi-Lo Horizontal Bar. The chart is displayed as a series of horizontal bars.

achtStyle3DVerBar

9

3D Vertical Bar Chart. The chart is displayed as a series of 3D vertical bars.

achtStyle3DHozBar

10

3D Horizontal Bar Chart. The chart is displayed as a series of 3D horizontal bars.

achtStyle3DverStackedBar

11

3D Stacked Vertical Bar Chart. The chart is displayed as a single 3D vertical bar.

achtStyle3DHozStackedBar

12

3D Stacked Horizontal Bar Chart. The chart is displayed as a single 3D horizontal bar.

achtStyle3DHiLoVerBar

13

3D Hi-Lo Vertical Bar. The chart is displayed as a series of 3D vertical bars.

achtStyle3DHiLoHozBar

14

3D Hi-Lo Horizontal Bar. The chart is displayed as a series of 3D horizontal bars.

achtStyleLogic

15

Logic Chart. The chart displayed as two digital levels "0" and "1"as a series of XY steps.

achtStyleScroll

16

Scroll Chart. The chart is displayed as a series of connected points. When a trace reaches the edge of the plot area, the display starts to scroll. Old data is scrolled off the display as new data is added.

achtStyleSweep

17

Sweep Chart. The chart is displayed as a series of connected points. When the X values for new data reach the end of the display, the X axis updates according to its current range. For example, if the X-axis range is 0 to 100, it becomes 100 to 200. No old data is displayed.

achtStyleShmoo

18

Shmoo Chart. The chart is displayed as a grid. Each box in the grid represents a test status and is colored as follows Pass=Green, Fail=Red, None=Gray. This chart is typically used in the semiconductor tests where a component is tested for various parameters (for example VCC/Frequency), These parameters are the X and Y of the chart.

Comments

Changing the chart style will reset the chart settings and remove the plots and other chart customization to default.

For information on how to plot the data, see the AChart SetData method.

Example

The following statement changes the AChart's Style to have the chart displayed as a series of vertical bars.

cht1.Style=achtStyleHiLoVerBar

Applies to

AChart

See Also

CaptionBorderStyle, CaptionFillStyle, FrameBorderStyle, FrameFillStyle, PlotAreaBorderStyle, PlotAreaFillStyle