Skip to content

Releases: Esri/cedar

v1.0.0-beta.5

13 Apr 17:37
Compare
Choose a tag to compare
v1.0.0-beta.5 Pre-release
Pre-release

Added

  • One can now add a style property which contains padding and pie properties to definition

Changed

  • popup text for pie charts has a new format

Treat arcgis-rest-js as external

30 Mar 20:38
Compare
Choose a tag to compare
Pre-release

1.0.0-beta.4

Changed

  • treat arcgis-rest-js libraries as external

More inline data and legend options; Fix pie chart defaults; lots of housekeeping

30 Mar 19:13
Compare
Choose a tag to compare

Cedar

Added

  • One can now inline data as an array of attributes or array of objects
  • legend.position determines the location (top, bottom, right, left) of a chart legend

Changed

  • use @esri/arcgis-rest-feature-service and remove query functions
  • updated tests and added mocks for 100% code coverage
  • using yarn workspaces for monorepo
  • added links for codepens for working with maps, etc to README
  • legend.enable is now legend.visible
  • Text colors have been changed to pass color contrast ratio on white backgrounds
  • Pie charts default to legend off and inner radius 0

Fixed

  • remove extraneous dependency on amcharts in @esri/cedar
  • Specifications that are passed in are actually supported
  • fixed join logic so that records weren't getting assigned to wrong category
  • fixed Using Cedar instructions in the README
  • Specifications that are passed in are actually supported

Definition legend

30 Mar 20:08
Compare
Choose a tag to compare
Definition legend Pre-release
Pre-release

Added

  • cedar definition legend property hides/shows chart legend

Changed

  • release script copies root README to packages/cedar before publishi
    ng
  • docs page doesn't look like it was beat by ugly stick
  • arcgis-rest-request is no longer included in Cedar, instead it is npm installed
  • legend is now a prop that can be passed in through the definition or off of the chart object directly

v1 Beta

19 Dec 20:05
Compare
Choose a tag to compare
v1 Beta Pre-release
Pre-release

v1 is in beta! 🎉

look at this graph

This means the only API changes that we anticipate from this point on should be additive (and not breaking).

To explore v1, go to the docs site or see the README for more information.

See the CHANGELOG for details on what has changed from the initial alpha release until now.

Use (a copy of) arcgis-rest-js for queries

30 Nov 22:28
Compare
Choose a tag to compare

Changed

  • refactored to use arcgis-rest-request for queries (copied code until it is released)

Fixed

  • query bbox to geometry conversion and added tests

Chart tweaks for Hub

22 Nov 23:20
Compare
Choose a tag to compare
Chart tweaks for Hub Pre-release
Pre-release

Fixed

  • if categoryField is null, amCharts shows [Object object] as label

Changed

  • bar chart doesn't show cursor (value) on x-axis by default
  • don't show labels by default on series

Fix for..in bug in deepMerge()

27 Oct 16:13
Compare
Choose a tag to compare
Pre-release
  • converted for..in loop on array to forEach
  • added a hasOwnProperty check when using for..in on objects

Multi-series, multiple datasets, amCharts, and so much more!

18 Oct 18:55
Compare
Choose a tag to compare

This is the first release of @esri/cedar! 🎉

BREAKING CHANGES

JSON API

Charts & chart types

Runtime (JavaScript) API

  • expose a new cedar namespace instead of Cedar() constructor as the global
  • chart constructor (instead of .show()) establishes relationship to DOM node (const chart = new cedar.Chart('#chartDiv', chartDefinition))
  • async operations like .show() return promises instead of taking callbacks
  • new fluent API for chaining definition property setters and function calls (chart.type('bar').datasets(datasets).series(series).show())
  • remove .transform() in favor of using promises to modify query responses as needed:
chart.query()
.then(queryResponse => {
  let modifiedResponse;
   // TODO: modify response
  return chart.updateData(modifiedResponse).render();
});

See the v1.x README for details on how to install and use @esri/cedar.

See the issues related to this release for more details.

Why alpha?

The only v0.x feature that we haven't addressed in v1 yet is events (i.e. exposing the chart's mouse clicks, movement, etc). Once we address that and these other issues, v1 will move into beta.

Here are the remaining issues that make up the v1.x roadmap.

v0.9.2

20 Mar 15:31
Compare
Choose a tag to compare

Support

  • Timeline charts now have x/y axis titles
  • Resolved issue with axis label truncation where it would truncate the entire label