HyperWorks Desktop

*Category()

Sets the name of a bar column (a.k.a. category) along the Categories axis.  Subsequent *Category() statements define the other category names.

*Category()

Sets the name of a bar column (a.k.a. category) along the Categories axis.  Subsequent *Category() statements define the other category names.

Previous topic Next topic No expanding text in this topic  

*Category()

Sets the name of a bar column (a.k.a. category) along the Categories axis.  Subsequent *Category() statements define the other category names.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*Category(name)

Argument

Name

Description

 

name

The name of the category.

Example

To set the category names "one", "two", "three", "four",and "five":

*BeginPlot()

 • • •

   *BeginAxis()

      *Label("X Axis"

      *Scale(Linear)

      *TicMethod(Increment)

      *Min(0)

      *Max(5)

      *Format(Auto)

      *Precision(3)

      *Increment(1)

      *Grids(1)

      *Color(67)

      *AutoFit(TRUE)

      *LabelFont("Arial", 0, 0, 10)

      *TicsFont("Arial", 0, 0, 8)

      *Category("One")

      *Category("Two")

      *Category("Three")

      *Category("Four")

      *Category("Five")

      *HorizontalLabeling(FALSE)

   *EndAxis()

 • • •

*EndPlot()

Application

HyperGraph

Context

*BeginPage()

*BeginPlot()

*BeginPlotFooter()

*BeginWindow()

Comments

This statement is valid only for bar charts.

See Also

 

List of Session Statements