majorGrid

These properties control the visibility and format of major grid lines and tick marks.

xaxis: | yaxis: | y2axis | zaxis: {
majorGrid: {
	visible: boolean,
	aboveRisers: boolean,
	lineStyle: {width: Number,color: 'string',dash: 'string'},
	ticks: {
		length: Number,
		visible: boolean,
		style: 'string', 
		lineStyle: {width: Number,color: 'string'}
		}
	}
}

Parameters:

visible: true = draw major grid lines/false = hide major grid lines. The default value is true.

aboveRisers: true = draw major grid lines above/on top of risers. false = draw major grid lines behind risers. The default value is true.

lineStyle: These properties define the width, color, and dash style of major grid lines.

width; a number that defines the width of major grid lines. The default value is 1.

color; a string that defines the color of major grid lines. The default value is 'rgba(255, 255, 255, 0.3)'.

dash: a string that defines the dash style. The default value is '' (a solid line). Use a string of numbers that defines the width of a dash followed by the width of the gap between dashes (e.g., dash: '1 1' draws a dotted line).

ticks: These properties define the visibility and format of tick marks.

length: a number that defines the length of tick marks. The default value is 5.

visible: true = draw tick marks/false = hide tick marks. The default value is true.

style: a string that defines the tick mark style: 'inner', 'outer', or 'span'. The default value is 'inner'.

lineStyle: These properties define the width and color of tick marks.

width; a number that defines the width of the tick marks. The default value is 1.

color; a string that defines the color of tick marks. The default value is 'black'.

Examples:

xaxis: {title: {visible: true},
	majorGrid: {lineStyle: {width: 4, color: 'brown'}, ticks: {style: 'span'}}
	},
yaxis: {title: {visible: true},
	majorGrid: {aboveRisers: false, lineStyle: {width: 4, color: 'tan'}, ticks: {style: 'outer'}}
	},
chartType: 'bubble',
xaxis: {title: {visible: true},
	majorGrid: {lineStyle: {width: 2, color: 'brown', dash: '2 2'}}},
yaxis: {title: {visible: true},
	majorGrid: {lineStyle: {width: 2, color: 'tan', dash: '4 4'}}},
chartType: 'polar',
xaxis: {title: {visible: true},
	majorGrid: {aboveRisers: false, lineStyle: {width: 2, color: 'brown'}}},
yaxis: {title: {visible: true},
	majorGrid: {aboveRisers: false, lineStyle: {width: 2, color: 'tan'}}},