A value that provides the information for the x axis.
Type: Object
x: {
alignment:"center",
style:{
stroke:"#999999",
"stroke-width":0.5
},
visible:true,
textVisible:true,
textStyle:{
fill: "#888",
"font-size": 15,
"font-weight": "bold"
},
labels: {
style: {
fill: "#333",
"font-size": "11pt"
},
textAlign: "near",
width:null
},
compass:"south",
autoMin:true,
autoMax:true,
autoMajor:true,
autoMinor:true,
gridMajor:{
visible:false,
style:{
stroke:"#CACACA",
"stroke-dasharray":"- "}
}
},
gridMinor:{
visible:false,
style:{
stroke:"#CACACA",
"stroke-dasharray":"- "}
}
},
tickMajor:{
position:"none",
style:{
fill:"black"
},
factor:1
},
tickMinor:{
position:"none",
style:{
fill:"black"},
factor:1
},
annoMethod:"values",
valueLabels:[]
}
alignment
A value that indicates the alignment of the x axis text.
Type: String
Default: "center"
Notes: Options are 'center', 'near', and 'far'.
annoMethod
The annoMethod indicates the method of axis annotation.
Type: String
Default: "values"
autoMajor
A value that indicates whether the major tick mark values are calculated automatically.
Type: Boolean
Default: true
autoMax
A value that indicates whether the axis maximum value is calculated automatically.
Type: Boolean
Default: true
autoMin
A value that indicates whether the axis minimum value is calculated automatically.
Type: Boolean
Default: true
autoMinor
A value that indicates whether the minor tick mark values are calculated automatically.
Type: Boolean
Default: true
compass
A value that indicates the compass position of the x axis
Type: String
Default: "south"
Notes: Options are 'north', 'south', 'east', 'west'
gridMajor
A value that provides information for the major grid line.
Type: Object
Default: {visible:false, style:{stroke:"#CACACA","stroke-dasharray":"- "}}
style
A value that indicates the style of the major grid line.
Type: Object
Default: {stroke:"#CACACA", "stroke-dasharray": "- "}
visible
A value that indicates the visibility of the major grid line.
Type: Boolean
Default: false
gridMinor
A value that provides information for the minor grid line.
Type: Object
Default: {visible:false, style:{stroke:"#CACACA","stroke-dasharray":"- "}}
style
A value that indicates the style of the major grid line
Type: Object
Default: {stroke:"#CACACA", "stroke-dasharray": "- "}
visible
A value that indicates the visibility of the major grid line.
Type: Boolean
Default: false
labels
A value that provides information for the axis labels.
Type: Object
style
A value that indicates the styles that will be applied to the x axis' major text. For a full list of style options, please see the Style Options topic.
Type: Object
Default: null
textAlign
A value that indicates the alignment of the major text on the x axis.
Type: String
Default: "near"
width
A value that indicates the width of the major text of the x axis
Type: Number
Default:
max
A value that indicates the maximum value of the axis.
Type: Number
Default: null
min
A value that indicates the minimum value of the axis.
Type: Number
Default: null
origin
A value that indicates the origin of the x axis.
Type: Number
Default: null
style
A value that indicates the style of the x axis. For a full list of style options, please see the Style Options topic.
Type: Object
Default: {fill: "#333","font-size": 11}
textStyle
A value that indicates the text style for the x axis. For a full list of style options, please see the Style Options topic.
Type: Object
Default: {fill: "#888", "font-size": 15, "font-weight": "bold"}
textVisible
A value that indicates the visibility of the x axis.
Type: Boolean
Default: true
tickMajor
A value that provides information for the major tick mark.
Type: Object
Default: {position:"none", style:{fill:"black"}, factor:1}
factor
A value that indicates an integral factor for the major tick mark length
Type: Number
Default: 1
position
A value that indicates the positioning of the major tick mark on the axis.
Type: String
Default: "none"
Note: The available options are 'none', 'inside', 'outside', and 'cross'.
style
A value that indicates the style applied to the major tick mark. For a full list of style options, please see the Style Options topic.
Type: Object
Default:
tickMinor
A value that provides information for the minor tick mark.
Type: Object
Default: {position:"none", style:{fill:"black"}, factor:1}
factor
A value that indicates an integral factor for the minor tick mark length.
Type: Number
Default: 1
position
A value that indicates the positioning of the minor tick mark on the axis.
Type: String
Default: "none"
Note: The available options are 'none', 'inside', 'outside', and 'cross'.
style
A value that indicates the style applied to the minor tick mark. For a full list of style options, please see the Style Options topic.
Type: Object
Default: {fill: "black"}
unitMajor
A value that indicates the units between the major tick marks.
Type:Number
Default: null
unitMinor
A value that indicates the units between the minor tick marks.
Type: Number
Default: null
valueLabels
The valueLabels option shows a collection of valueLabels for the x axis.
Type: Array
Default: [ ]
visible
A value that indicates the visibility of the x axis.
Type: Boolean
Default: false