提交 df50e719 编写于 作者: K kener

test引用文件更新

上级 f7547a61
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<meta name="description" content="ECharts"> <meta name="description" content="ECharts">
<meta name="author" content="linzhifeng@baidu.com"> <meta name="author" content="linzhifeng@baidu.com">
<script src="../../doc/asset/js/esl/esl.js"></script> <script src="../../build/dist/echarts.js"></script>
<script src="../../doc/asset/js/codemirror.js"></script> <script src="../../doc/asset/js/codemirror.js"></script>
<script src="../../doc/asset/js/javascript.js"></script> <script src="../../doc/asset/js/javascript.js"></script>
...@@ -638,7 +638,6 @@ option = { ...@@ -638,7 +638,6 @@ option = {
{ {
type : 'value', type : 'value',
scale:true, scale:true,
precision: 2,
splitNumber: 9, splitNumber: 9,
boundaryGap: [0.05, 0.05], boundaryGap: [0.05, 0.05],
splitArea : {show : true} splitArea : {show : true}
...@@ -1026,8 +1025,6 @@ option = { ...@@ -1026,8 +1025,6 @@ option = {
textStyle: {color:'red'} textStyle: {color:'red'}
}, },
scale: true, scale: true,
precision: 1,
//power: 100,
axisLine: { // 坐标轴线 axisLine: { // 坐标轴线
show: true, // 默认显示,属性show控制显示与否 show: true, // 默认显示,属性show控制显示与否
lineStyle: { // 属性lineStyle控制线条样式 lineStyle: { // 属性lineStyle控制线条样式
......
...@@ -84,7 +84,7 @@ function refreshAll() { ...@@ -84,7 +84,7 @@ function refreshAll() {
} }
} }
var developMode = true; var developMode = false;
if (developMode) { if (developMode) {
// for develop // for develop
require.config({ require.config({
...@@ -105,22 +105,9 @@ if (developMode) { ...@@ -105,22 +105,9 @@ if (developMode) {
} }
else { else {
// for echarts online home page // for echarts online home page
var fileLocation = '../../build/echarts-map';
require.config({ require.config({
paths:{ paths:{
echarts: fileLocation, echarts: '../../build/dist'
'echarts/chart/line': fileLocation,
'echarts/chart/bar': fileLocation,
'echarts/chart/scatter': fileLocation,
'echarts/chart/k': fileLocation,
'echarts/chart/pie': fileLocation,
'echarts/chart/radar': fileLocation,
'echarts/chart/map': fileLocation,
'echarts/chart/chord': fileLocation,
'echarts/chart/force': fileLocation,
'echarts/chart/gauge': fileLocation,
'echarts/chart/funnel': fileLocation,
'echarts/chart/eventRiver': fileLocation
} }
}); });
} }
......
...@@ -25,7 +25,7 @@ function option(chartType, n) { ...@@ -25,7 +25,7 @@ function option(chartType, n) {
show : true, show : true,
feature : { feature : {
mark : {show: true}, mark : {show: true},
dataZoom : {show: true}, //dataZoom : {show: true},
dataView : {show: true, readOnly: false}, dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']}, magicType : {show: true, type: ['line', 'bar']},
restore : {show: true}, restore : {show: true},
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Performance</title> <title>Performance</title>
<script type="text/javascript" src="../../doc/asset/js/esl/esl.js"></script> <script type="text/javascript" src="../../build/dist/echarts.js"></script>
</head> </head>
<body> <body>
<div id="main" style="width:100%;height:500px;border:1px solid green"></div> <div id="main" style="width:100%;height:500px;border:1px solid green"></div>
......
...@@ -19,21 +19,9 @@ if (developMode) { ...@@ -19,21 +19,9 @@ if (developMode) {
} }
else { else {
// for echarts online home page // for echarts online home page
var fileLocation = '../../build/echarts-map';
require.config({ require.config({
paths:{ paths:{
echarts: fileLocation, echarts: '../../build/dist'
'echarts/chart/line': fileLocation,
'echarts/chart/bar': fileLocation,
'echarts/chart/scatter': fileLocation,
'echarts/chart/k': fileLocation,
'echarts/chart/pie': fileLocation,
'echarts/chart/radar': fileLocation,
'echarts/chart/map': fileLocation,
'echarts/chart/chord': fileLocation,
'echarts/chart/force': fileLocation,
'echarts/chart/gauge': fileLocation,
'echarts/chart/funnel': fileLocation
} }
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册