Visiology Robot (Unlicensed) Эдуард Столяр
Var categories = w.data.data.rows.map(function(row) {
return row[0];
});
var series = w.data.data.cols.map(function (col, colIndex) {
var data = w.data.data.values[colIndex].map(function (value) {
return parseFloat(value);
});
return {
name: col,
data: data
}
});
Highcharts.chart(w.general.renderTo, {
chart: {
type: 'column'
},
xAxis: {
categories: categories
},
yAxis: {
title: {
text: w.props.yAxisTitle
}
},
plotOptions: {
series: {
dataLabels: {
enabled: w.props.dataLabels.enabled,
style: {
color: w.props.dataLabels.color,
}
}
}
},
series: series
});
{"serverDuration": 15, "requestCorrelationId": "e69bd819ac994867bf6f2d609c798ed2"}