diff --git a/types/echarts/index.d.ts b/types/echarts/index.d.ts index 897cf055b8..732d84efa5 100644 --- a/types/echarts/index.d.ts +++ b/types/echarts/index.d.ts @@ -1,5 +1,5 @@ -// Type definitions for echarts 4.1.0 -// Project: http://echarts.baidu.com/ +// Type definitions for ECharts 4.4.0 +// Project: http://echarts.apache.org // Definitions by: Xie Jingyang // AntiMoron // Liveangela diff --git a/types/echarts/options/series/bar.d.ts b/types/echarts/options/series/bar.d.ts index 21ba26b72a..66f1070c75 100644 --- a/types/echarts/options/series/bar.d.ts +++ b/types/echarts/options/series/bar.d.ts @@ -6962,6 +6962,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7569,6 +7577,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -10045,6 +10061,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11921,6 +11945,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/boxplot.d.ts b/types/echarts/options/series/boxplot.d.ts index 7eb6dee681..58e7f05135 100644 --- a/types/echarts/options/series/boxplot.d.ts +++ b/types/echarts/options/series/boxplot.d.ts @@ -5116,6 +5116,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-boxplot.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -5723,6 +5731,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-boxplot.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -8199,6 +8215,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-boxplot.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -10075,6 +10099,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-boxplot.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/candlestick.d.ts b/types/echarts/options/series/candlestick.d.ts index 835e418662..90b884a720 100644 --- a/types/echarts/options/series/candlestick.d.ts +++ b/types/echarts/options/series/candlestick.d.ts @@ -5281,6 +5281,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-candlestick.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -5888,6 +5896,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-candlestick.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -8364,6 +8380,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-candlestick.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -10240,6 +10264,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-candlestick.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/effect-scatter.d.ts b/types/echarts/options/series/effect-scatter.d.ts index 885e5d385b..3a3ab40cd3 100644 --- a/types/echarts/options/series/effect-scatter.d.ts +++ b/types/echarts/options/series/effect-scatter.d.ts @@ -7032,6 +7032,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-effectSactter.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7639,6 +7647,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-effectScatter.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -10115,6 +10131,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-effectScatter.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11991,6 +12015,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-effectScatter.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/funnel.d.ts b/types/echarts/options/series/funnel.d.ts index 185c484c0d..360fb120fa 100644 --- a/types/echarts/options/series/funnel.d.ts +++ b/types/echarts/options/series/funnel.d.ts @@ -6752,6 +6752,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-funnel.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7270,6 +7278,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-funnel.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -9668,6 +9684,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-funnel.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11489,6 +11513,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-funnel.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/gauge.d.ts b/types/echarts/options/series/gauge.d.ts index 61093e5e5e..6eff23d195 100644 --- a/types/echarts/options/series/gauge.d.ts +++ b/types/echarts/options/series/gauge.d.ts @@ -7049,6 +7049,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-gauge.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7567,6 +7575,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-gauge.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -9965,6 +9981,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-gauge.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11786,6 +11810,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-gauge.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/graph.d.ts b/types/echarts/options/series/graph.d.ts index 784a6f6d6b..a801f5112e 100644 --- a/types/echarts/options/series/graph.d.ts +++ b/types/echarts/options/series/graph.d.ts @@ -12184,6 +12184,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-graph.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -12791,6 +12799,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-graph.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -15267,6 +15283,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-graph.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -17143,6 +17167,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-graph.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/heatmap.d.ts b/types/echarts/options/series/heatmap.d.ts index af38c31e17..83c7d74e52 100644 --- a/types/echarts/options/series/heatmap.d.ts +++ b/types/echarts/options/series/heatmap.d.ts @@ -6429,6 +6429,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-heatmap.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -6947,6 +6955,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-heatmap.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -9345,6 +9361,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-heatmap.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11166,6 +11190,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-heatmap.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/line.d.ts b/types/echarts/options/series/line.d.ts index 7d9a546fae..a0df1843c9 100644 --- a/types/echarts/options/series/line.d.ts +++ b/types/echarts/options/series/line.d.ts @@ -7329,6 +7329,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-line.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7936,6 +7944,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-line.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -10412,6 +10428,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-line.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -12288,6 +12312,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-line.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/lines.d.ts b/types/echarts/options/series/lines.d.ts index de22abf5fb..452e235ea3 100644 --- a/types/echarts/options/series/lines.d.ts +++ b/types/echarts/options/series/lines.d.ts @@ -6433,6 +6433,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-lines.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -6951,6 +6959,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-lines.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -9349,6 +9365,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-lines.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11170,6 +11194,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-lines.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/map.d.ts b/types/echarts/options/series/map.d.ts index 12da2b5697..2c2d082f98 100644 --- a/types/echarts/options/series/map.d.ts +++ b/types/echarts/options/series/map.d.ts @@ -6860,6 +6860,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-map.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7452,6 +7460,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-map.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -9899,6 +9915,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-map.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11761,6 +11785,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-map.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/pictorial-bar.d.ts b/types/echarts/options/series/pictorial-bar.d.ts index 83f19c0d65..2f2fd7b01b 100644 --- a/types/echarts/options/series/pictorial-bar.d.ts +++ b/types/echarts/options/series/pictorial-bar.d.ts @@ -7580,6 +7580,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pictorialBar.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -8187,6 +8195,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pictorialBar.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -10663,6 +10679,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pictorialBar.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -12539,6 +12563,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pictorialBar.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/pie.d.ts b/types/echarts/options/series/pie.d.ts index 7413419174..a548ca1205 100644 --- a/types/echarts/options/series/pie.d.ts +++ b/types/echarts/options/series/pie.d.ts @@ -6679,6 +6679,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pie.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7197,6 +7205,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pie.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -9595,6 +9611,14 @@ declare namespace echarts { */ 0?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pie.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11416,6 +11440,14 @@ declare namespace echarts { */ 1?: { + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-pie.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). diff --git a/types/echarts/options/series/scatter.d.ts b/types/echarts/options/series/scatter.d.ts index dd2c9f804c..0fb82d5f69 100644 --- a/types/echarts/options/series/scatter.d.ts +++ b/types/echarts/options/series/scatter.d.ts @@ -7038,6 +7038,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-scatter.markLine.data.0.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -7645,6 +7653,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-scatter.markLine.data.1.name + */ + name?: string; + /** * X position according to container, in pixel. * @@ -10121,6 +10137,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-scatter.markArea.data.0.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`). @@ -11997,6 +12021,14 @@ declare namespace echarts { */ coord?: any[]; + /** + * Name of the marker, which will display as a label. + * + * + * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-scatter.markArea.data.1.name + */ + name?: string; + /** * x value on screen coordinate system, can be pixel * number (like `5`), or percent value (like `'20%'`).