processSeries method
void
processSeries()
Implementation
void processSeries() {
var max = series.data
.reduce((curr, next) => curr.value > next.value ? curr : next);
var maxValue =
(max.value > series.referenceValue) ? max.value : series.referenceValue;
verticalScale = outerRect.height / (maxValue + maxValue * 0.25);
horizontalScale = outerRect.width / series.data.length;
}