This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch enhance-examples
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
The following commit(s) were added to refs/heads/enhance-examples by this push:
new 413af960 Fix example broken in v6 theme.
413af960 is described below
commit 413af9605b92c15127a748f1e9424597a15f7bcf
Author: 100pah <[email protected]>
AuthorDate: Sun Aug 10 19:32:32 2025 +0800
Fix example broken in v6 theme.
---
public/examples/ts/doc-example/bar-media-timeline.js | 6 ++++--
public/examples/ts/doc-example/mix-timeline-all.js | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/public/examples/ts/doc-example/bar-media-timeline.js
b/public/examples/ts/doc-example/bar-media-timeline.js
index 42c5f242..09aa44a9 100644
--- a/public/examples/ts/doc-example/bar-media-timeline.js
+++ b/public/examples/ts/doc-example/bar-media-timeline.js
@@ -44,7 +44,8 @@ $.when(
}
},
title: {
- subtext: 'Media Query 示例'
+ subtext: 'Media Query 示例',
+ left: 10,
},
tooltip: {
trigger:'axis',
@@ -65,6 +66,7 @@ $.when(
splitLine: {show: false}
},
legend: {
+ top: 10,
data: ['第一产业', '第二产业', '第三产业', 'GDP', '金融', '房地产'],
selected: {
'GDP': false, '金融': false, '房地产': false
@@ -128,7 +130,7 @@ $.when(
left: '10%',
top: 80,
right: 90,
- bottom: 100
+ bottom: 100,
},
xAxis: {
nameLocation: 'end',
diff --git a/public/examples/ts/doc-example/mix-timeline-all.js
b/public/examples/ts/doc-example/mix-timeline-all.js
index 53d51855..61c9937b 100644
--- a/public/examples/ts/doc-example/mix-timeline-all.js
+++ b/public/examples/ts/doc-example/mix-timeline-all.js
@@ -146,11 +146,12 @@ option = {
}
},
title: {
- subtext: '数据来自国家统计局'
+ subtext: '数据来自国家统计局',
},
tooltip: {},
legend: {
left: 'right',
+ top: 10,
data: ['第一产业', '第二产业', '第三产业'],
selected: {
'GDP': false, '金融': false, '房地产': false
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]