concord-consortium/lab-grapher — pull request #5 by rklancer (2014-02-19 18:25:03+00:00)
Title: Add dataColors option

Hi,

For our AgentScript models we need to be able to set custom colors for each data "channel". This commit just creates an initialization-time option called dataColors which specifies the R, G, and B values to use for each channel. If no dataColors are provided, the default set (same as before) are used. Also same as before, the last channel color is re-used if there are more channels than colors.