提交 df50e719 编写于 作者: K kener

test引用文件更新

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