You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/10/23 06:23:20 UTC
[incubator-echarts-examples] branch next updated: fix line-graphic
example
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-examples.git
The following commit(s) were added to refs/heads/next by this push:
new 558fa06 fix line-graphic example
558fa06 is described below
commit 558fa06d1d940f76b630209332fd4396cb12aca7
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Oct 23 14:23:10 2020 +0800
fix line-graphic example
---
public/data/line-graphic.js | 29 ++---------------------------
1 file changed, 2 insertions(+), 27 deletions(-)
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 @@ option = {
},
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 @@ option = {
style: {
fill: '#fff',
text: 'ECHARTS BAR CHART',
- font: 'bold 26px Microsoft YaHei'
+ font: 'bold 26px sans-serif'
}
}
]
@@ -136,14 +121,4 @@ option = {
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org