From 86a927d6f2be65a42375e9194511b7b9bdf92e44 Mon Sep 17 00:00:00 2001 From: wb-xcf804241 Date: Thu, 7 Dec 2023 17:44:25 +0800 Subject: [PATCH 1/2] docs: add examples new images --- site/examples/analysis/bin/demo/meta.json | 10 +++---- site/examples/analysis/group/demo/meta.json | 4 +-- .../analysis/regression/demo/meta.json | 10 +++---- .../annotation/connector/demo/meta.json | 4 +-- site/examples/annotation/line/demo/meta.json | 8 +++--- site/examples/annotation/range/demo/meta.json | 4 +-- .../annotation/shape/demo/interval-point.ts | 1 + site/examples/annotation/shape/demo/meta.json | 6 ++-- site/examples/component/axis/demo/axis.ts | 2 +- site/examples/component/axis/demo/meta.json | 8 +++--- site/examples/component/label/demo/meta.json | 8 +++--- site/examples/component/legend/demo/meta.json | 4 +-- .../component/scrollbar/demo/meta.json | 2 +- .../examples/composition/facet/demo/meta.json | 10 +++---- .../composition/repeat/demo/meta.json | 4 +-- .../examples/composition/space/demo/meta.json | 4 +-- .../general/area/demo/area-difference.ts | 4 +-- site/examples/general/area/demo/meta.json | 28 +++++++++---------- site/examples/general/box/demo/meta.json | 14 +++++----- site/examples/general/cell/demo/meta.json | 2 +- site/examples/general/dual/demo/meta.json | 12 ++++---- site/examples/general/funnel/demo/meta.json | 6 ++-- site/examples/general/funnel/demo/pyramid.ts | 1 + site/examples/general/gauge/demo/meta.json | 2 +- site/examples/general/image/demo/meta.json | 4 +-- .../examples/general/line/demo/line-sample.ts | 2 +- .../examples/general/line/demo/line-series.ts | 3 +- site/examples/general/line/demo/meta.json | 28 +++++++++---------- .../general/link/demo/link-annotation.ts | 1 + site/examples/general/link/demo/meta.json | 4 +-- site/examples/general/mini/demo/meta.json | 4 +-- site/examples/general/pie/demo/meta.json | 8 +++--- site/examples/general/point/demo/meta.json | 24 ++++++++-------- .../general/point/demo/point-bubble.ts | 9 ++++-- .../general/point/demo/point-label.ts | 1 - site/examples/general/radar/demo/meta.json | 2 +- site/examples/general/radial/demo/meta.json | 2 +- site/examples/general/rose/demo/meta.json | 8 +++--- site/examples/general/rose/demo/rose.ts | 1 + site/examples/general/sunburst/demo/meta.json | 2 +- site/examples/general/text/demo/meta.json | 8 +++--- site/examples/general/vector/demo/meta.json | 4 +-- site/examples/general/venn/demo/meta.json | 4 +-- site/examples/general/violin/demo/meta.json | 6 ++-- .../general/violin/demo/violin-polar.ts | 1 + site/examples/general/violin/demo/violin.ts | 1 + site/examples/graph/network/demo/meta.json | 2 +- site/examples/intelligent/auto/demo/meta.json | 4 +-- .../interesting/interesting/demo/meta.json | 2 +- .../examples/renderer/renderer/demo/meta.json | 6 ++-- site/examples/style/rough/demo/meta.json | 6 ++-- site/examples/unit/unit/demo/meta.json | 10 +++---- 52 files changed, 161 insertions(+), 154 deletions(-) diff --git a/site/examples/analysis/bin/demo/meta.json b/site/examples/analysis/bin/demo/meta.json index 2a04b69084..52f3f1ca14 100644 --- a/site/examples/analysis/bin/demo/meta.json +++ b/site/examples/analysis/bin/demo/meta.json @@ -10,7 +10,7 @@ "zh": "直方图", "en": "Histogram" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*sE4kQYzbhS8AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WJFaSp1JLHQAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "binx-color.ts", @@ -18,7 +18,7 @@ "zh": "颜色分类直方图", "en": "Histogram with Color" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*sk8XRJTkuwYAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*l6NBRburGGcAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "bin-color.ts", @@ -34,7 +34,7 @@ "zh": "透明度分箱", "en": "Bin Opacity Channel" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*T_YISqIQuasAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*REZQSLd63dYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "bin-size.ts", @@ -42,7 +42,7 @@ "zh": "大小分箱", "en": "Bin Size Channel" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*CWRPSrX4bEcAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*OTA1TLuF-l4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "poisson.ts", @@ -50,7 +50,7 @@ "zh": "泊松分布", "en": "Poisson distribution" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JGWJSYvn8okAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1YpETqJXr9QAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/analysis/group/demo/meta.json b/site/examples/analysis/group/demo/meta.json index 4439a806e7..db521ecbcd 100644 --- a/site/examples/analysis/group/demo/meta.json +++ b/site/examples/analysis/group/demo/meta.json @@ -26,7 +26,7 @@ "zh": "聚合条形图", "en": "Aggregated Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*BhULSZiZisIAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ZMTCT50nmwcAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "bar-aggregated-stacked.ts", @@ -50,7 +50,7 @@ "zh": "一维聚合堆叠条形图", "en": "Aggregated Stacked Bar Chart, 1D" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*6CbxQ6P9bFcAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*dWoBQ7aVlcQAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "bar-multi-measure.ts", diff --git a/site/examples/analysis/regression/demo/meta.json b/site/examples/analysis/regression/demo/meta.json index dde8677a7b..275fa8edc2 100644 --- a/site/examples/analysis/regression/demo/meta.json +++ b/site/examples/analysis/regression/demo/meta.json @@ -10,7 +10,7 @@ "zh": "线性回归线", "en": "Linear Regression" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*svhHQLE2hFcAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*px9zQYKi5FsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "quadratic-regression.ts", @@ -18,7 +18,7 @@ "zh": "二项式回归线", "en": "Quadratic Regression" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_XyFSaCzQWIAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4C26SqNkoG8AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "exponential-regression.ts", @@ -26,7 +26,7 @@ "zh": "指数回归线", "en": "Exponential Regression" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*0X4NR4DrVw4AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*tPkpRqqP7rsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "logarithmic-regression.ts", @@ -34,7 +34,7 @@ "zh": "对数回归线", "en": "Logarithmic Regression" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*V0TJS6Npo2QAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*onhxRaj8iP0AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "polynomial-regression.ts", @@ -42,7 +42,7 @@ "zh": "多项式回归线", "en": "Polynomial Regression" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*PyI3SqUwQSoAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*SXUpRZiOlbIAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/annotation/connector/demo/meta.json b/site/examples/annotation/connector/demo/meta.json index 5c2aa3ef3e..1faec48f99 100644 --- a/site/examples/annotation/connector/demo/meta.json +++ b/site/examples/annotation/connector/demo/meta.json @@ -10,7 +10,7 @@ "zh": "链接线标记的瀑布图", "end": "Interval, Connector Annotation" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*-a9EQpzBTDMAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*9BOSQozPCx4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "revenue-flow-waterfall.ts", @@ -18,7 +18,7 @@ "zh": "线标记的瀑布图", "en": "Revenue Flow Waterfall Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*fG4DT7XWNzUAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*qRAFQqfcyygAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/annotation/line/demo/meta.json b/site/examples/annotation/line/demo/meta.json index 29b3ee863a..f59b3fd14e 100644 --- a/site/examples/annotation/line/demo/meta.json +++ b/site/examples/annotation/line/demo/meta.json @@ -10,7 +10,7 @@ "zh": "平均值线标注的直方图", "en": "Histogram, Annotation Mean Value with LineX" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*kuFOR5JKe3gAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*VJVAT7Rkx9MAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "interval-mean-line.ts", @@ -18,7 +18,7 @@ "zh": "平均值线标注的柱状图", "en": "Interval, Annotation Mean Value with LineY" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*kmcqRo4tfmcAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*BG5UTbE7gycAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "interval-threshold.ts", @@ -26,7 +26,7 @@ "zh": "突出超出阈值的柱状图", "en": "Interval, Highlight Values beyond a Threshold" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*xZ7dTLAW1uEAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-seGQa_dPyoAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-line.ts", @@ -58,7 +58,7 @@ "zh": "异动趋势图", "en": "Anomaly Trend Line, Area Annotation" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*nyVFQb9QBBkAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*DdeURpZKfwAAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/annotation/range/demo/meta.json b/site/examples/annotation/range/demo/meta.json index 255f57a59c..0280cedb34 100644 --- a/site/examples/annotation/range/demo/meta.json +++ b/site/examples/annotation/range/demo/meta.json @@ -10,7 +10,7 @@ "zh": "区域标记的散点图", "en": "Point, Range Annotation" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*55rRTr9NWXsAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*w1BBRYvJf_UAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-range.ts", @@ -18,7 +18,7 @@ "zh": "区间标注的折线图", "en": "Line, Range Annotation" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*dmYgTY3kxDoAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*OCgJSIpz7KMAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/annotation/shape/demo/interval-point.ts b/site/examples/annotation/shape/demo/interval-point.ts index cbe630a47c..11ec53577a 100644 --- a/site/examples/annotation/shape/demo/interval-point.ts +++ b/site/examples/annotation/shape/demo/interval-point.ts @@ -3,6 +3,7 @@ import { Chart } from '@antv/g2'; const chart = new Chart({ container: 'container', autoFit: true, + paddingRight: 30, }); chart.coordinate({ transform: [{ type: 'transpose' }] }); diff --git a/site/examples/annotation/shape/demo/meta.json b/site/examples/annotation/shape/demo/meta.json index bf72b018e6..d44d1152c6 100644 --- a/site/examples/annotation/shape/demo/meta.json +++ b/site/examples/annotation/shape/demo/meta.json @@ -10,7 +10,7 @@ "zh": "点标记的条形图", "en": "Interval, Point Annotation" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*wvDFSJTsnrwAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ypE2SbuV6kwAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-badge.ts", @@ -18,7 +18,7 @@ "zh": "徽章标记的折线图", "en": "Line, Badge Annotation" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*pgeoRLW4bEcAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*INjOS7ExVzYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "watermark.ts", @@ -26,7 +26,7 @@ "zh": "徽章水印", "en": "Watermark" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*aIpTRZ-_b9wAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*LA11Rqfk2Y4AAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/component/axis/demo/axis.ts b/site/examples/component/axis/demo/axis.ts index 129ce58b16..06dbcda2e5 100644 --- a/site/examples/component/axis/demo/axis.ts +++ b/site/examples/component/axis/demo/axis.ts @@ -72,7 +72,7 @@ function medal(ranking) { text, fill: 'gray', textAlign: 'center', - transform: `translate(0, 25)`, + transform: `translate(0, 35)`, }, }); diff --git a/site/examples/component/axis/demo/meta.json b/site/examples/component/axis/demo/meta.json index 2cbd92e4d2..8214ab9a0e 100644 --- a/site/examples/component/axis/demo/meta.json +++ b/site/examples/component/axis/demo/meta.json @@ -18,7 +18,7 @@ "zh": "x 和 y 方向坐标轴", "en": "AxisX and AxisY" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*CtPmSYjKyKAAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*84x4RKr1uA8AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "axis-polar.ts", @@ -26,7 +26,7 @@ "zh": "极坐标下坐标轴", "en": "Axis Polar" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*5KPvQoiA0XMAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*s_KgSKR6XeIAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "axis-multi.ts", @@ -34,7 +34,7 @@ "zh": "多坐标轴", "en": "Multi Axis" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*aQv5Q7WKx3UAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*aeDQQqTlA1sAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "axis.ts", @@ -42,7 +42,7 @@ "zh": "自定义坐标轴标签", "en": "Axis" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_nL3RJIScmcAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*NEbsT6qCFSEAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/component/label/demo/meta.json b/site/examples/component/label/demo/meta.json index edd82d64fe..bafced0b17 100644 --- a/site/examples/component/label/demo/meta.json +++ b/site/examples/component/label/demo/meta.json @@ -10,7 +10,7 @@ "zh": "数据标签碰撞隐藏", "en": "Overlap Hide" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*clZ2SbxuHloAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*d3PIQKO4qpoAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "overflowHide.ts", @@ -18,7 +18,7 @@ "zh": "数据标签超出隐藏", "en": "Overflow Hide" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*EMy1RqEBmm4AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*nBSvRaadPpYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "contrastReverse.ts", @@ -26,7 +26,7 @@ "zh": "数据标签颜色反转", "en": "Contrast Reverse" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*CUyIT4Bxx9wAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*uCijTZ64mdQAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "htmlLabel.ts", @@ -34,7 +34,7 @@ "zh": "HTML 标签", "en": "HTML Label" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*rUexRKH7czsAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*OMnRQ5IgftkAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/component/legend/demo/meta.json b/site/examples/component/legend/demo/meta.json index 2aea01c604..b2063e8537 100644 --- a/site/examples/component/legend/demo/meta.json +++ b/site/examples/component/legend/demo/meta.json @@ -10,7 +10,7 @@ "zh": "自定义图例标签", "en": "Category Legend" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*oB8RRYc9l2IAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*dd0oR5_JfToAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "continuous.ts", @@ -26,7 +26,7 @@ "zh": "自定义图例", "en": "Custom Legend" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*E7CSRo5RsZ8AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*mZFvTZtdBEUAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/component/scrollbar/demo/meta.json b/site/examples/component/scrollbar/demo/meta.json index 8134f64283..ac96b92772 100644 --- a/site/examples/component/scrollbar/demo/meta.json +++ b/site/examples/component/scrollbar/demo/meta.json @@ -10,7 +10,7 @@ "zh": "滚动条", "en": "Scrollbar" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ompnRpW0vycAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*SYeoT6E_CmMAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/composition/facet/demo/meta.json b/site/examples/composition/facet/demo/meta.json index b66fdbc01c..50f41c57b1 100644 --- a/site/examples/composition/facet/demo/meta.json +++ b/site/examples/composition/facet/demo/meta.json @@ -18,7 +18,7 @@ "zh": "列矩行分面", "en": "Col Facet Rect" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*HrOKSpDc7tYAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*21B-Qa-dWPMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "rect.ts", @@ -26,7 +26,7 @@ "zh": "矩行分面", "en": "Facet Rect" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*xDR0QKhMLHQAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*GwKzQ66lGqYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "rect-bar.ts", @@ -34,7 +34,7 @@ "zh": "日历条形图", "en": "Calendar Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*bsgVT78LDYoAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ZVOtQ4Bmir0AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "rect-pie.ts", @@ -42,7 +42,7 @@ "zh": "日历饼图", "en": "Calendar Pie Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*gB2OR63NPHIAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*USKZRKqpAvgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "circle.ts", @@ -50,7 +50,7 @@ "zh": "圆形分面", "en": "Facet Circle" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*Tsx5RJVrVtsAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*V61eQY0Qs4cAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "rect-frame.ts", diff --git a/site/examples/composition/repeat/demo/meta.json b/site/examples/composition/repeat/demo/meta.json index 717edf734e..1b61eeabbb 100644 --- a/site/examples/composition/repeat/demo/meta.json +++ b/site/examples/composition/repeat/demo/meta.json @@ -10,7 +10,7 @@ "zh": "列重复矩阵", "en": "Repeat Matrix, Col" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*MhTMTrLKT5UAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1vHlSIQnIqgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "matrix.ts", @@ -18,7 +18,7 @@ "zh": "重复矩阵", "en": "Repeat Matrix" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*We0gRJIdGYUAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*AT8rSbCrQJwAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/composition/space/demo/meta.json b/site/examples/composition/space/demo/meta.json index 8493adbf37..3676366870 100644 --- a/site/examples/composition/space/demo/meta.json +++ b/site/examples/composition/space/demo/meta.json @@ -10,7 +10,7 @@ "zh": "层叠容器", "en": "Space Layer" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*sS5PRrp_lj0AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*wlGJTKOP2L4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "space-flex.ts", @@ -18,7 +18,7 @@ "zh": "弹性容器", "en": "Space Flex" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*lLecQJkdPbIAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Cc53QaoWAQ0AAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/area/demo/area-difference.ts b/site/examples/general/area/demo/area-difference.ts index 2dddff5673..736c6519b6 100644 --- a/site/examples/general/area/demo/area-difference.ts +++ b/site/examples/general/area/demo/area-difference.ts @@ -26,8 +26,8 @@ chart .encode('x', (d) => new Date(d.date)) .encode('y', 'temperature') .encode('color', 'city') - .encode('shape', 'hvh') - .scale('color', { range: ['#67a9cf', '#ef8a62'] }); + .encode('shape', 'hvh'); +// .scale('color', { range: ['#67a9cf', '#ef8a62'] }); chart .line() diff --git a/site/examples/general/area/demo/meta.json b/site/examples/general/area/demo/meta.json index e91e5ac410..40f937f40a 100644 --- a/site/examples/general/area/demo/meta.json +++ b/site/examples/general/area/demo/meta.json @@ -10,7 +10,7 @@ "zh": "阶梯面积图", "en": "Step Area Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*NRD9RKPyOEsAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*v20yQZopRV4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "area.ts", @@ -18,7 +18,7 @@ "zh": "面积图", "en": "Area Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ZxtyTrhyN4sAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WkMRSKoc57UAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "missing-data-area.ts", @@ -26,7 +26,7 @@ "zh": "数据缺失面积图", "en": "Missing Data Area Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ns2sS5S_VEAAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ox-rS7bQE48AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "area-gradient.ts", @@ -34,7 +34,7 @@ "zh": "渐变色面积图", "en": "Gradient Area Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*VasvRpYGSLYAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*43MGTK5z-KgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "stacked-area.ts", @@ -42,7 +42,7 @@ "zh": "堆叠面积图", "en": "Stacked Area Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*O3TaRpybBCgAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Cla-RK74-GgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "orderly-area.ts", @@ -50,7 +50,7 @@ "zh": "彩条图", "en": "Stripe Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*HZ1BR6GS6U4AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-NZbR5vNY28AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "streamgraph.ts", @@ -58,15 +58,15 @@ "zh": "河流图", "en": "Streamgraph" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Vf-FQZH-5FMAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*LeTWR4RrSjoAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "percentage-area.ts", "title": { - "zh": "归一化堆积面积图", + "zh": "归一化堆叠面积图", "en": "Normalized Area, MaxIndex" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WZe_T5tyWgoAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Pp6-RJMKJFUAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "cascade-area.ts", @@ -74,7 +74,7 @@ "zh": "出现顺序堆叠面积图", "en": "Stacked Area" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*3JKERLor91gAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Pgc7Q4K0cFwAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "label.ts", @@ -82,7 +82,7 @@ "zh": "面积图特殊标签", "en": "Area Label" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ZIamS4KwErEAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*IE5nQIEJOnsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "area-difference.ts", @@ -90,7 +90,7 @@ "zh": "差分面积图", "en": "Area Difference" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*CJn4T4_Rf98AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*9jOYSrMpSe4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "area-band.ts", @@ -98,7 +98,7 @@ "zh": "板子图", "en": "Band Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*2ocsR71h_CIAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2fXdTp9E-uwAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "range-spline-area.ts", @@ -106,7 +106,7 @@ "zh": "区间曲线面积图", "en": "Range Spline Area Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*oLjrRb6l8CAAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ln0-RKKu520AAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/box/demo/meta.json b/site/examples/general/box/demo/meta.json index 7ea4213468..9c694caa8b 100644 --- a/site/examples/general/box/demo/meta.json +++ b/site/examples/general/box/demo/meta.json @@ -10,7 +10,7 @@ "zh": "预处理箱线图", "en": "Boxplot" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*pU-NQa1PgxQAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*fykJSJFMPtQAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "grouped-box.ts", @@ -18,7 +18,7 @@ "zh": "预处理分组箱线图", "en": "Grouped Boxplot" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*5E47Qa9nQaQAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*CqOoTa4Y4GAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "boxplot.ts", @@ -26,7 +26,7 @@ "zh": "无异常点箱线图", "en": "Boxplot" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*xoCiQYXmOewAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yuoXSJhQol0AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "boxplot-outlier.ts", @@ -34,7 +34,7 @@ "zh": "带异常点箱线图", "en": "Boxplot with Outlier" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yeZuSY9YIEAAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*PxD1QZ8xRsIAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "grouped-boxplot-outlier.ts", @@ -42,7 +42,7 @@ "zh": "带异常点分组箱线图", "en": "grouped Boxplot with Outlier" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ex7XR4hQTOYAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*jHAhR5NH2OQAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "boxplot-1d.ts", @@ -50,7 +50,7 @@ "zh": "一维箱线图", "en": "Boxplot 1d" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ZOhpRaAAFpkAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*DsE6S4ZS-68AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "polar-box.ts", @@ -58,7 +58,7 @@ "zh": "径向箱线图", "en": "Polar Boxplot" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*cCMOQ7YsuFkAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*H3feTr-k4XQAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/cell/demo/meta.json b/site/examples/general/cell/demo/meta.json index afda67b97b..4d725574aa 100644 --- a/site/examples/general/cell/demo/meta.json +++ b/site/examples/general/cell/demo/meta.json @@ -10,7 +10,7 @@ "zh": "华夫饼图", "en": "Waffle" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*kaRCT7ik6rkAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*F8DLSYJAyKQAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "cell-heatmap.ts", diff --git a/site/examples/general/dual/demo/meta.json b/site/examples/general/dual/demo/meta.json index fed671c7be..1b9dbf50ab 100644 --- a/site/examples/general/dual/demo/meta.json +++ b/site/examples/general/dual/demo/meta.json @@ -10,7 +10,7 @@ "zh": " 柱线混合", "en": "Line Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*GLvKQbqMjTQAAAAAAAAAAAAADmJ7AQ/fmt.webp" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*A-m1SKg_JAAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "multi-line.ts", @@ -34,7 +34,7 @@ "zh": "帕累托图", "en": "Pareto Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*COKsS6s75kYAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*dy4HQ7kqYd0AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "dual-axis-bar.ts", @@ -42,7 +42,7 @@ "zh": "双轴条形图", "en": "Dual Axis Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*gZCnTpDcG_UAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WW9wRaGxuDAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "dual-axis-line-bar.ts", @@ -50,7 +50,7 @@ "zh": "双轴折线条形图", "en": "Dual Axis Line Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*xyKZRYhgvMMAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*FVRbQ7jbi0oAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "dual-axis-multi-line-bar.ts", @@ -58,7 +58,7 @@ "zh": "双轴多折线条形图", "en": "Dual Axis Multiple Line Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*xyXJRIAxTKgAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*gER1QbKH7IIAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "dual-axis-stacked-group-bar.ts", @@ -66,7 +66,7 @@ "zh": "双轴堆叠分组条形图", "en": "Dual Axis Stacked Group Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*O-pVR7pt2DkAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*lfupS49PdxAAAAAAAAAAAAAADmJ7AQ/original" } ] } \ No newline at end of file diff --git a/site/examples/general/funnel/demo/meta.json b/site/examples/general/funnel/demo/meta.json index e49780d980..9a9e2aad68 100644 --- a/site/examples/general/funnel/demo/meta.json +++ b/site/examples/general/funnel/demo/meta.json @@ -10,7 +10,7 @@ "zh": "漏斗图", "en": "Funnel" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*6syuS6eMD1AAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*9GDLQpMor0oAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "pyramid.ts", @@ -18,7 +18,7 @@ "zh": "金字塔图", "en": "Pyramid" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*8SagQbsQk6gAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*VpuRSZGqnlUAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "mirror-funnel.ts", @@ -34,7 +34,7 @@ "zh": "转化漏斗图", "en": "Annotation Funnel" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*FBnwRpqn-YEAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*P_kASqVFAzoAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/funnel/demo/pyramid.ts b/site/examples/general/funnel/demo/pyramid.ts index 00d8c2d54e..96648cd354 100644 --- a/site/examples/general/funnel/demo/pyramid.ts +++ b/site/examples/general/funnel/demo/pyramid.ts @@ -11,6 +11,7 @@ const data = [ const chart = new Chart({ container: 'container', autoFit: true, + paddingRight: 80, }); chart.coordinate({ diff --git a/site/examples/general/gauge/demo/meta.json b/site/examples/general/gauge/demo/meta.json index 1adfe72682..e364babcb5 100644 --- a/site/examples/general/gauge/demo/meta.json +++ b/site/examples/general/gauge/demo/meta.json @@ -18,7 +18,7 @@ "zh": "自定义仪表盘颜色", "en": "Custom Color Gauge Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*VSrGTYrM954AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*vE7cR6ZHHk0AAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/image/demo/meta.json b/site/examples/general/image/demo/meta.json index d05d5a7af1..6e59887abb 100644 --- a/site/examples/general/image/demo/meta.json +++ b/site/examples/general/image/demo/meta.json @@ -10,7 +10,7 @@ "zh": "浏览器图标", "en": "Browser Logo" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*fLQ2R4lOY3IAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*R8TRQJMrQ-AAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "icon.ts", @@ -18,7 +18,7 @@ "zh": " 图标标记", "en": "Icon symbol" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*RPR_S4n3dtAAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*CKmISLNs5FAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "contributor.ts", diff --git a/site/examples/general/line/demo/line-sample.ts b/site/examples/general/line/demo/line-sample.ts index 30d9e6ba98..5f190f5c99 100644 --- a/site/examples/general/line/demo/line-sample.ts +++ b/site/examples/general/line/demo/line-sample.ts @@ -19,7 +19,7 @@ chart .encode('y', 'close') .transform({ type: 'sample', - thresholds: 500, + thresholds: 200, strategy: 'max', }); diff --git a/site/examples/general/line/demo/line-series.ts b/site/examples/general/line/demo/line-series.ts index 88c3b73432..95de842324 100644 --- a/site/examples/general/line/demo/line-series.ts +++ b/site/examples/general/line/demo/line-series.ts @@ -17,8 +17,7 @@ chart }) .encode('x', 'date') .encode('y', 'unemployment') - .encode('series', 'division') - .encode('color', 'steelblue'); + .encode('series', 'division'); chart.interaction('tooltip', { filter: (d, i) => i < 10 }); diff --git a/site/examples/general/line/demo/meta.json b/site/examples/general/line/demo/meta.json index 210c620d91..1735e510ef 100644 --- a/site/examples/general/line/demo/meta.json +++ b/site/examples/general/line/demo/meta.json @@ -10,7 +10,7 @@ "zh": "普通折线图", "en": "Basic Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*jTdCR7wVFZAAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*37vSSJwbSnwAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-sample.ts", @@ -18,7 +18,7 @@ "zh": "数据样本折线图", "en": "Sample Data Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*AoLUS4D86LwAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*68ViRIex2JEAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-connect-nulls.ts", @@ -26,7 +26,7 @@ "zh": "缺失折线图", "en": "Missing Data Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*46DiTJLA2t8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ASKfTqMVdkgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-series.ts", @@ -34,7 +34,7 @@ "zh": "系列折线图", "en": "Series Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*y84BS5AqJLYAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*YBR5RIcf97UAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-normalized.ts", @@ -42,7 +42,7 @@ "zh": "归一化折线图", "en": "Normalized Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*MzXYRqHjHQEAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WV2nRotltk4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-aggregated-label.ts", @@ -50,7 +50,7 @@ "zh": "聚合折线图", "en": "Aggregated Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*-q4yQZ7WtDcAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Ti6mSZ8nHjYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-var-size.ts", @@ -58,7 +58,7 @@ "zh": "变宽折线图", "en": "Var Size Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*pWrERLZIMyQAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*rjwSS4BTu3MAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-var-size-missing.ts", @@ -66,7 +66,7 @@ "zh": "缺失变宽折线图", "en": "Missing Var Size Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*haZaQaG0tBgAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*X9vfS6o9FqMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-var-size-facet.ts", @@ -74,7 +74,7 @@ "zh": "轨迹图", "en": "Trail" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yI3VRr4tw44AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*lzESSbCPw2IAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-variable-color.ts", @@ -82,7 +82,7 @@ "zh": "多色折线图", "en": "Variable Color Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*WVwSRa-HQAcAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*DKdDRrsfZywAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-gradient-encoding.ts", @@ -90,7 +90,7 @@ "zh": "颜色编码折线图", "en": "Gradient Encoding Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*OwgcQoNg8m8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*t-GpRLtoipsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-series-var-color.ts", @@ -98,7 +98,7 @@ "zh": "系列颜色编码折线图", "en": "Series Variable Color Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*EGMKRJE1kyYAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*B8sNSrK7-lsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-threshold.ts", @@ -106,7 +106,7 @@ "zh": "阈值折线图", "en": "Threshold Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*YUrlS4AWYFkAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*rHYnQ5-S6twAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "line-slope.ts", @@ -114,7 +114,7 @@ "zh": "斜率图", "en": "Slope Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*zrqfRKBLvAsAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*RF2PTL6KNIQAAAAAAAAAAAAADmJ7AQ/original" } ] } \ No newline at end of file diff --git a/site/examples/general/link/demo/link-annotation.ts b/site/examples/general/link/demo/link-annotation.ts index 354e059070..59ffb08ee4 100644 --- a/site/examples/general/link/demo/link-annotation.ts +++ b/site/examples/general/link/demo/link-annotation.ts @@ -314,6 +314,7 @@ const incdomain = (() => { const chart = new Chart({ container: 'container', autoFit: true, + paddingRight: 20, }); chart diff --git a/site/examples/general/link/demo/meta.json b/site/examples/general/link/demo/meta.json index 35c05e480b..02daaeed23 100644 --- a/site/examples/general/link/demo/meta.json +++ b/site/examples/general/link/demo/meta.json @@ -10,7 +10,7 @@ "zh": "箭线", "en": "Link Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*tAvnRKK-8KcAAAAAAAAAAAAADmJ7AQ/fmt.webp" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*fjoBSKcG2lMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "link-annotation.ts", @@ -18,7 +18,7 @@ "zh": "Link 辅助线", "en": "Link Annotation" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*UQTKTaVEZTsAAAAAAAAAAAAADmJ7AQ/fmt.webp" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*b6WrQ4PYPCoAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/mini/demo/meta.json b/site/examples/general/mini/demo/meta.json index c80f580b3d..9c21d13ada 100644 --- a/site/examples/general/mini/demo/meta.json +++ b/site/examples/general/mini/demo/meta.json @@ -10,7 +10,7 @@ "zh": "迷你折线图", "en": "Mini line" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*7mspQrtT-VYAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*oIAqSKbh60cAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "area.ts", @@ -34,7 +34,7 @@ "zh": "迷你饼图", "en": "Mini pie" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ry-9RLpnNbAAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Y4-MR51q9sEAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "progress.ts", diff --git a/site/examples/general/pie/demo/meta.json b/site/examples/general/pie/demo/meta.json index 5e83ce455d..7f2e94cdc9 100644 --- a/site/examples/general/pie/demo/meta.json +++ b/site/examples/general/pie/demo/meta.json @@ -10,7 +10,7 @@ "zh": "饼图", "en": "Pie Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*uQh-RryfSfUAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*xuKWQoLfxjwAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "pie-donut-text.ts", @@ -18,7 +18,7 @@ "zh": "饼图, 中心文本", "en": "Pie Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*vQQgQ4d11egAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ce-SSKsG36EAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "donut.ts", @@ -26,7 +26,7 @@ "zh": "甜甜圈图", "en": "Donut Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*wu8VQIWJJ50AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*LUQlSaccoLcAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "spider-label.ts", @@ -42,7 +42,7 @@ "zh": "径向扰动散点图", "en": "Radial Jitter Scatter" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*eJQYQZQ_HZQAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*DziRQb4LMbAAAAAAAAAAAAAADmJ7AQ/original" } ] } \ No newline at end of file diff --git a/site/examples/general/point/demo/meta.json b/site/examples/general/point/demo/meta.json index 72625fc5b3..f13ebebcca 100644 --- a/site/examples/general/point/demo/meta.json +++ b/site/examples/general/point/demo/meta.json @@ -10,7 +10,7 @@ "zh": "散点图", "en": "Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*u5aGSoyRDN8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-NYwTrAdwZ4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-one-dimension.ts", @@ -18,7 +18,7 @@ "zh": "一维散点图", "en": "One Dimension Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*SCXXQYObM_AAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*GeijRY75QHgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-strip.ts", @@ -26,7 +26,7 @@ "zh": "带子散点图", "en": "Strip Plot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*pCUiTouHSbYAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*0E-aSpAPPtwAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-label.ts", @@ -34,7 +34,7 @@ "zh": "标签散点图", "en": "Scatterplot, Labeled" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*m7HITJRLnu8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*j_DBRKze77QAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-shape.ts", @@ -42,7 +42,7 @@ "zh": "多形状散点图", "en": "Multi-Shape Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*eZdTSrbFVdgAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*SdKuRYFVCOIAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-sequential.ts", @@ -50,7 +50,7 @@ "zh": "渐变色散点图", "en": "Gradient Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*A1N1SbupvX8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*20fLR5dh4SYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-jitter.ts", @@ -58,7 +58,7 @@ "zh": "扰动散点图", "en": "Jitter Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*0BaMRpu8tN8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*34m0QZPUjxMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-stacked.ts", @@ -66,7 +66,7 @@ "zh": "堆叠散点图", "en": "Stacked Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*f26KS6m_fHgAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*extpT4E09xUAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-bubble.ts", @@ -74,7 +74,7 @@ "zh": "气泡图", "en": "Bubble Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*TE7xQLXpdUUAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*z8JFRLxrs_IAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-log.ts", @@ -82,7 +82,7 @@ "zh": "对数气泡图", "en": "Log Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*T8Y-T5BlUTgAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*mezjR7Iy-TYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-aggregated.ts", @@ -90,7 +90,7 @@ "zh": "聚合气泡图", "en": "Aggregated Bubble Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*49cUTYAB3HcAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*trHIR7xKaAcAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-dot.ts", @@ -98,7 +98,7 @@ "zh": "点图", "en": "Dot Plot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*RtalTb-DPdkAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*rhhlRLxuUYYAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/point/demo/point-bubble.ts b/site/examples/general/point/demo/point-bubble.ts index 0dbff02752..79f937d253 100644 --- a/site/examples/general/point/demo/point-bubble.ts +++ b/site/examples/general/point/demo/point-bubble.ts @@ -29,8 +29,11 @@ chart .encode('shape', 'point') .scale('size', { rangeMax: 35 }) .legend(false) - .style('stroke', 'black') - .style('opacity', 0.8) - .style('lineWidth', 1); + .style({ + stroke: 'black', + strokeOpacity: 0.1, + opacity: 0.8, + lineWidth: 1, + }); chart.render(); diff --git a/site/examples/general/point/demo/point-label.ts b/site/examples/general/point/demo/point-label.ts index e51a6c4986..2f59155ca9 100644 --- a/site/examples/general/point/demo/point-label.ts +++ b/site/examples/general/point/demo/point-label.ts @@ -19,7 +19,6 @@ chart .scale('y', { nice: true }) .encode('x', 'mpg') .encode('y', 'hp') - .encode('color', 'steelblue') .label({ text: 'name', stroke: '#fff', diff --git a/site/examples/general/radar/demo/meta.json b/site/examples/general/radar/demo/meta.json index 0af62bf8d6..0872922f6a 100644 --- a/site/examples/general/radar/demo/meta.json +++ b/site/examples/general/radar/demo/meta.json @@ -10,7 +10,7 @@ "zh": "雷达图", "en": "Radar" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-xcxS7E8sKcAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*QQSXQ5XnZJMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "parallel-radar.ts", diff --git a/site/examples/general/radial/demo/meta.json b/site/examples/general/radial/demo/meta.json index a9dbada4a9..2048702af0 100644 --- a/site/examples/general/radial/demo/meta.json +++ b/site/examples/general/radial/demo/meta.json @@ -18,7 +18,7 @@ "zh": "圆角玉珏图", "en": "Cornered Radial Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*1EwTTZgCazgAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Xd0Sq0iq7gAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "apple-activity.ts", diff --git a/site/examples/general/rose/demo/meta.json b/site/examples/general/rose/demo/meta.json index 922ea48417..06df7c05d0 100644 --- a/site/examples/general/rose/demo/meta.json +++ b/site/examples/general/rose/demo/meta.json @@ -10,15 +10,15 @@ "zh": "玫瑰图", "en": "Rose Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_DeKSr3oN5sAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Trl1TqdieqIAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "stacked-rose.ts", "title": { - "zh": "堆积玫瑰图", + "zh": "堆叠玫瑰图", "en": "Stacked Rose Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Lv1oT5JCtrMAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*W9NLQriv7w0AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "rose-label.ts", @@ -26,7 +26,7 @@ "zh": "玫瑰图标签", "en": "Rose Chart, Label" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Cx8zT7vT5bUAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*rS9YT4GTFLgAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/rose/demo/rose.ts b/site/examples/general/rose/demo/rose.ts index f4aee6cc93..52f2d75177 100644 --- a/site/examples/general/rose/demo/rose.ts +++ b/site/examples/general/rose/demo/rose.ts @@ -20,6 +20,7 @@ chart .encode('y', 'people') .scale('y', { type: 'sqrt' }) .axis('y', { + titleSpacing: 28, labelFormatter: '~s', tickCount: 5, tickFilter: (d, i) => i !== 0, diff --git a/site/examples/general/sunburst/demo/meta.json b/site/examples/general/sunburst/demo/meta.json index f823fe8732..889f9967c5 100644 --- a/site/examples/general/sunburst/demo/meta.json +++ b/site/examples/general/sunburst/demo/meta.json @@ -10,7 +10,7 @@ "zh": "旭日图", "en": "Sunburst Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-aInRJfa4-8AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Wk2MRYp8VO4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "sunburst-label.ts", diff --git a/site/examples/general/text/demo/meta.json b/site/examples/general/text/demo/meta.json index bca892c377..cd10ae7b79 100644 --- a/site/examples/general/text/demo/meta.json +++ b/site/examples/general/text/demo/meta.json @@ -10,7 +10,7 @@ "zh": "文本段落", "en": "Paragraph" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*0wgoQrNVRR0AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*W9TRQJd7BbsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "poetry.ts", @@ -18,7 +18,7 @@ "zh": "诗词可视化", "en": "Poetry" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*nK-ESIbQ460AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*hKf9TbJEeooAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "train.ts", @@ -34,7 +34,7 @@ "zh": "词云图", "en": "WordCloud" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2uvpTI0lHiYAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*0xE1T7W2Oq4AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "wordCloud-mask.ts", @@ -42,7 +42,7 @@ "zh": "带图片遮罩的词云图", "en": "WordCloud with image mask" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*zDm0SJEQSHwAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*P6MoSriYWhkAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/vector/demo/meta.json b/site/examples/general/vector/demo/meta.json index d6cf4c15cb..affbbc2a12 100644 --- a/site/examples/general/vector/demo/meta.json +++ b/site/examples/general/vector/demo/meta.json @@ -10,7 +10,7 @@ "zh": "风向量场", "en": "Wind Vector" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*6fDIT50ZKnEAAAAAAAAAAAAADmJ7AQ/fmt.webp" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1LQ2Sbpwl6YAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "poisson.ts", @@ -18,7 +18,7 @@ "zh": "珀林噪声场", "en": "Perlin noise" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*G0iXRLFFYq0AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*uZwwQLVg1yYAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/venn/demo/meta.json b/site/examples/general/venn/demo/meta.json index ec317e7e7f..431d78dbbc 100644 --- a/site/examples/general/venn/demo/meta.json +++ b/site/examples/general/venn/demo/meta.json @@ -10,7 +10,7 @@ "zh": "韦恩图", "en": "Venn Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*IZT9TJ3eVpwAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*uJF2T7anbQUAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "venn-hollow.ts", @@ -18,7 +18,7 @@ "zh": "空心韦恩图", "en": "Hollow Venn" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*5XyrQppBM9YAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*lAPPSaOWGXYAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/violin/demo/meta.json b/site/examples/general/violin/demo/meta.json index c288077b36..8d7b71ed12 100644 --- a/site/examples/general/violin/demo/meta.json +++ b/site/examples/general/violin/demo/meta.json @@ -10,7 +10,7 @@ "zh": "和密度图", "en": "Density with KDE" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*6UzJT77QRiIAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-EcIQ7sKufsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "violin.ts", @@ -18,7 +18,7 @@ "zh": "小提琴图", "en": "Violin" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*S6O8QqpcRPMAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*QXpmQaR71yYAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "violin-polar.ts", @@ -26,7 +26,7 @@ "zh": "极坐标小提琴图", "en": "Violin in polar" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*NNTzRYKREMUAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*r027Q4SUC3kAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/general/violin/demo/violin-polar.ts b/site/examples/general/violin/demo/violin-polar.ts index 4a9f1d024d..4eace8e131 100644 --- a/site/examples/general/violin/demo/violin-polar.ts +++ b/site/examples/general/violin/demo/violin-polar.ts @@ -40,6 +40,7 @@ chart .encode('color', 'species') .encode('shape', 'violin') .style('opacity', 0.5) + .style('strokeOpacity', 0.5) .style('point', false); chart.render(); diff --git a/site/examples/general/violin/demo/violin.ts b/site/examples/general/violin/demo/violin.ts index 5baa5c1569..e08a7a9428 100644 --- a/site/examples/general/violin/demo/violin.ts +++ b/site/examples/general/violin/demo/violin.ts @@ -36,6 +36,7 @@ chart .encode('color', 'species') .encode('shape', 'violin') .style('opacity', 0.5) + .style('strokeOpacity', 0.5) .style('point', false); chart.render(); diff --git a/site/examples/graph/network/demo/meta.json b/site/examples/graph/network/demo/meta.json index 262b20d7a2..68145970e6 100644 --- a/site/examples/graph/network/demo/meta.json +++ b/site/examples/graph/network/demo/meta.json @@ -18,7 +18,7 @@ "zh": "弦图", "en": "Chord" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*x6h_RZR7r0QAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*AwKoTakLlHAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "forceGraph.ts", diff --git a/site/examples/intelligent/auto/demo/meta.json b/site/examples/intelligent/auto/demo/meta.json index 27c5c6a3b4..a5fe565a01 100644 --- a/site/examples/intelligent/auto/demo/meta.json +++ b/site/examples/intelligent/auto/demo/meta.json @@ -26,7 +26,7 @@ "zh": "自动可视化 - 柱形图", "en": "Auto Chart - Interval" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*b9scTrte3K8AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*hJtlRIGnjpsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "auto-line.ts", @@ -34,7 +34,7 @@ "zh": "自动可视化 - 折线图", "en": "Auto Chart - Line " }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*C8oFSJpVFDUAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*n12qQJ6JmMgAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/interesting/interesting/demo/meta.json b/site/examples/interesting/interesting/demo/meta.json index f76880caf4..0b08660b16 100644 --- a/site/examples/interesting/interesting/demo/meta.json +++ b/site/examples/interesting/interesting/demo/meta.json @@ -10,7 +10,7 @@ "zh": "花瓣图", "en": "Petal Chart" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4eB8TIjkbkAAAAAAAAAAAAAADmJ7AQ/fmt.webp" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*kIJxRbm2HTIAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "messi.ts", diff --git a/site/examples/renderer/renderer/demo/meta.json b/site/examples/renderer/renderer/demo/meta.json index f1ed7ca078..134aaf63da 100644 --- a/site/examples/renderer/renderer/demo/meta.json +++ b/site/examples/renderer/renderer/demo/meta.json @@ -10,7 +10,7 @@ "zh": "Canvas 渲染器", "en": "Canvas Renderer" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WUZgSL9cWnEAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*vai7QIfDI_AAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "svg.ts", @@ -18,7 +18,7 @@ "zh": "SVG 渲染器", "en": "SVG Renderer" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WUZgSL9cWnEAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ZJB1TZ0REDAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "webgl.ts", @@ -26,7 +26,7 @@ "zh": "WebGL 渲染器", "en": "WebGL Renderer" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*WUZgSL9cWnEAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*l504TZE8laUAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/style/rough/demo/meta.json b/site/examples/style/rough/demo/meta.json index ac43a46a6a..233666fb82 100644 --- a/site/examples/style/rough/demo/meta.json +++ b/site/examples/style/rough/demo/meta.json @@ -10,7 +10,7 @@ "zh": "手绘折线图", "en": "Sketchy Line Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*erkgSbo9OdMAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*rWRtR4hZCAAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point.ts", @@ -18,7 +18,7 @@ "zh": "手绘散点图", "en": "Sketchy Scatterplot" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*lm6wQITH9YEAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*TZKwSI7nJXEAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "interval.ts", @@ -26,7 +26,7 @@ "zh": "手绘条形图", "en": "Sketchy Bar Chart" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*-A5CR4gpOX8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*FYCJSaa_NBMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "radial.ts", diff --git a/site/examples/unit/unit/demo/meta.json b/site/examples/unit/unit/demo/meta.json index a585b392d6..50a21e7590 100644 --- a/site/examples/unit/unit/demo/meta.json +++ b/site/examples/unit/unit/demo/meta.json @@ -10,7 +10,7 @@ "zh": "基础", "en": "Basic" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*1r3YQYebrW8AAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*TZmeQqK7CZwAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "share-size.ts", @@ -18,7 +18,7 @@ "zh": "共享尺寸定义域", "en": "Share Size" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*l_XxTJEYVjEAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*QQIBRrgnC10AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "share-data.ts", @@ -26,7 +26,7 @@ "zh": "共享数据定义域", "en": "Share Data" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*jOjNTaleRVcAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Xqf_TLXa4IAAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "2d.ts", @@ -34,7 +34,7 @@ "zh": "二维", "en": "2D" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*LsMJTrDb-wgAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JLcrS5ftzXoAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "nested.ts", @@ -42,7 +42,7 @@ "zh": "嵌套", "en": "Nested" }, - "screenshot": "https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*TKf1TrmsZ6AAAAAAAAAAAAAADmJ7AQ" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*F2_7T4keuwgAAAAAAAAAAAAADmJ7AQ/original" } ] } From 678343ee361b5cedeb79eac6789f066022b04a1b Mon Sep 17 00:00:00 2001 From: wb-xcf804241 Date: Fri, 8 Dec 2023 14:54:20 +0800 Subject: [PATCH 2/2] docs: add examples new images --- site/examples/algorithm/sort/demo/meta.json | 6 +++--- site/examples/animation/general/demo/meta.json | 12 ++++++------ site/examples/animation/group/demo/meta.json | 8 ++++---- site/examples/component/tooltip/demo/meta.json | 10 +++++----- site/examples/interaction/brush/demo/brush.ts | 3 ++- site/examples/interaction/brush/demo/meta.json | 2 +- site/examples/interaction/component/demo/meta.json | 2 +- site/examples/interaction/multi-view/demo/meta.json | 2 +- site/examples/interaction/other/demo/meta.json | 4 ++-- .../storytelling/storytelling/demo/meta.json | 8 ++++---- 10 files changed, 29 insertions(+), 28 deletions(-) diff --git a/site/examples/algorithm/sort/demo/meta.json b/site/examples/algorithm/sort/demo/meta.json index 189e4c48e7..2dfaaa72ee 100644 --- a/site/examples/algorithm/sort/demo/meta.json +++ b/site/examples/algorithm/sort/demo/meta.json @@ -10,7 +10,7 @@ "zh": "冒泡排序", "en": "Bubble Sort" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*b5Q8R6DHJZMAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*lSdRQZt-_BsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "selection-sort.ts", @@ -18,7 +18,7 @@ "zh": "选择排序", "en": "Selection Sort" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*vLkWQLJInTIAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*STlaRaqEa6MAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "insertion-sort.ts", @@ -26,7 +26,7 @@ "zh": "插入排序", "en": "Insertion Sort" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*EYwETpVBlA0AAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*MbFLR46PNEcAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/animation/general/demo/meta.json b/site/examples/animation/general/demo/meta.json index 8d45b9a6b0..46689373fa 100644 --- a/site/examples/animation/general/demo/meta.json +++ b/site/examples/animation/general/demo/meta.json @@ -10,7 +10,7 @@ "zh": "PathIn", "en": "PathIn" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1668167705967/pathIn.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*uq_2SL14wgQAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "fade.ts", @@ -18,7 +18,7 @@ "zh": "FadeIn", "en": "FadeIn" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1667976930984/fadeIn.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*lW80R5AYDfEAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "scale-x.ts", @@ -26,7 +26,7 @@ "zh": "ScaleInX", "en": "ScaleInX" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1667976930984/scaleInX.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4j9URodi54MAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "scale-y.ts", @@ -34,7 +34,7 @@ "zh": "ScaleInY", "en": "ScaleInY" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1667976930984/scaleInY.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*u5QxT7pZD68AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "wave-in.ts", @@ -42,7 +42,7 @@ "zh": "WaveIn", "en": "WaveIn" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1667976930984/waveIn.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*xL5hQ5TCR4cAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "zoom-in.ts", @@ -50,7 +50,7 @@ "zh": "ZoomIn", "en": "ZoomIn" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1667976930984/zoomIn.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*OE0wRJhaM3cAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/animation/group/demo/meta.json b/site/examples/animation/group/demo/meta.json index 8a961301b1..3175591daa 100644 --- a/site/examples/animation/group/demo/meta.json +++ b/site/examples/animation/group/demo/meta.json @@ -10,7 +10,7 @@ "zh": "折线图动画", "en": "Line with Animation" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1668858139680/line-animation.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*dxClRrq57JMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "interval.ts", @@ -18,7 +18,7 @@ "zh": "柱形图动画", "en": "Column with Animation" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1668858139680/interval-animation.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*3xCLRLNfv7EAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "interval-polar.ts", @@ -26,7 +26,7 @@ "zh": "玫瑰图动画", "en": "Animation in Polar" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1668858320153/interval-polar-animation.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*dG5TQ6IDBN0AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "area.ts", @@ -34,7 +34,7 @@ "zh": "面积图动画", "en": "Area with Animation" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1668858139680/area-animation.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*sh4JSao3tVgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point.ts", diff --git a/site/examples/component/tooltip/demo/meta.json b/site/examples/component/tooltip/demo/meta.json index ff03a4c0c8..5b52dd56aa 100644 --- a/site/examples/component/tooltip/demo/meta.json +++ b/site/examples/component/tooltip/demo/meta.json @@ -10,7 +10,7 @@ "zh": "提示", "en": "Tooltip" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669041818314/tooltip1d.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1ipfQ7p3x3wAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "tooltip2d.ts", @@ -18,7 +18,7 @@ "zh": "多维度提示", "en": "Tooltip 2D" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669041837078/tooltip2d.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Zz3WSoLucjsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "tooltip-series.ts", @@ -26,7 +26,7 @@ "zh": "系列提示", "en": "Tooltip Series" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669041851542/series.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_-nwR4i4dmoAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "tooltip-custom.ts", @@ -34,7 +34,7 @@ "zh": "自定义提示", "en": "Custom Tooltip" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669041870958/custom.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*tELLRr-YVa8AAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "tooltip-render.ts", @@ -50,7 +50,7 @@ "zh": "点击提示", "en": "Click Tooltip" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4YDhQZN5FogAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*OZz0RZle0tsAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "tooltip-style.ts", diff --git a/site/examples/interaction/brush/demo/brush.ts b/site/examples/interaction/brush/demo/brush.ts index e4465c164b..6e2dcf806f 100644 --- a/site/examples/interaction/brush/demo/brush.ts +++ b/site/examples/interaction/brush/demo/brush.ts @@ -16,7 +16,8 @@ chart .encode('color', 'gender') .encode('shape', 'point') .style({ - fillOpacity: 0.7, + fillOpacity: 0.2, + lineWidth: 1, transform: 'scale(1, 1)', transformOrigin: 'center center', }) diff --git a/site/examples/interaction/brush/demo/meta.json b/site/examples/interaction/brush/demo/meta.json index abf597f7c7..eabcf1af67 100644 --- a/site/examples/interaction/brush/demo/meta.json +++ b/site/examples/interaction/brush/demo/meta.json @@ -18,7 +18,7 @@ "zh": "刷选事件", "en": "Brush" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*CpEHQ52tUfkAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*kWbhQKMQp9wAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/interaction/component/demo/meta.json b/site/examples/interaction/component/demo/meta.json index 5f84141737..0f8a503a04 100644 --- a/site/examples/interaction/component/demo/meta.json +++ b/site/examples/interaction/component/demo/meta.json @@ -10,7 +10,7 @@ "zh": "图例", "en": "Legend" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*MFXURoAPyocAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*bxrsS55V3Y4AAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/interaction/multi-view/demo/meta.json b/site/examples/interaction/multi-view/demo/meta.json index 3c0444c580..ba803dd012 100644 --- a/site/examples/interaction/multi-view/demo/meta.json +++ b/site/examples/interaction/multi-view/demo/meta.json @@ -10,7 +10,7 @@ "zh": "图表联动", "en": "Focus and Context" }, - "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*zQRoSI_fW4MAAAAAAAAAAAAADmJ7AQ/original" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*IwNsRKKyMlgAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/interaction/other/demo/meta.json b/site/examples/interaction/other/demo/meta.json index cde7237f25..0933c6d59b 100644 --- a/site/examples/interaction/other/demo/meta.json +++ b/site/examples/interaction/other/demo/meta.json @@ -10,7 +10,7 @@ "zh": "索引图", "en": "Chart Index" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669041887727/chart-index.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*LaVjRbRk8EcAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "fisheye.ts", @@ -18,7 +18,7 @@ "zh": "鱼眼", "en": "Fisheye" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669041902028/fisheye.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*FwusQ6ohkqkAAAAAAAAAAAAADmJ7AQ/original" } ] } diff --git a/site/examples/storytelling/storytelling/demo/meta.json b/site/examples/storytelling/storytelling/demo/meta.json index c07a07b534..8658057d2f 100644 --- a/site/examples/storytelling/storytelling/demo/meta.json +++ b/site/examples/storytelling/storytelling/demo/meta.json @@ -10,7 +10,7 @@ "zh": "甘特图动画", "en": "Gantt with Animation" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1668858139680/gantt-animation.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*hyB5RIY-qcMAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "interval-keyframe.ts", @@ -18,7 +18,7 @@ "zh": "条帧动画", "en": "Interval Keyframe" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669043171106/sex-keyframe.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*Nmz5Rb8rvOgAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "point-keyframe.ts", @@ -26,7 +26,7 @@ "zh": "点帧动画", "en": "Point Keyframe" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669043493952/point-keyframe.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*MOozSI2JRJIAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "facet-keyframe.ts", @@ -34,7 +34,7 @@ "zh": "分面帧动画", "en": "Facet Keyframe" }, - "screenshot": "https://gw.alipayobjects.com/zos/raptor/1669043955155/facet-keyframe.gif" + "screenshot": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*vtjDQ4sJHJkAAAAAAAAAAAAADmJ7AQ/original" }, { "filename": "stocks-keyframe.ts",