jqDataVisualization for jQuery Documentation

Chart.Axes.Category


Hierarchy

Subclasses

The Category Axis is used for representing data grouped by a set of discrete values along an axis. It defines a set of labels that appear along an axis of a chart. For example, charts that renders data according to City, Country and so on.

Defined By

Config options

Chart.Axes.Category
: String[]
Specifies the axis categories array - ['Cat 1', 'Cat 2', 'Cat 3', 'Cat 4', 'Cat 5', 'Cat 6']. ...

Specifies the axis categories array - ['Cat 1', 'Cat 2', 'Cat 3', 'Cat 4', 'Cat 5', 'Cat 6'].

Automatically generated if categories are not set.

Specifies the axis labels. ...

Specifies the axis labels.

Defaults to: {visible: true, fillStyle: 'black', lineWidth: 1, font: '11px sans-serif', position: 'outside', showLastLabel: true, showFirstLabel: true, hAlign: 'center', vAlign: 'center'}

Specifies the axis line width. ...

Specifies the axis line width.

Defaults to: 1

Specifies the axis location - 'right', 'bottom', 'left' or 'top'. ...

Specifies the axis location - 'right', 'bottom', 'left' or 'top'.

Defaults to: 'left'

Specifies the axis major grid lines.

Specifies the axis major grid lines.

Specifies the axis major tick marks.

Specifies the axis major tick marks.

Specifies the axis margin. ...

Specifies the axis margin.

Defaults to: 5

Specifies the axis minor grid lines.

Specifies the axis minor grid lines.

Specifies the axis minor tick marks.

Specifies the axis minor tick marks.

Specifies how big is the step when scroll with mouse wheel. ...

Specifies how big is the step when scroll with mouse wheel.

Defaults to: 0.05

Specifies how big is the step when zoom with mouse wheel. ...

Specifies how big is the step when zoom with mouse wheel.

Defaults to: 0.001

Specifies the axis name.

Specifies the axis name.

Specifies the axis range slider. ...

Specifies the axis range slider.

Defaults to: {visible: true, breadth: 20}

Specifies whether or not the axis scale is reversed. ...

Specifies whether or not the axis scale is reversed.

Defaults to: false

Specifies the axis line stroke dash array - [2, 4].

Specifies the axis line stroke dash array - [2, 4].

Specifies the axis line color. ...

Specifies the axis line color.

Defaults to: 'black'

Specifies the axis title.

Specifies the axis title.

Specifies the axis type - 'category', 'linear', 'dateTime', 'categoryAngle', 'linearRadius' or 'linearAngle'.

Specifies the axis type - 'category', 'linear', 'dateTime', 'categoryAngle', 'linearRadius' or 'linearAngle'.

Specifies whether or not this axis should be displayed. ...

Specifies whether or not this axis should be displayed.

Defaults to: true

Specifies whether or not the axis zoom is enabled. ...

Specifies whether or not the axis zoom is enabled.

Defaults to: false