Hi, I’m creating a chart using highcharts, I’m trying to format the x-axis as data, but the chart doesn’t respond.
But as a tooltip the data appears correctly. Which parameter should I change so that the numbers become data?
{
“chart”: {
“type”: “column”
},
“title”: {
“text”: “Gráficos integrados”
},
“xAxis”: {
“type”: “datetime”,
“categories”: [“getColumn”,0],
“dateTimeLabelFormats”:{ “month”: “%b %Y” },
“gridLineWidth”: 1,
“title”: {
“text”: “Data”
}
},
“yAxis”: [
{
“title”: { “text”: “Graf1” },
“top”: “0%”,
“height”: “33%”,
“offset”: 0
},
{
“title”: { “text”: “Graf2” },
“top”: “35%”,
“height”: “33%”,
“offset”: 0
},
{
“title”: { “text”: “Graf3” },
“top”: “70%”,
“height”: “33%”,
“offset”: 0
}
],
“legend”: {
“enabled”: false
},
“tooltip”: {
“shared”: false
},
“plotOptions”: {
“column”: {
“dataLabels”: {
“enabled”: true
},
“stacking”: “normal”
}
},
“series”: [
{
“name”: “Graf1”,
“data”: [“getColumn”,1],
“color”: “green”,
“yAxis”: 0
},
{
“name”: “Graf2”,
“data”: [“getColumn”,1],
“color”: “blue”,
“yAxis”: 1
},
{
“name”: “Graf3”,
“data”: [“getColumn”,2],
“color”: “red”,
“yAxis”: 2
}
]
}