javascript - flot jquery y axis option is not working -
this yasix option
yaxes: { min: 0, max: 100, tickformatter: function (val, axis) { return val + '%'; } },
but when run chart, max not 100, plus there no %
sign.
what wrong did pleaes?
i didn't post other code becuase think problem code above, if see code correct , need more code kindly tell me please
if have single value, option yaxis
instead of yaxes
. if have multiple values, should provide array.
Comments
Post a Comment