Class pvc.visual.Axis
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
The Axis class represents a dimension of visual representation
and contains an actual #scale that encodes business values as visual variables.
|
| Field Attributes | Field Name and Description |
|---|---|
| Identification | |
|
Gets the axis id.
|
|
|
Gets the index of the axis among those of its type.
|
|
|
Gets the axis type.
|
|
| Scale | |
|
Gets the Protovis scale of the axis.
|
|
Class Detail
pvc.visual.Axis
The Axis class represents a dimension of visual representation
and contains an actual #scale that encodes business values as visual variables.
Field Detail
{string}
id
{number}
index
Gets the index of the axis among those of its type.
This index is 0-based.
{string}
type
Gets the axis type.
One of the values:
- color
- size
- base
- ortho
- category
- angle
{pv.Scale}
scale
Gets the Protovis scale of the axis.