Esri / cedar

JavaScript Charts for ArcGIS
https://esri.github.io/cedar
257 stars 238 forks source link

can now inline data as an array #404

Closed benstoltz closed 6 years ago

benstoltz commented 6 years ago

Closes #332

Data formats now supported are now:

var datasets = [{
  data: featureSet.features
}]

and

var data = [
  { col1: 'a1', col2: 'b1' },
  { col1: 'a2', col2: 'b2' },
];
var datasets = [{
  data: data
}];