Good afternoon. I am the user that posted the "Bar chart from array of objects" in stackoverflow. I need an extra help.
What I need is that in my bar chart appear the xAxis with the values of key and after i sort the data this values as the chart lenght of the bars sort and reset too.
var dataset = {key: [1, 2, 3, 4, 5], value: [10,20,30,40,50]};
If you do not mind send me the jsfiddle updated.
Regards and one more time thanks.
.data(dataset.value)instead of.data(dataset, key)..data(dataset, key). Assuming that you save your data in a variabledatasetyou need to replace this line with.data(dataset.value).