cesar
Posts: 1
Joined: Sun Jan 29, 2023 12:46 pm

Taxonomy of charts based on their "compatible/correct" input data format

Hi,
We were wondering whether there is a taxonomy of charts based on their compatible/correct input data format.

For example, let's assume that we have a data series in the form of an one dimensional array like this

Code: Select all

var data = [6, 5, 4, 5, 6, 7, 5, 4, 3]
, as far as we know, it's possible to have line, spline, column,.... stockCharts based on this input data.

Based on this, let's assume an input data is given (like 1 1-d array, 2d array, etc), how we can offer the list of all possible charts that can be visualised based on the given data to a user?

Thank you :)
kamil.k
Posts: 458
Joined: Thu Oct 06, 2022 12:49 pm

Re: Taxonomy of charts based on their "compatible/correct" input data format

Hello cesar,

Welcome to our forum and thanks for contacting us with your question!

We offer many types of charts, so there is no one unique pattern to use all of them. You can find all the data structures in our docs, take a look: https://api.highcharts.com/highcharts/series. Note that the link refers to the series, once you choose one (the chart's type) and then select its data property, you will be able to see the possible data structures for the selected series type.

You can also use the data chooser on our website to explore the possible chart types, see: https://www.highcharts.com/blog/chartchooser/.

I hope you will find it useful,
Kind Regards!
Kamil Kubik
Highcharts Developer

Return to “Highcharts Usage”