grid
Configuration Structure
grid: {}show
trueTo show or hide grid area (including xaxis / yaxis)
borderColor
'#e0e0e0'Colors of grid borders / lines
strokeDashArray
0Creates dashes in borders of svg path. Higher number creates more space between dashes in the border.
position
'back'Whether to place grid behind chart paths of in front. Available options for position
- front
- back
xaxis
lines
show
falseWhether to show / hide x-axis lines
yaxis
lines
show
trueWhether to show / hide y-axis lines
row
colors
undefinedGrid background colors filling in row pattern. Each row will be filled with colors based on the index in this array. If less colors are specified, colors are repeated.
opacity
0.5Opacity of the row background colors.
Accepts values from 0 to 1
column
colors
undefinedGrid background colors filling in column pattern. Each column will be filled with colors based on the index in this array. If less colors are specified, colors are repeated.
opacity
0.5Opacity of the column background colors.
Accepts values from 0 to 1
padding
top
0Grid padding from top
right
10Grid padding from right
bottom
0Grid padding from bottom
left
12Grid padding from left