提交 e3b525e8 编写于 作者: L lang

Better ticks in user set interval case

上级 6ce2dc40
......@@ -59,6 +59,9 @@ define(function (require) {
*/
setInterval: function (interval) {
this._interval = interval;
// Dropped auto calculated niceExtent and use user setted extent
// We assume user wan't to set both interval, min, max to get a better result
this._niceExtent = this._extent.slice();
},
/**
......
......@@ -63,7 +63,7 @@ define(function (require) {
return '{' + varName + (seriesIdx == null ? '' : seriesIdx) + '}';
}
/**
* Label string formatter
* Template formatter
* @param {string} tpl
* @param {Array.<Object>|Object} paramsList
* @return {string}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册