changeColors

Usage: Change color(s) used in chart. See Color Themes for tld3.js custom color themes that you can use in your charts!

changeColors(colors)
Params Type Units
colors Array RGB, HEX, or String color name

Example:

tld3.make('ScatterChart')
    .using(data)
    .in('#scatterchart')
    .changeColors(['#E71D36', '#3640dB', '#F49S1C', '#767B91', '#0FA2B9']);