highcharts / highcharts-editor

https://www.highcharts.com/products/highcharts-editor
Other
250 stars 96 forks source link

Selection of axis categories values from imported data #123

Open romos opened 7 years ago

romos commented 7 years ago

It would be nice to have a feature that allows to select one of the provided source data columns as a "Category" set for an axis.

TorsteinHonsi commented 7 years ago

Internal note:

More generally, what we need is a GUI to map data columns to properties in the data points. Most important is X/category, but the same principle applies to y on a line series, low, high on a range series, y and z on a bubble series etc.

The underlying API would use the keys option to implement it: http://api.highcharts.com/highcharts/plotOptions.series.keys

This also makes it possible to add custom point options, like for example a label that would be picked up by a custom format option: http://jsfiddle.net/highcharts/owyms11n/