set Dash Array
Sets a dash style for the line. It's in form of an array where the numbers mean
full_length, empty length, full_length... etc.
. The pattern is repeated.
To get a dashed line, setLineStyle should be set to DASHED and color of the line should be set with setColor.
Parameters
dashes
List of integer numbers representing lengths of a pattern. E.g. { 2, 3 } will generate a dash pattern with lines of length 2 and empty spaces of length 3.