Esri / Esri/cedar

getter for chart specification?

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

Description

I'm using v0.9.2 and trying to implement this example using error bars (hacking it a bit to show lower and upper confidence intervals): http://cedar-v0.surge.sh/examples/errorbars.html

I have a rendered chart, though when I attempt to access the specification it doesn't seem to be available in the object. The specification object appears to be under a `chart._definition` object instead, `console.log(chart)`:

![image](https://user-images.githubusercontent.com/1952205/41606754-a3a7568c-73a1-11e8-91d8-a984cdd99855.png)

And when I attempt to access it via `chart._definition.specification` it turns up _undefined_.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked error-bars example and inspect the rendered chart object in v0.9.2, especially chart._definition and chart._definition.specification. Trace how the chart specification is stored and determine the supported access path; done means the specification can be retrieved reliably from the chart object.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.