A value that indicates the information for the y axis.
Type: Object
y:{
alignment:"center",
style:{
stroke: "#999999",
"stroke-width": 0.5
},
visible:false,
textVisible:true,
textStyle: {
fill: "#888",
"font-size": 15,
"font-weight": "bold"
},
labels: {
style: {
fill: "#333",
"font-size": "11pt"},
textAlign:"center",
width:null
},
compass:"west",
autoMin:true,
autoMax:true,
autoMajor:true,
autoMinor:true,
gridMajor:{
visible:true,
style:{
stroke:"#999999",
"stroke-width": "0.5",
"stroke-dasharray":"none"}
}
},
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 y 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 y 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. For a full list of style options, please see the Style Options topic.
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. For a full list of style options, please see the Style Options topic.
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 y axis' major text. For a full list of style options, please see the Style Options topic.
Type: Object
Default:
textAlign
A value that indicates the alignment of the major text on the y axis.
Type: String
Default: "near"
width
A value that indicates the width of the major text of the y 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 y axis.
Type: Number
Default: null
style
A value that indicates the style of the y axis. For a full list of style options, please see the Style Options topic.
Type: Object
Default: {stroke:"#999999", "stroke-width": 0.5}
textStyle
A value that indicates the text style for the y 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 y axis.
Type: Boolean
Default: true
tickMajor
A value that provides information for the major tick mark.
Type: Object
Default:
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: {fill: "black"}
tickMinor
A value that provides information for the minor tick mark.
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 y axis.
Type: Array
Default:[ ]
visible
A value that indicates the visibility of the y axis.
Type: Boolean
Default: true