提交 4f227b57 编写于 作者: K kener

重构 echarts core

上级 a179868b
......@@ -937,7 +937,7 @@ define(function() {
TOOLTIP_IN_GRID: 'tooltipInGrid',
TOOLTIP_OUT_GRID: 'tooltipOutGrid'
},
DRAG_ENABLE_TIME : 150, // 降低图表内元素拖拽敏感度,单位ms,不建议外部干预
DRAG_ENABLE_TIME : 120, // 降低图表内元素拖拽敏感度,单位ms,不建议外部干预
// 主题,默认标志图形类型列表
symbolList : [
'circle', 'rectangle', 'triangle', 'diamond',
......
此差异已折叠。
......@@ -67,7 +67,7 @@ function refresh(isBtnRefresh, idd){
myChart[idx].dispose();
}
myChart[idx] = echarts.init(domMain[idx]);
(new function (editor[idx].doc.getValue().replace(
(new Function (editor[idx].doc.getValue().replace(
'option', 'option[' + idx + ']'))
)()
myChart[idx].setOption(option[idx], true);
......@@ -76,7 +76,7 @@ function refresh(isBtnRefresh, idd){
function refreshAll() {
for (var i = 0, l = myChart.length; i < l; i++) {
(new function (editor[i].doc.getValue().replace(
(new Function (editor[i].doc.getValue().replace(
'option', 'option[' + i + ']'))
)();
myChart[i].setOption(option[i], true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册