YSEcharts

结合Echarts

new YS.YSEcharts(ys, option)

结合Echarts
Name Type Description
ys YouScene youscene对象
option Object Echarts的option对象
Demo:

Methods

destroy()

销毁Echarts

hide()

隐藏Echarts图表

isDestroyed()Boolean

Echarts是否销毁 (true代表销毁了,false代表未销毁), 销毁后将不可以再使用
Returns:

show()

显示Echarts图表

updateOverlay(option)

更新Echarts图表
Name Type Description
option Object Echarts的option对象