Esri / cedar

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

definition should provide a way to specify or override default axis labels #464

Open tomwayson opened 5 years ago

tomwayson commented 5 years ago

Currently the axis titles default to the category/value (x/y) field labels or names, but only for single series charts. For multi-series charts, we show a legend instead and do not show axis labels.

We don't need to change that default behavior, but the definition JSON should provide a way for developers to supply a specific axis titles w/o having to use overrides.

See: https://community.esri.com/thread/229005-help-editing-axes-in-hub-chart#comment-838336