var setMax = function (options, max) {
          options.scales.yAxes[0].ticks.max = toFloat(max);
        };