修改数据请求

master
夜笙歌 4 years ago
parent a363af9f45
commit c8fb10d359

@ -419,12 +419,12 @@
autoUpdate('/broad/box/selectOutputByType', INTERVAL, data => {
statByType.setOption({
xAxis: {
data: data['xAxisInfo'].map(value => value),
data: data.map(value => value.name),
},
series: [
{
name: '数量',
data: data['seriesInfo'],
data: data.map(value => value.qty),
},
// {
// name: '数量_',
@ -505,7 +505,8 @@
{
type: 'category',
axisTick: {
alignWithLabel: true
alignWithLabel: true,
interval:0,
},
axisLabel: {
color: '#ffffff',

Loading…
Cancel
Save