Hi,
for a Bar Chart I need to display, I do not know the legend names in advance, as they are part of the incoming JSON array.
For example, if I get:
[
{ device: “A”, day: “01”, value: 20 },
{ device: “B”, day: “01”, value: 30 },
{ device: “C”, day: “01”, value: 10 },
{ device: “A”, day: “02”, value: 50 },
{ device: “B”, day: “02”, value: 40 }
]
I’d like to create a Bar Chart with “day” in the X axis and “value” in the Y axis. Grouped bars per day.
The result of the above array would be http://s2.postimg.org/xep77h3i1/Screen_Shot_2015_12_31_at_11_30_48.png
Is this possible with 3.1 ?
Thanks