Commit 2a8f1195 by chenjinjing

no message

parent ef5f2583
......@@ -199,7 +199,8 @@ export function getChartData(title, dataMap, unit, percent ) {
}
data.yMinValue = getChartMin(data.yMinValue);
data.yStepValue = getChartStepNumber(Math.ceil((data.yMaxValue - data.yMinValue) / count));
data.yMaxValue = Math.ceil(data.yMaxValue);
let maxVal = Math.ceil(data.yMaxValue);
data.yMaxValue = maxVal +(data.yStepValue - (maxVal%data.yStepValue));
return data;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment