提交 4d13a7fe 编写于 作者: nengyuangzhang's avatar nengyuangzhang

Merge branch 'develop'

......@@ -61,10 +61,11 @@ const BarChart = ({
});
datasets.push({
label: title,
backgroundColor: '#2c7be5',
backgroundColor: '#1a3a64',
data: dataArray,
borderColor: 'rgb(75, 192, 192)',
borderWidth: 1,
borderWidth: 0.1,
borderRadius: 4
});
dataArray = [];
compareData.forEach(element => {
......@@ -72,10 +73,11 @@ const BarChart = ({
});
datasets.push({
label: compareTitle,
backgroundColor: '#27bcfd',
backgroundColor: '#2c7be5',
data: dataArray,
borderColor: 'rgb(53, 162, 235)',
borderWidth: 1,
borderWidth: 0.1,
borderRadius: 4
});
setChartData({
labels: labels,
......
......@@ -83,7 +83,7 @@ const MultiTrendChart = ({
},{
//label: baseTitle,
data: undefinedConvertsToEmptyArray(baseData[option]),
backgroundColor: '#2c7be5',
backgroundColor: '#1a3a64',
stack: "base",
tension: 0.4,
datalabels: {
......@@ -91,10 +91,12 @@ const MultiTrendChart = ({
return false;
}
},
borderWidth: 0.1,
borderRadius: 4
},{
//label: reportingTitle,
data: undefinedConvertsToEmptyArray(reportingData[option]),
backgroundColor: '#27bcfd',
backgroundColor: '#2c7be5',
stack: "reporting",
tension: 0.4,
datalabels: {
......@@ -102,6 +104,8 @@ const MultiTrendChart = ({
return false;
}
},
borderWidth: 0.1,
borderRadius: 4
},],
labels: undefinedConvertsToEmptyArray(reportingLabels[option]),
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册