Fill information used when draw the background of the data cell. It is internally stored as Fill object.
Specify the fill of a single color with the color value of string or an integer. Please refer to Colors page about how to specify the color value.
column.setStyles({
background: '#ff0000',
color: '#ff00ff00'
});
Specify linear gradient fill with two colors.
column.setStyles({
// The last '90' is the direction of gradient.
background: 'linear,#ffffff,#f0f0f0,90'
});
Stroke information used when draw the data cell border. It is internally stored as Stroke object.
If it is the case to specify as string when only allowed to draw a single color stroke,
you can specify in the way of "Color, Stroke thickness, Dash."
If do not specify Stroke Thickness, it will be drawn as 1 pixel, and if do not specify Dash, it will be drawn as Continuous Line. Dash can specify "dashed" or "dotted".
colum.setStyles({
borderLeft: '#ff0000',
// 2 pixel line
borderLeft: '#00ff0,2px',
// dashed line
borderBottom: "#aaa,1px,dashed"
});
column.styles().setShapeBorder(0xff00ff00);