Vertical Bar Chart requires a 'color' attribute for data elements
rathboma opened this issue · comments
Matthew Rathbone commented
Going by the documentation simply doing this:
{{vertical-line-chart data=model.data}}
should work fine where model.data looks something like:
[ { label: "foo", group: "default", value: 100}]
Unfortunately this throws an error about a missing color
attribute.
It can be solved by adding color to data:
[ { label: "foo", group: "default", value: 100, color: "#eeeeee"}]
But this seems different to the documentation and a strange place to define color?