fix line-graphic example
diff --git a/public/data/line-graphic.js b/public/data/line-graphic.js
index 7430372..6180a65 100644
--- a/public/data/line-graphic.js
+++ b/public/data/line-graphic.js
@@ -35,21 +35,6 @@
},
graphic: [
{
- type: 'image',
- id: 'logo',
- right: 20,
- top: 20,
- z: -10,
- bounding: 'raw',
- origin: [75, 75],
- style: {
- image: 'http://echarts.baidu.com/images/favicon.png',
- width: 150,
- height: 150,
- opacity: 0.4
- }
- },
- {
type: 'group',
rotation: Math.PI / 4,
bounding: 'raw',
@@ -78,7 +63,7 @@
style: {
fill: '#fff',
text: 'ECHARTS BAR CHART',
- font: 'bold 26px Microsoft YaHei'
+ font: 'bold 26px sans-serif'
}
}
]
@@ -136,14 +121,4 @@
data:[15, -50, -56.5, -46.5, -22.1, -2.5, -27.7, -55.7, -76.5]
}
]
-};
-
-var rotation = 0;
-setInterval(function () {
- myChart.setOption({
- graphic: {
- id: 'logo',
- rotation: (rotation += Math.PI / 360) % (Math.PI * 2)
- }
- });
-}, 30);
\ No newline at end of file
+};
\ No newline at end of file