When you provide data, give them the same colorproperty or index .
For instance:
[ { color: 0, label: "Foo", data: [ [10, 1], [17, -14], [30, 5] ] },
{ color: 0, label: "Bar", data: [ [11, 13], [19, 11], [30, -7] ] } ]
In this case, both of them will get color # 0 in the auto-generated color array that the fleet has.
source
share