提交 a85afbbb 编写于 作者: K kener

例子升级

上级 e3e8ade7
......@@ -130,7 +130,22 @@ option = {
{
name:'搜索引擎',
type:'bar',
data:[862, 1018, 964, 1026, 1679, 1600, 1570]
data:[862, 1018, 964, 1026, 1679, 1600, 1570],
markLine : {
itemStyle:{
normal:{
lineStyle:{
type: 'dashed'
}
}
},
data : [
[
{name : '周最低', xAxis: '周一', yAxis: 900},
{name : '周最高', xAxis: '周五', yAxis: 1750}
]
]
}
},
{
name:'百度',
......
......@@ -921,12 +921,12 @@ define(function (require) {
function resize() {
_resetMark();
self.clear();
if (option.toolbox.show) {
if (option && option.toolbox && option.toolbox.show) {
_buildShape();
}
if (_dataView) {
_dataView.resize();
}
}
if (_dataView) {
_dataView.resize();
}
}
function hideDataView() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册