Source code
Chart Features
There is a canvas background which is a light blue rectangle with same size and dimension of the drawing:
- background.fillColor sets the CMYK fill color
- background.height, background.width, background.x, and background.y define the size and position of the fill.
- background.strokeColor sets the color of the dotted border.
- background.strokeDashArray sets the type of dash. (3,2) gives the relative lengths of the filled and empty space.
- background.strokeWidth gives the weight of the border
- Note also that legend.colorNamePairs is set automatically based on the colors and names of the lines. This makes a lot of sense compared to other examples in which these are defined separately and may differ from the lines they are associated with.