Esri / Esri/cedar

autolabels throws an error on pie charts

Open
#173 0 comments 0 reactions 0 assignees View on GitHub
v0x
Dominant language
Handlebars
Stars
265
Forks
236
PR merge metrics
No merged PRs in 30d

Description

If you call .show() w/ `autolabels: true` throws:

> Uncaught TypeError: Cannot read property '0' of undefined

At line 555 of (v0.3):

``` js
if(spec.axes[index] !== undefined) {
```

... and now I see the [TODO in the comments](https://github.com/Esri/cedar/blob/7cd0d44db48b0be138cbfa3689b33b504fcb3b64/src/cedar.js#L518) so yeah.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.