1 | declare namespace echarts {
|
2 | namespace EChartOption {
|
3 | /**
|
4 | * **bar chart**
|
5 | *
|
6 | * Bar chart shows different data through the height of a bar, which
|
7 | * is used in
|
8 | * [rectangular coordinate](https://echarts.apache.org/en/option.html#grid)
|
9 | * with at least 1 category axis.
|
10 | *
|
11 | *
|
12 | * @see https://echarts.apache.org/en/option.html#series-bar
|
13 | */
|
14 | interface SeriesBar {
|
15 | /**
|
16 | * @default
|
17 | * "bar"
|
18 | * @see https://echarts.apache.org/en/option.html#series-bar.type
|
19 | */
|
20 | type?: 'bar' | undefined;
|
21 |
|
22 | /**
|
23 | * Component ID, not specified by default.
|
24 | * If specified, it can be used to refer the component in option
|
25 | * or API.
|
26 | *
|
27 | *
|
28 | * @see https://echarts.apache.org/en/option.html#series-bar.id
|
29 | */
|
30 | id?: string | undefined;
|
31 |
|
32 | /**
|
33 | * Series name used for displaying in
|
34 | * [tooltip](https://echarts.apache.org/en/option.html#tooltip)
|
35 | * and filtering with
|
36 | * [legend](https://echarts.apache.org/en/option.html#legend)
|
37 | * , or updaing data and configuration with `setOption`.
|
38 | *
|
39 | *
|
40 | * @see https://echarts.apache.org/en/option.html#series-bar.name
|
41 | */
|
42 | name?: string | undefined;
|
43 |
|
44 | /**
|
45 | * Whether to enable highlighting chart when
|
46 | * [legend](https://echarts.apache.org/en/option.html#legend)
|
47 | * is being hovered.
|
48 | *
|
49 | *
|
50 | * @default
|
51 | * "true"
|
52 | * @see https://echarts.apache.org/en/option.html#series-bar.legendHoverLink
|
53 | */
|
54 | legendHoverLink?: boolean | undefined;
|
55 |
|
56 | /**
|
57 | * The coordinate used in the series, whose options are:
|
58 | *
|
59 | * + `'cartesian2d'`
|
60 | *
|
61 | * Use a two-dimensional rectangular coordinate (also known as Cartesian
|
62 | * coordinate), with
|
63 | * [xAxisIndex](https://echarts.apache.org/en/option.html#series-bar.xAxisIndex)
|
64 | * and
|
65 | * [yAxisIndex](https://echarts.apache.org/en/option.html#series-bar.yAxisIndex)
|
66 | * to assign the corresponding axis component.
|
67 | *
|
68 | *
|
69 | * @default
|
70 | * "cartesian2d"
|
71 | * @see https://echarts.apache.org/en/option.html#series-bar.coordinateSystem
|
72 | */
|
73 | coordinateSystem?: string | undefined;
|
74 |
|
75 | /**
|
76 | * Index of
|
77 | * [x axis](https://echarts.apache.org/en/option.html#xAxis)
|
78 | * to combine with, which is useful for multiple x axes in one chart.
|
79 | *
|
80 | *
|
81 | * @see https://echarts.apache.org/en/option.html#series-bar.xAxisIndex
|
82 | */
|
83 | xAxisIndex?: number | undefined;
|
84 |
|
85 | /**
|
86 | * Index of
|
87 | * [y axis](https://echarts.apache.org/en/option.html#yAxis)
|
88 | * to combine with, which is useful for multiple y axes in one chart.
|
89 | *
|
90 | *
|
91 | * @see https://echarts.apache.org/en/option.html#series-bar.yAxisIndex
|
92 | */
|
93 | yAxisIndex?: number | undefined;
|
94 |
|
95 | /**
|
96 | * Text label of , to explain some data information about graphic
|
97 | * item like value, name and so on.
|
98 | * `label` is placed under `itemStyle` in ECharts 2.x.
|
99 | * In ECharts 3, to make the configuration structure flatter, `label`is
|
100 | * taken to be at the same level with `itemStyle`, and has `emphasis`
|
101 | * as `itemStyle` does.
|
102 | *
|
103 | *
|
104 | * @see https://echarts.apache.org/en/option.html#series-bar.label
|
105 | */
|
106 | label?: {
|
107 | /**
|
108 | * Some properties like "normal" or "emphasis" are not documented.
|
109 | * Please, write description for them
|
110 | */
|
111 | [unknownProperty: string]: any;
|
112 |
|
113 | /**
|
114 | * Whether to show label.
|
115 | *
|
116 | *
|
117 | * @see https://echarts.apache.org/en/option.html#series-bar.label.show
|
118 | */
|
119 | show?: boolean | undefined;
|
120 |
|
121 | /**
|
122 | * Label position.
|
123 | *
|
124 | * **Followings are the options:**
|
125 | *
|
126 | * + \[x, y\]
|
127 | *
|
128 | * Use relative percentage, or absolute pixel values to represent
|
129 | * position of label relative to top-left corner of bounding
|
130 | * box. For example:
|
131 | *
|
132 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
|
133 | *
|
134 | * + 'top'
|
135 | *
|
136 | * + 'left'
|
137 | * + 'right'
|
138 | * + 'bottom'
|
139 | * + 'inside'
|
140 | * + 'insideLeft'
|
141 | * + 'insideRight'
|
142 | * + 'insideTop'
|
143 | * + 'insideBottom'
|
144 | * + 'insideTopLeft'
|
145 | * + 'insideBottomLeft'
|
146 | * + 'insideTopRight'
|
147 | * + 'insideBottomRight'
|
148 | *
|
149 | * See:
|
150 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
151 | * .
|
152 | *
|
153 | *
|
154 | * @default
|
155 | * "inside"
|
156 | * @see https://echarts.apache.org/en/option.html#series-bar.label.position
|
157 | */
|
158 | position?: any[] | string | undefined;
|
159 |
|
160 | /**
|
161 | * Distance to the host graphic element.
|
162 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
163 | *
|
164 | * See:
|
165 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
166 | * .
|
167 | *
|
168 | *
|
169 | * @default
|
170 | * 5
|
171 | * @see https://echarts.apache.org/en/option.html#series-bar.label.distance
|
172 | */
|
173 | distance?: number | undefined;
|
174 |
|
175 | /**
|
176 | * Rotate label, from -90 degree to 90, positive value represents
|
177 | * rotate anti-clockwise.
|
178 | *
|
179 | * See:
|
180 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
181 | * .
|
182 | *
|
183 | *
|
184 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rotate
|
185 | */
|
186 | rotate?: number | undefined;
|
187 |
|
188 | /**
|
189 | * Whether to move text slightly.
|
190 | * For example: `[30, 40]` means move `30` horizontally and
|
191 | * move `40` vertically.
|
192 | *
|
193 | *
|
194 | * @see https://echarts.apache.org/en/option.html#series-bar.label.offset
|
195 | */
|
196 | offset?: any[] | undefined;
|
197 |
|
198 | /**
|
199 | * Data label formatter, which supports string template and
|
200 | * callback function.
|
201 | * In either form, `\n` is supported to represent a new line.
|
202 | *
|
203 | * **String template**
|
204 | *
|
205 | * Model variation includes:
|
206 | *
|
207 | * + `{a}`: series name.
|
208 | * + `{b}`: the name of a data item.
|
209 | * + `{c}`: the value of a data item.
|
210 | * + `{@xxx}: the value of a dimension named`'xxx'`, for example,`{@product}`refers
|
211 | * the value of`'product'\` dimension。
|
212 | * + `{@[n]}: the value of a dimension at the index of`n`, for
|
213 | * example,`{@\[3\]}\` refers the value at dimensions\[3\].
|
214 | *
|
215 | * **example:**
|
216 | *
|
217 | * ```
|
218 | * formatter: '{b}: {@score}'
|
219 | *
|
220 | * ```
|
221 | *
|
222 | * **Callback function**
|
223 | *
|
224 | * Callback function is in form of:
|
225 | *
|
226 | * ```
|
227 | * (params: Object|Array) => string
|
228 | *
|
229 | * ```
|
230 | *
|
231 | * where `params` is the single dataset needed by formatter,
|
232 | * which is formed as:
|
233 | *
|
234 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
|
235 | *
|
236 | *
|
237 | * @see https://echarts.apache.org/en/option.html#series-bar.label.formatter
|
238 | */
|
239 | formatter?: Function | string | undefined;
|
240 |
|
241 | /**
|
242 | * text color.
|
243 | *
|
244 | * If set as `'auto'`, the color will assigned as visual color,
|
245 | * such as series color.
|
246 | *
|
247 | *
|
248 | * @default
|
249 | * ""#fff""
|
250 | * @see https://echarts.apache.org/en/option.html#series-bar.label.color
|
251 | */
|
252 | color?: string | undefined;
|
253 |
|
254 | /**
|
255 | * font style
|
256 | *
|
257 | * Options are:
|
258 | *
|
259 | * + `'normal'`
|
260 | * + `'italic'`
|
261 | * + `'oblique'`
|
262 | *
|
263 | *
|
264 | * @default
|
265 | * "normal"
|
266 | * @see https://echarts.apache.org/en/option.html#series-bar.label.fontStyle
|
267 | */
|
268 | fontStyle?: string | undefined;
|
269 |
|
270 | /**
|
271 | * font thick weight
|
272 | *
|
273 | * Options are:
|
274 | *
|
275 | * + `'normal'`
|
276 | * + `'bold'`
|
277 | * + `'bolder'`
|
278 | * + `'lighter'`
|
279 | * + 100 | 200 | 300 | 400...
|
280 | *
|
281 | *
|
282 | * @default
|
283 | * "normal"
|
284 | * @see https://echarts.apache.org/en/option.html#series-bar.label.fontWeight
|
285 | */
|
286 | fontWeight?: string | number | undefined;
|
287 |
|
288 | /**
|
289 | * font family
|
290 | *
|
291 | * Can also be 'serif' , 'monospace', ...
|
292 | *
|
293 | *
|
294 | * @default
|
295 | * "sans-serif"
|
296 | * @see https://echarts.apache.org/en/option.html#series-bar.label.fontFamily
|
297 | */
|
298 | fontFamily?: string | undefined;
|
299 |
|
300 | /**
|
301 | * font size
|
302 | *
|
303 | *
|
304 | * @default
|
305 | * 12
|
306 | * @see https://echarts.apache.org/en/option.html#series-bar.label.fontSize
|
307 | */
|
308 | fontSize?: number | undefined;
|
309 |
|
310 | /**
|
311 | * Horizontal alignment of text, automatic by default.
|
312 | *
|
313 | * Options are:
|
314 | *
|
315 | * + `'left'`
|
316 | * + `'center'`
|
317 | * + `'right'`
|
318 | *
|
319 | * If `align` is not set in `rich`, `align` in parent level
|
320 | * will be used. For example:
|
321 | *
|
322 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
|
323 | *
|
324 | *
|
325 | * @see https://echarts.apache.org/en/option.html#series-bar.label.align
|
326 | */
|
327 | align?: string | undefined;
|
328 |
|
329 | /**
|
330 | * Vertical alignment of text, automatic by default.
|
331 | *
|
332 | * Options are:
|
333 | *
|
334 | * + `'top'`
|
335 | * + `'middle'`
|
336 | * + `'bottom'`
|
337 | *
|
338 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
339 | * in parent level will be used. For example:
|
340 | *
|
341 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
|
342 | *
|
343 | *
|
344 | * @see https://echarts.apache.org/en/option.html#series-bar.label.verticalAlign
|
345 | */
|
346 | verticalAlign?: string | undefined;
|
347 |
|
348 | /**
|
349 | * Line height of the text fregment.
|
350 | *
|
351 | * If `lineHeight` is not set in `rich`, `lineHeight` in parent
|
352 | * level will be used. For example:
|
353 | *
|
354 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
|
355 | *
|
356 | *
|
357 | * @see https://echarts.apache.org/en/option.html#series-bar.label.lineHeight
|
358 | */
|
359 | lineHeight?: number | undefined;
|
360 |
|
361 | /**
|
362 | * Background color of the text fregment.
|
363 | *
|
364 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
365 | *
|
366 | * Or image can be used, for example:
|
367 | *
|
368 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
|
369 | *
|
370 | * `width` or `height` can be specified when using background
|
371 | * image, or auto adapted by default.
|
372 | *
|
373 | * If set as `'auto'`, the color will assigned as visual color,
|
374 | * such as series color.
|
375 | *
|
376 | *
|
377 | * @default
|
378 | * "transparent"
|
379 | * @see https://echarts.apache.org/en/option.html#series-bar.label.backgroundColor
|
380 | */
|
381 | backgroundColor?: object | string | undefined;
|
382 |
|
383 | /**
|
384 | * Border color of the text fregment.
|
385 | *
|
386 | * If set as `'auto'`, the color will assigned as visual color,
|
387 | * such as series color.
|
388 | *
|
389 | *
|
390 | * @default
|
391 | * "transparent"
|
392 | * @see https://echarts.apache.org/en/option.html#series-bar.label.borderColor
|
393 | */
|
394 | borderColor?: string | undefined;
|
395 |
|
396 | /**
|
397 | * Border width of the text fregment.
|
398 | *
|
399 | *
|
400 | * @see https://echarts.apache.org/en/option.html#series-bar.label.borderWidth
|
401 | */
|
402 | borderWidth?: number | undefined;
|
403 |
|
404 | /**
|
405 | * Border radius of the text fregment.
|
406 | *
|
407 | *
|
408 | * @see https://echarts.apache.org/en/option.html#series-bar.label.borderRadius
|
409 | */
|
410 | borderRadius?: number | undefined;
|
411 |
|
412 | /**
|
413 | * Padding of the text fregment, for example:
|
414 | *
|
415 | * + `padding: [3, 4, 5, 6]`: represents padding of `[top, right,
|
416 | * bottom, left]`.
|
417 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
418 | * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
|
419 | *
|
420 | * Notice, `width` and `height` specifies the width and height
|
421 | * of the content, without `padding`.
|
422 | *
|
423 | *
|
424 | * @see https://echarts.apache.org/en/option.html#series-bar.label.padding
|
425 | */
|
426 | padding?: any[] | number | undefined;
|
427 |
|
428 | /**
|
429 | * Shadow color of the text block.
|
430 | *
|
431 | *
|
432 | * @default
|
433 | * "transparent"
|
434 | * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowColor
|
435 | */
|
436 | shadowColor?: string | undefined;
|
437 |
|
438 | /**
|
439 | * Show blur of the text block.
|
440 | *
|
441 | *
|
442 | * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowBlur
|
443 | */
|
444 | shadowBlur?: number | undefined;
|
445 |
|
446 | /**
|
447 | * Shadow X offset of the text block.
|
448 | *
|
449 | *
|
450 | * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowOffsetX
|
451 | */
|
452 | shadowOffsetX?: number | undefined;
|
453 |
|
454 | /**
|
455 | * Shadow Y offset of the text block.
|
456 | *
|
457 | *
|
458 | * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowOffsetY
|
459 | */
|
460 | shadowOffsetY?: number | undefined;
|
461 |
|
462 | /**
|
463 | * Width of the text block.
|
464 | * It is the width of the text by default.
|
465 | * In most cases, there is no need to specify it.
|
466 | * You may want to use it in some cases like make simple table
|
467 | * or using background image (see `backgroundColor`).
|
468 | *
|
469 | * Notice, `width` and `height` specifies the width and height
|
470 | * of the content, without `padding`.
|
471 | *
|
472 | * `width` can also be percent string, like `'100%'`, which
|
473 | * represents the percent of `contentWidth` (that is, the width
|
474 | * without `padding`) of its container box.
|
475 | * It is based on `contentWidth` because that each text fregment
|
476 | * is layout based on the `content box`, where it makes no sense
|
477 | * that calculating width based on `outerWith` in prectice.
|
478 | *
|
479 | * Notice, `width` and `height` only work when `rich` specified.
|
480 | *
|
481 | *
|
482 | * @see https://echarts.apache.org/en/option.html#series-bar.label.width
|
483 | */
|
484 | width?: number | string | undefined;
|
485 |
|
486 | /**
|
487 | * Height of the text block.
|
488 | * It is the width of the text by default.
|
489 | * You may want to use it in some cases like using background
|
490 | * image (see `backgroundColor`).
|
491 | *
|
492 | * Notice, `width` and `height` specifies the width and height
|
493 | * of the content, without `padding`.
|
494 | *
|
495 | * Notice, `width` and `height` only work when `rich` specified.
|
496 | *
|
497 | *
|
498 | * @see https://echarts.apache.org/en/option.html#series-bar.label.height
|
499 | */
|
500 | height?: number | string | undefined;
|
501 |
|
502 | /**
|
503 | * Storke color of the text.
|
504 | *
|
505 | * If set as `'auto'`, the color will assigned as visual color,
|
506 | * such as series color.
|
507 | *
|
508 | *
|
509 | * @default
|
510 | * "transparent"
|
511 | * @see https://echarts.apache.org/en/option.html#series-bar.label.textBorderColor
|
512 | */
|
513 | textBorderColor?: string | undefined;
|
514 |
|
515 | /**
|
516 | * Storke line width of the text.
|
517 | *
|
518 | *
|
519 | * @see https://echarts.apache.org/en/option.html#series-bar.label.textBorderWidth
|
520 | */
|
521 | textBorderWidth?: number | undefined;
|
522 |
|
523 | /**
|
524 | * Shadow color of the text itself.
|
525 | *
|
526 | *
|
527 | * @default
|
528 | * "transparent"
|
529 | * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowColor
|
530 | */
|
531 | textShadowColor?: string | undefined;
|
532 |
|
533 | /**
|
534 | * Shadow blue of the text itself.
|
535 | *
|
536 | *
|
537 | * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowBlur
|
538 | */
|
539 | textShadowBlur?: number | undefined;
|
540 |
|
541 | /**
|
542 | * Shadow X offset of the text itself.
|
543 | *
|
544 | *
|
545 | * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowOffsetX
|
546 | */
|
547 | textShadowOffsetX?: number | undefined;
|
548 |
|
549 | /**
|
550 | * Shadow Y offset of the text itself.
|
551 | *
|
552 | *
|
553 | * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowOffsetY
|
554 | */
|
555 | textShadowOffsetY?: number | undefined;
|
556 |
|
557 | /**
|
558 | * "Rich text styles" can be defined in this `rich` property.
|
559 | * For example:
|
560 | *
|
561 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
|
562 | *
|
563 | * For more details, see
|
564 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
565 | * please.
|
566 | *
|
567 | *
|
568 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich
|
569 | */
|
570 | rich?: {
|
571 | /**
|
572 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E
|
573 | */
|
574 | [userStyle: string]: {
|
575 | /**
|
576 | * text color.
|
577 | *
|
578 | * If set as `'auto'`, the color will assigned as visual
|
579 | * color, such as series color.
|
580 | *
|
581 | *
|
582 | * @default
|
583 | * ""#fff""
|
584 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
585 | */
|
586 | color?: string | undefined;
|
587 |
|
588 | /**
|
589 | * font style
|
590 | *
|
591 | * Options are:
|
592 | *
|
593 | * + `'normal'`
|
594 | * + `'italic'`
|
595 | * + `'oblique'`
|
596 | *
|
597 | *
|
598 | * @default
|
599 | * "normal"
|
600 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
601 | */
|
602 | fontStyle?: string | undefined;
|
603 |
|
604 | /**
|
605 | * font thick weight
|
606 | *
|
607 | * Options are:
|
608 | *
|
609 | * + `'normal'`
|
610 | * + `'bold'`
|
611 | * + `'bolder'`
|
612 | * + `'lighter'`
|
613 | * + 100 | 200 | 300 | 400...
|
614 | *
|
615 | *
|
616 | * @default
|
617 | * "normal"
|
618 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
619 | */
|
620 | fontWeight?: string | number | undefined;
|
621 |
|
622 | /**
|
623 | * font family
|
624 | *
|
625 | * Can also be 'serif' , 'monospace', ...
|
626 | *
|
627 | *
|
628 | * @default
|
629 | * "sans-serif"
|
630 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
631 | */
|
632 | fontFamily?: string | undefined;
|
633 |
|
634 | /**
|
635 | * font size
|
636 | *
|
637 | *
|
638 | * @default
|
639 | * 12
|
640 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
641 | */
|
642 | fontSize?: number | undefined;
|
643 |
|
644 | /**
|
645 | * Horizontal alignment of text, automatic by default.
|
646 | *
|
647 | * Options are:
|
648 | *
|
649 | * + `'left'`
|
650 | * + `'center'`
|
651 | * + `'right'`
|
652 | *
|
653 | * If `align` is not set in `rich`, `align` in parent
|
654 | * level will be used. For example:
|
655 | *
|
656 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
|
657 | *
|
658 | *
|
659 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
660 | */
|
661 | align?: string | undefined;
|
662 |
|
663 | /**
|
664 | * Vertical alignment of text, automatic by default.
|
665 | *
|
666 | * Options are:
|
667 | *
|
668 | * + `'top'`
|
669 | * + `'middle'`
|
670 | * + `'bottom'`
|
671 | *
|
672 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
673 | * in parent level will be used. For example:
|
674 | *
|
675 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
|
676 | *
|
677 | *
|
678 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
679 | */
|
680 | verticalAlign?: string | undefined;
|
681 |
|
682 | /**
|
683 | * Line height of the text fregment.
|
684 | *
|
685 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
686 | * in parent level will be used. For example:
|
687 | *
|
688 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
|
689 | *
|
690 | *
|
691 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
692 | */
|
693 | lineHeight?: number | undefined;
|
694 |
|
695 | /**
|
696 | * Background color of the text fregment.
|
697 | *
|
698 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
699 | *
|
700 | * Or image can be used, for example:
|
701 | *
|
702 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
|
703 | *
|
704 | * `width` or `height` can be specified when using background
|
705 | * image, or auto adapted by default.
|
706 | *
|
707 | * If set as `'auto'`, the color will assigned as visual
|
708 | * color, such as series color.
|
709 | *
|
710 | *
|
711 | * @default
|
712 | * "transparent"
|
713 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
714 | */
|
715 | backgroundColor?: object | string | undefined;
|
716 |
|
717 | /**
|
718 | * Border color of the text fregment.
|
719 | *
|
720 | * If set as `'auto'`, the color will assigned as visual
|
721 | * color, such as series color.
|
722 | *
|
723 | *
|
724 | * @default
|
725 | * "transparent"
|
726 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
727 | */
|
728 | borderColor?: string | undefined;
|
729 |
|
730 | /**
|
731 | * Border width of the text fregment.
|
732 | *
|
733 | *
|
734 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
735 | */
|
736 | borderWidth?: number | undefined;
|
737 |
|
738 | /**
|
739 | * Border radius of the text fregment.
|
740 | *
|
741 | *
|
742 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
743 | */
|
744 | borderRadius?: number | undefined;
|
745 |
|
746 | /**
|
747 | * Padding of the text fregment, for example:
|
748 | *
|
749 | * + `padding: [3, 4, 5, 6]`: represents padding of
|
750 | * `[top, right, bottom, left]`.
|
751 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
752 | * + `padding: [3, 4]`: represents `padding: [3, 4,
|
753 | * 3, 4]`.
|
754 | *
|
755 | * Notice, `width` and `height` specifies the width
|
756 | * and height of the content, without `padding`.
|
757 | *
|
758 | *
|
759 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
760 | */
|
761 | padding?: any[] | number | undefined;
|
762 |
|
763 | /**
|
764 | * Shadow color of the text block.
|
765 | *
|
766 | *
|
767 | * @default
|
768 | * "transparent"
|
769 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
770 | */
|
771 | shadowColor?: string | undefined;
|
772 |
|
773 | /**
|
774 | * Show blur of the text block.
|
775 | *
|
776 | *
|
777 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
778 | */
|
779 | shadowBlur?: number | undefined;
|
780 |
|
781 | /**
|
782 | * Shadow X offset of the text block.
|
783 | *
|
784 | *
|
785 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
786 | */
|
787 | shadowOffsetX?: number | undefined;
|
788 |
|
789 | /**
|
790 | * Shadow Y offset of the text block.
|
791 | *
|
792 | *
|
793 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
794 | */
|
795 | shadowOffsetY?: number | undefined;
|
796 |
|
797 | /**
|
798 | * Width of the text block.
|
799 | * It is the width of the text by default.
|
800 | * In most cases, there is no need to specify it.
|
801 | * You may want to use it in some cases like make simple
|
802 | * table or using background image (see `backgroundColor`).
|
803 | *
|
804 | * Notice, `width` and `height` specifies the width
|
805 | * and height of the content, without `padding`.
|
806 | *
|
807 | * `width` can also be percent string, like `'100%'`,
|
808 | * which represents the percent of `contentWidth` (that
|
809 | * is, the width without `padding`) of its container
|
810 | * box.
|
811 | * It is based on `contentWidth` because that each text
|
812 | * fregment is layout based on the `content box`, where
|
813 | * it makes no sense that calculating width based on
|
814 | * `outerWith` in prectice.
|
815 | *
|
816 | * Notice, `width` and `height` only work when `rich`
|
817 | * specified.
|
818 | *
|
819 | *
|
820 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
821 | */
|
822 | width?: number | string | undefined;
|
823 |
|
824 | /**
|
825 | * Height of the text block.
|
826 | * It is the width of the text by default.
|
827 | * You may want to use it in some cases like using background
|
828 | * image (see `backgroundColor`).
|
829 | *
|
830 | * Notice, `width` and `height` specifies the width
|
831 | * and height of the content, without `padding`.
|
832 | *
|
833 | * Notice, `width` and `height` only work when `rich`
|
834 | * specified.
|
835 | *
|
836 | *
|
837 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
838 | */
|
839 | height?: number | string | undefined;
|
840 |
|
841 | /**
|
842 | * Storke color of the text.
|
843 | *
|
844 | * If set as `'auto'`, the color will assigned as visual
|
845 | * color, such as series color.
|
846 | *
|
847 | *
|
848 | * @default
|
849 | * "transparent"
|
850 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
851 | */
|
852 | textBorderColor?: string | undefined;
|
853 |
|
854 | /**
|
855 | * Storke line width of the text.
|
856 | *
|
857 | *
|
858 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
859 | */
|
860 | textBorderWidth?: number | undefined;
|
861 |
|
862 | /**
|
863 | * Shadow color of the text itself.
|
864 | *
|
865 | *
|
866 | * @default
|
867 | * "transparent"
|
868 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
869 | */
|
870 | textShadowColor?: string | undefined;
|
871 |
|
872 | /**
|
873 | * Shadow blue of the text itself.
|
874 | *
|
875 | *
|
876 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
877 | */
|
878 | textShadowBlur?: number | undefined;
|
879 |
|
880 | /**
|
881 | * Shadow X offset of the text itself.
|
882 | *
|
883 | *
|
884 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
885 | */
|
886 | textShadowOffsetX?: number | undefined;
|
887 |
|
888 | /**
|
889 | * Shadow Y offset of the text itself.
|
890 | *
|
891 | *
|
892 | * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
893 | */
|
894 | textShadowOffsetY?: number | undefined;
|
895 | };
|
896 | } | undefined;
|
897 | } | undefined;
|
898 |
|
899 | /**
|
900 | * Graphic style of , `emphasis` is the style when it is highlighted,
|
901 | * like being hovered by mouse, or highlighted via legend connect.
|
902 | *
|
903 | *
|
904 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle
|
905 | */
|
906 | itemStyle?: {
|
907 | /**
|
908 | * Some properties like "normal" or "emphasis" are not documented.
|
909 | * Please, write description for them
|
910 | */
|
911 | [unknownProperty: string]: any;
|
912 |
|
913 | /**
|
914 | * Bar color. defaults to acquire colors from global palette
|
915 | * [option.color](https://echarts.apache.org/en/option.html#color)
|
916 | * .
|
917 | *
|
918 | *
|
919 | * @default
|
920 | * "auto"
|
921 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.color
|
922 | */
|
923 | color?: EChartOption.Color | undefined;
|
924 |
|
925 | /**
|
926 | * The bodrder color of bar.
|
927 | *
|
928 | *
|
929 | * @default
|
930 | * '#000'
|
931 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.barBorderColor
|
932 | */
|
933 | barBorderColor?: string | undefined;
|
934 |
|
935 | /**
|
936 | * The bodrder width of bar. defaults to have no border.
|
937 | *
|
938 | *
|
939 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.barBorderWidth
|
940 | */
|
941 | barBorderWidth?: number | undefined;
|
942 |
|
943 | /**
|
944 | * The radius of rounded corner.
|
945 | * Its unit is px.
|
946 | * And it supports use array to respectively specify the 4 corner
|
947 | * radiuses.
|
948 | *
|
949 | * For example:
|
950 | *
|
951 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.itemStyle)
|
952 | *
|
953 | *
|
954 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.barBorderRadius
|
955 | */
|
956 | barBorderRadius?: any[] | number | undefined;
|
957 |
|
958 | /**
|
959 | * Size of shadow blur.
|
960 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
961 | * `shadowOffsetY` to set shadow to component.
|
962 | *
|
963 | * For example:
|
964 | *
|
965 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.itemStyle)
|
966 | *
|
967 | *
|
968 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowBlur
|
969 | */
|
970 | shadowBlur?: number | undefined;
|
971 |
|
972 | /**
|
973 | * Shadow color. Support same format as `color`.
|
974 | *
|
975 | *
|
976 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowColor
|
977 | */
|
978 | shadowColor?: EChartOption.Color | undefined;
|
979 |
|
980 | /**
|
981 | * Offset distance on the horizontal direction of shadow.
|
982 | *
|
983 | *
|
984 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowOffsetX
|
985 | */
|
986 | shadowOffsetX?: number | undefined;
|
987 |
|
988 | /**
|
989 | * Offset distance on the vertical direction of shadow.
|
990 | *
|
991 | *
|
992 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowOffsetY
|
993 | */
|
994 | shadowOffsetY?: number | undefined;
|
995 |
|
996 | /**
|
997 | * Opacity of the component.
|
998 | * Supports value from 0 to 1, and the component will not be
|
999 | * drawn when set to 0.
|
1000 | *
|
1001 | *
|
1002 | * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.opacity
|
1003 | */
|
1004 | opacity?: number | undefined;
|
1005 | } | undefined;
|
1006 |
|
1007 | /**
|
1008 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis
|
1009 | */
|
1010 | emphasis?: {
|
1011 | /**
|
1012 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label
|
1013 | */
|
1014 | label?: {
|
1015 | /**
|
1016 | * Whether to show label.
|
1017 | *
|
1018 | *
|
1019 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.show
|
1020 | */
|
1021 | show?: boolean | undefined;
|
1022 |
|
1023 | /**
|
1024 | * Label position.
|
1025 | *
|
1026 | * **Followings are the options:**
|
1027 | *
|
1028 | * + \[x, y\]
|
1029 | *
|
1030 | * Use relative percentage, or absolute pixel values to
|
1031 | * represent position of label relative to top-left corner
|
1032 | * of bounding box. For example:
|
1033 | *
|
1034 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
|
1035 | *
|
1036 | * + 'top'
|
1037 | *
|
1038 | * + 'left'
|
1039 | * + 'right'
|
1040 | * + 'bottom'
|
1041 | * + 'inside'
|
1042 | * + 'insideLeft'
|
1043 | * + 'insideRight'
|
1044 | * + 'insideTop'
|
1045 | * + 'insideBottom'
|
1046 | * + 'insideTopLeft'
|
1047 | * + 'insideBottomLeft'
|
1048 | * + 'insideTopRight'
|
1049 | * + 'insideBottomRight'
|
1050 | *
|
1051 | * See:
|
1052 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
1053 | * .
|
1054 | *
|
1055 | *
|
1056 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.position
|
1057 | */
|
1058 | position?: any[] | string | undefined;
|
1059 |
|
1060 | /**
|
1061 | * Distance to the host graphic element.
|
1062 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
1063 | *
|
1064 | * See:
|
1065 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
1066 | * .
|
1067 | *
|
1068 | *
|
1069 | * @default
|
1070 | * 5
|
1071 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.distance
|
1072 | */
|
1073 | distance?: number | undefined;
|
1074 |
|
1075 | /**
|
1076 | * Rotate label, from -90 degree to 90, positive value represents
|
1077 | * rotate anti-clockwise.
|
1078 | *
|
1079 | * See:
|
1080 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
1081 | * .
|
1082 | *
|
1083 | *
|
1084 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rotate
|
1085 | */
|
1086 | rotate?: number | undefined;
|
1087 |
|
1088 | /**
|
1089 | * Whether to move text slightly.
|
1090 | * For example: `[30, 40]` means move `30` horizontally
|
1091 | * and move `40` vertically.
|
1092 | *
|
1093 | *
|
1094 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.offset
|
1095 | */
|
1096 | offset?: any[] | undefined;
|
1097 |
|
1098 | /**
|
1099 | * Data label formatter, which supports string template
|
1100 | * and callback function.
|
1101 | * In either form, `\n` is supported to represent a new
|
1102 | * line.
|
1103 | *
|
1104 | * **String template**
|
1105 | *
|
1106 | * Model variation includes:
|
1107 | *
|
1108 | * + `{a}`: series name.
|
1109 | * + `{b}`: the name of a data item.
|
1110 | * + `{c}`: the value of a data item.
|
1111 | * + `{@xxx}: the value of a dimension named`'xxx'`, for
|
1112 | * example,`{@product}`refers the value of`'product'\` dimension。
|
1113 | * + `{@[n]}: the value of a dimension at the index of`n`,
|
1114 | * for example,`{@\[3\]}\` refers the value at dimensions\[3\].
|
1115 | *
|
1116 | * **example:**
|
1117 | *
|
1118 | * ```
|
1119 | * formatter: '{b}: {@score}'
|
1120 | *
|
1121 | * ```
|
1122 | *
|
1123 | * **Callback function**
|
1124 | *
|
1125 | * Callback function is in form of:
|
1126 | *
|
1127 | * ```
|
1128 | * (params: Object|Array) => string
|
1129 | *
|
1130 | * ```
|
1131 | *
|
1132 | * where `params` is the single dataset needed by formatter,
|
1133 | * which is formed as:
|
1134 | *
|
1135 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
|
1136 | *
|
1137 | *
|
1138 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.formatter
|
1139 | */
|
1140 | formatter?: Function | string | undefined;
|
1141 |
|
1142 | /**
|
1143 | * text color.
|
1144 | *
|
1145 | * If set as `'auto'`, the color will assigned as visual
|
1146 | * color, such as series color.
|
1147 | *
|
1148 | *
|
1149 | * @default
|
1150 | * ""#fff""
|
1151 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.color
|
1152 | */
|
1153 | color?: string | undefined;
|
1154 |
|
1155 | /**
|
1156 | * font style
|
1157 | *
|
1158 | * Options are:
|
1159 | *
|
1160 | * + `'normal'`
|
1161 | * + `'italic'`
|
1162 | * + `'oblique'`
|
1163 | *
|
1164 | *
|
1165 | * @default
|
1166 | * "normal"
|
1167 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontStyle
|
1168 | */
|
1169 | fontStyle?: string | undefined;
|
1170 |
|
1171 | /**
|
1172 | * font thick weight
|
1173 | *
|
1174 | * Options are:
|
1175 | *
|
1176 | * + `'normal'`
|
1177 | * + `'bold'`
|
1178 | * + `'bolder'`
|
1179 | * + `'lighter'`
|
1180 | * + 100 | 200 | 300 | 400...
|
1181 | *
|
1182 | *
|
1183 | * @default
|
1184 | * "normal"
|
1185 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontWeight
|
1186 | */
|
1187 | fontWeight?: string | number | undefined;
|
1188 |
|
1189 | /**
|
1190 | * font family
|
1191 | *
|
1192 | * Can also be 'serif' , 'monospace', ...
|
1193 | *
|
1194 | *
|
1195 | * @default
|
1196 | * "sans-serif"
|
1197 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontFamily
|
1198 | */
|
1199 | fontFamily?: string | undefined;
|
1200 |
|
1201 | /**
|
1202 | * font size
|
1203 | *
|
1204 | *
|
1205 | * @default
|
1206 | * 12
|
1207 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontSize
|
1208 | */
|
1209 | fontSize?: number | undefined;
|
1210 |
|
1211 | /**
|
1212 | * Horizontal alignment of text, automatic by default.
|
1213 | *
|
1214 | * Options are:
|
1215 | *
|
1216 | * + `'left'`
|
1217 | * + `'center'`
|
1218 | * + `'right'`
|
1219 | *
|
1220 | * If `align` is not set in `rich`, `align` in parent level
|
1221 | * will be used. For example:
|
1222 | *
|
1223 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
|
1224 | *
|
1225 | *
|
1226 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.align
|
1227 | */
|
1228 | align?: string | undefined;
|
1229 |
|
1230 | /**
|
1231 | * Vertical alignment of text, automatic by default.
|
1232 | *
|
1233 | * Options are:
|
1234 | *
|
1235 | * + `'top'`
|
1236 | * + `'middle'`
|
1237 | * + `'bottom'`
|
1238 | *
|
1239 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
1240 | * in parent level will be used. For example:
|
1241 | *
|
1242 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
|
1243 | *
|
1244 | *
|
1245 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.verticalAlign
|
1246 | */
|
1247 | verticalAlign?: string | undefined;
|
1248 |
|
1249 | /**
|
1250 | * Line height of the text fregment.
|
1251 | *
|
1252 | * If `lineHeight` is not set in `rich`, `lineHeight` in
|
1253 | * parent level will be used. For example:
|
1254 | *
|
1255 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
|
1256 | *
|
1257 | *
|
1258 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.lineHeight
|
1259 | */
|
1260 | lineHeight?: number | undefined;
|
1261 |
|
1262 | /**
|
1263 | * Background color of the text fregment.
|
1264 | *
|
1265 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
1266 | *
|
1267 | * Or image can be used, for example:
|
1268 | *
|
1269 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
|
1270 | *
|
1271 | * `width` or `height` can be specified when using background
|
1272 | * image, or auto adapted by default.
|
1273 | *
|
1274 | * If set as `'auto'`, the color will assigned as visual
|
1275 | * color, such as series color.
|
1276 | *
|
1277 | *
|
1278 | * @default
|
1279 | * "transparent"
|
1280 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.backgroundColor
|
1281 | */
|
1282 | backgroundColor?: object | string | undefined;
|
1283 |
|
1284 | /**
|
1285 | * Border color of the text fregment.
|
1286 | *
|
1287 | * If set as `'auto'`, the color will assigned as visual
|
1288 | * color, such as series color.
|
1289 | *
|
1290 | *
|
1291 | * @default
|
1292 | * "transparent"
|
1293 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.borderColor
|
1294 | */
|
1295 | borderColor?: string | undefined;
|
1296 |
|
1297 | /**
|
1298 | * Border width of the text fregment.
|
1299 | *
|
1300 | *
|
1301 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.borderWidth
|
1302 | */
|
1303 | borderWidth?: number | undefined;
|
1304 |
|
1305 | /**
|
1306 | * Border radius of the text fregment.
|
1307 | *
|
1308 | *
|
1309 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.borderRadius
|
1310 | */
|
1311 | borderRadius?: number | undefined;
|
1312 |
|
1313 | /**
|
1314 | * Padding of the text fregment, for example:
|
1315 | *
|
1316 | * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
|
1317 | * right, bottom, left]`.
|
1318 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
1319 | * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
|
1320 | *
|
1321 | * Notice, `width` and `height` specifies the width and
|
1322 | * height of the content, without `padding`.
|
1323 | *
|
1324 | *
|
1325 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.padding
|
1326 | */
|
1327 | padding?: any[] | number | undefined;
|
1328 |
|
1329 | /**
|
1330 | * Shadow color of the text block.
|
1331 | *
|
1332 | *
|
1333 | * @default
|
1334 | * "transparent"
|
1335 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowColor
|
1336 | */
|
1337 | shadowColor?: string | undefined;
|
1338 |
|
1339 | /**
|
1340 | * Show blur of the text block.
|
1341 | *
|
1342 | *
|
1343 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowBlur
|
1344 | */
|
1345 | shadowBlur?: number | undefined;
|
1346 |
|
1347 | /**
|
1348 | * Shadow X offset of the text block.
|
1349 | *
|
1350 | *
|
1351 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowOffsetX
|
1352 | */
|
1353 | shadowOffsetX?: number | undefined;
|
1354 |
|
1355 | /**
|
1356 | * Shadow Y offset of the text block.
|
1357 | *
|
1358 | *
|
1359 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowOffsetY
|
1360 | */
|
1361 | shadowOffsetY?: number | undefined;
|
1362 |
|
1363 | /**
|
1364 | * Width of the text block.
|
1365 | * It is the width of the text by default.
|
1366 | * In most cases, there is no need to specify it.
|
1367 | * You may want to use it in some cases like make simple
|
1368 | * table or using background image (see `backgroundColor`).
|
1369 | *
|
1370 | * Notice, `width` and `height` specifies the width and
|
1371 | * height of the content, without `padding`.
|
1372 | *
|
1373 | * `width` can also be percent string, like `'100%'`, which
|
1374 | * represents the percent of `contentWidth` (that is, the
|
1375 | * width without `padding`) of its container box.
|
1376 | * It is based on `contentWidth` because that each text
|
1377 | * fregment is layout based on the `content box`, where
|
1378 | * it makes no sense that calculating width based on `outerWith`
|
1379 | * in prectice.
|
1380 | *
|
1381 | * Notice, `width` and `height` only work when `rich` specified.
|
1382 | *
|
1383 | *
|
1384 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.width
|
1385 | */
|
1386 | width?: number | string | undefined;
|
1387 |
|
1388 | /**
|
1389 | * Height of the text block.
|
1390 | * It is the width of the text by default.
|
1391 | * You may want to use it in some cases like using background
|
1392 | * image (see `backgroundColor`).
|
1393 | *
|
1394 | * Notice, `width` and `height` specifies the width and
|
1395 | * height of the content, without `padding`.
|
1396 | *
|
1397 | * Notice, `width` and `height` only work when `rich` specified.
|
1398 | *
|
1399 | *
|
1400 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.height
|
1401 | */
|
1402 | height?: number | string | undefined;
|
1403 |
|
1404 | /**
|
1405 | * Storke color of the text.
|
1406 | *
|
1407 | * If set as `'auto'`, the color will assigned as visual
|
1408 | * color, such as series color.
|
1409 | *
|
1410 | *
|
1411 | * @default
|
1412 | * "transparent"
|
1413 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textBorderColor
|
1414 | */
|
1415 | textBorderColor?: string | undefined;
|
1416 |
|
1417 | /**
|
1418 | * Storke line width of the text.
|
1419 | *
|
1420 | *
|
1421 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textBorderWidth
|
1422 | */
|
1423 | textBorderWidth?: number | undefined;
|
1424 |
|
1425 | /**
|
1426 | * Shadow color of the text itself.
|
1427 | *
|
1428 | *
|
1429 | * @default
|
1430 | * "transparent"
|
1431 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowColor
|
1432 | */
|
1433 | textShadowColor?: string | undefined;
|
1434 |
|
1435 | /**
|
1436 | * Shadow blue of the text itself.
|
1437 | *
|
1438 | *
|
1439 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowBlur
|
1440 | */
|
1441 | textShadowBlur?: number | undefined;
|
1442 |
|
1443 | /**
|
1444 | * Shadow X offset of the text itself.
|
1445 | *
|
1446 | *
|
1447 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowOffsetX
|
1448 | */
|
1449 | textShadowOffsetX?: number | undefined;
|
1450 |
|
1451 | /**
|
1452 | * Shadow Y offset of the text itself.
|
1453 | *
|
1454 | *
|
1455 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowOffsetY
|
1456 | */
|
1457 | textShadowOffsetY?: number | undefined;
|
1458 |
|
1459 | /**
|
1460 | * "Rich text styles" can be defined in this `rich` property.
|
1461 | * For example:
|
1462 | *
|
1463 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
|
1464 | *
|
1465 | * For more details, see
|
1466 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
1467 | * please.
|
1468 | *
|
1469 | *
|
1470 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich
|
1471 | */
|
1472 | rich?: {
|
1473 | /**
|
1474 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E
|
1475 | */
|
1476 | [userStyle: string]: {
|
1477 | /**
|
1478 | * text color.
|
1479 | *
|
1480 | * If set as `'auto'`, the color will assigned as
|
1481 | * visual color, such as series color.
|
1482 | *
|
1483 | *
|
1484 | * @default
|
1485 | * ""#fff""
|
1486 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
1487 | */
|
1488 | color?: string | undefined;
|
1489 |
|
1490 | /**
|
1491 | * font style
|
1492 | *
|
1493 | * Options are:
|
1494 | *
|
1495 | * + `'normal'`
|
1496 | * + `'italic'`
|
1497 | * + `'oblique'`
|
1498 | *
|
1499 | *
|
1500 | * @default
|
1501 | * "normal"
|
1502 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
1503 | */
|
1504 | fontStyle?: string | undefined;
|
1505 |
|
1506 | /**
|
1507 | * font thick weight
|
1508 | *
|
1509 | * Options are:
|
1510 | *
|
1511 | * + `'normal'`
|
1512 | * + `'bold'`
|
1513 | * + `'bolder'`
|
1514 | * + `'lighter'`
|
1515 | * + 100 | 200 | 300 | 400...
|
1516 | *
|
1517 | *
|
1518 | * @default
|
1519 | * "normal"
|
1520 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
1521 | */
|
1522 | fontWeight?: string | number | undefined;
|
1523 |
|
1524 | /**
|
1525 | * font family
|
1526 | *
|
1527 | * Can also be 'serif' , 'monospace', ...
|
1528 | *
|
1529 | *
|
1530 | * @default
|
1531 | * "sans-serif"
|
1532 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
1533 | */
|
1534 | fontFamily?: string | undefined;
|
1535 |
|
1536 | /**
|
1537 | * font size
|
1538 | *
|
1539 | *
|
1540 | * @default
|
1541 | * 12
|
1542 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
1543 | */
|
1544 | fontSize?: number | undefined;
|
1545 |
|
1546 | /**
|
1547 | * Horizontal alignment of text, automatic by default.
|
1548 | *
|
1549 | * Options are:
|
1550 | *
|
1551 | * + `'left'`
|
1552 | * + `'center'`
|
1553 | * + `'right'`
|
1554 | *
|
1555 | * If `align` is not set in `rich`, `align` in parent
|
1556 | * level will be used. For example:
|
1557 | *
|
1558 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
|
1559 | *
|
1560 | *
|
1561 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
1562 | */
|
1563 | align?: string | undefined;
|
1564 |
|
1565 | /**
|
1566 | * Vertical alignment of text, automatic by default.
|
1567 | *
|
1568 | * Options are:
|
1569 | *
|
1570 | * + `'top'`
|
1571 | * + `'middle'`
|
1572 | * + `'bottom'`
|
1573 | *
|
1574 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
1575 | * in parent level will be used. For example:
|
1576 | *
|
1577 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
|
1578 | *
|
1579 | *
|
1580 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
1581 | */
|
1582 | verticalAlign?: string | undefined;
|
1583 |
|
1584 | /**
|
1585 | * Line height of the text fregment.
|
1586 | *
|
1587 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
1588 | * in parent level will be used. For example:
|
1589 | *
|
1590 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
|
1591 | *
|
1592 | *
|
1593 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
1594 | */
|
1595 | lineHeight?: number | undefined;
|
1596 |
|
1597 | /**
|
1598 | * Background color of the text fregment.
|
1599 | *
|
1600 | * Can be color string, like `'#123234'`, `'red'`,
|
1601 | * `rgba(0,23,11,0.3)'`.
|
1602 | *
|
1603 | * Or image can be used, for example:
|
1604 | *
|
1605 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
|
1606 | *
|
1607 | * `width` or `height` can be specified when using
|
1608 | * background image, or auto adapted by default.
|
1609 | *
|
1610 | * If set as `'auto'`, the color will assigned as
|
1611 | * visual color, such as series color.
|
1612 | *
|
1613 | *
|
1614 | * @default
|
1615 | * "transparent"
|
1616 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
1617 | */
|
1618 | backgroundColor?: object | string | undefined;
|
1619 |
|
1620 | /**
|
1621 | * Border color of the text fregment.
|
1622 | *
|
1623 | * If set as `'auto'`, the color will assigned as
|
1624 | * visual color, such as series color.
|
1625 | *
|
1626 | *
|
1627 | * @default
|
1628 | * "transparent"
|
1629 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
1630 | */
|
1631 | borderColor?: string | undefined;
|
1632 |
|
1633 | /**
|
1634 | * Border width of the text fregment.
|
1635 | *
|
1636 | *
|
1637 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
1638 | */
|
1639 | borderWidth?: number | undefined;
|
1640 |
|
1641 | /**
|
1642 | * Border radius of the text fregment.
|
1643 | *
|
1644 | *
|
1645 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
1646 | */
|
1647 | borderRadius?: number | undefined;
|
1648 |
|
1649 | /**
|
1650 | * Padding of the text fregment, for example:
|
1651 | *
|
1652 | * + `padding: [3, 4, 5, 6]`: represents padding
|
1653 | * of `[top, right, bottom, left]`.
|
1654 | * + `padding: 4`: represents `padding: [4, 4, 4,
|
1655 | * 4]`.
|
1656 | * + `padding: [3, 4]`: represents `padding: [3,
|
1657 | * 4, 3, 4]`.
|
1658 | *
|
1659 | * Notice, `width` and `height` specifies the width
|
1660 | * and height of the content, without `padding`.
|
1661 | *
|
1662 | *
|
1663 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
1664 | */
|
1665 | padding?: any[] | number | undefined;
|
1666 |
|
1667 | /**
|
1668 | * Shadow color of the text block.
|
1669 | *
|
1670 | *
|
1671 | * @default
|
1672 | * "transparent"
|
1673 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
1674 | */
|
1675 | shadowColor?: string | undefined;
|
1676 |
|
1677 | /**
|
1678 | * Show blur of the text block.
|
1679 | *
|
1680 | *
|
1681 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
1682 | */
|
1683 | shadowBlur?: number | undefined;
|
1684 |
|
1685 | /**
|
1686 | * Shadow X offset of the text block.
|
1687 | *
|
1688 | *
|
1689 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
1690 | */
|
1691 | shadowOffsetX?: number | undefined;
|
1692 |
|
1693 | /**
|
1694 | * Shadow Y offset of the text block.
|
1695 | *
|
1696 | *
|
1697 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
1698 | */
|
1699 | shadowOffsetY?: number | undefined;
|
1700 |
|
1701 | /**
|
1702 | * Width of the text block.
|
1703 | * It is the width of the text by default.
|
1704 | * In most cases, there is no need to specify it.
|
1705 | * You may want to use it in some cases like make
|
1706 | * simple table or using background image (see `backgroundColor`).
|
1707 | *
|
1708 | * Notice, `width` and `height` specifies the width
|
1709 | * and height of the content, without `padding`.
|
1710 | *
|
1711 | * `width` can also be percent string, like `'100%'`,
|
1712 | * which represents the percent of `contentWidth`
|
1713 | * (that is, the width without `padding`) of its
|
1714 | * container box.
|
1715 | * It is based on `contentWidth` because that each
|
1716 | * text fregment is layout based on the `content
|
1717 | * box`, where it makes no sense that calculating
|
1718 | * width based on `outerWith` in prectice.
|
1719 | *
|
1720 | * Notice, `width` and `height` only work when `rich`
|
1721 | * specified.
|
1722 | *
|
1723 | *
|
1724 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
1725 | */
|
1726 | width?: number | string | undefined;
|
1727 |
|
1728 | /**
|
1729 | * Height of the text block.
|
1730 | * It is the width of the text by default.
|
1731 | * You may want to use it in some cases like using
|
1732 | * background image (see `backgroundColor`).
|
1733 | *
|
1734 | * Notice, `width` and `height` specifies the width
|
1735 | * and height of the content, without `padding`.
|
1736 | *
|
1737 | * Notice, `width` and `height` only work when `rich`
|
1738 | * specified.
|
1739 | *
|
1740 | *
|
1741 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
1742 | */
|
1743 | height?: number | string | undefined;
|
1744 |
|
1745 | /**
|
1746 | * Storke color of the text.
|
1747 | *
|
1748 | * If set as `'auto'`, the color will assigned as
|
1749 | * visual color, such as series color.
|
1750 | *
|
1751 | *
|
1752 | * @default
|
1753 | * "transparent"
|
1754 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
1755 | */
|
1756 | textBorderColor?: string | undefined;
|
1757 |
|
1758 | /**
|
1759 | * Storke line width of the text.
|
1760 | *
|
1761 | *
|
1762 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
1763 | */
|
1764 | textBorderWidth?: number | undefined;
|
1765 |
|
1766 | /**
|
1767 | * Shadow color of the text itself.
|
1768 | *
|
1769 | *
|
1770 | * @default
|
1771 | * "transparent"
|
1772 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
1773 | */
|
1774 | textShadowColor?: string | undefined;
|
1775 |
|
1776 | /**
|
1777 | * Shadow blue of the text itself.
|
1778 | *
|
1779 | *
|
1780 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
1781 | */
|
1782 | textShadowBlur?: number | undefined;
|
1783 |
|
1784 | /**
|
1785 | * Shadow X offset of the text itself.
|
1786 | *
|
1787 | *
|
1788 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
1789 | */
|
1790 | textShadowOffsetX?: number | undefined;
|
1791 |
|
1792 | /**
|
1793 | * Shadow Y offset of the text itself.
|
1794 | *
|
1795 | *
|
1796 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
1797 | */
|
1798 | textShadowOffsetY?: number | undefined;
|
1799 | };
|
1800 | } | undefined;
|
1801 | } | undefined;
|
1802 |
|
1803 | /**
|
1804 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle
|
1805 | */
|
1806 | itemStyle?: {
|
1807 | /**
|
1808 | * Bar color..
|
1809 | *
|
1810 | *
|
1811 | * @default
|
1812 | * "auto"
|
1813 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.color
|
1814 | */
|
1815 | color?: string | undefined;
|
1816 |
|
1817 | /**
|
1818 | * The bodrder color of bar.
|
1819 | *
|
1820 | *
|
1821 | * @default
|
1822 | * '#000'
|
1823 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.barBorderColor
|
1824 | */
|
1825 | barBorderColor?: string | undefined;
|
1826 |
|
1827 | /**
|
1828 | * The bodrder width of bar. defaults to have no border.
|
1829 | *
|
1830 | *
|
1831 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.barBorderWidth
|
1832 | */
|
1833 | barBorderWidth?: number | undefined;
|
1834 |
|
1835 | /**
|
1836 | * Size of shadow blur.
|
1837 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
1838 | * `shadowOffsetY` to set shadow to component.
|
1839 | *
|
1840 | * For example:
|
1841 | *
|
1842 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.itemStyle)
|
1843 | *
|
1844 | *
|
1845 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowBlur
|
1846 | */
|
1847 | shadowBlur?: number | undefined;
|
1848 |
|
1849 | /**
|
1850 | * Shadow color. Support same format as `color`.
|
1851 | *
|
1852 | *
|
1853 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowColor
|
1854 | */
|
1855 | shadowColor?: string | undefined;
|
1856 |
|
1857 | /**
|
1858 | * Offset distance on the horizontal direction of shadow.
|
1859 | *
|
1860 | *
|
1861 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowOffsetX
|
1862 | */
|
1863 | shadowOffsetX?: number | undefined;
|
1864 |
|
1865 | /**
|
1866 | * Offset distance on the vertical direction of shadow.
|
1867 | *
|
1868 | *
|
1869 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowOffsetY
|
1870 | */
|
1871 | shadowOffsetY?: number | undefined;
|
1872 |
|
1873 | /**
|
1874 | * Opacity of the component.
|
1875 | * Supports value from 0 to 1, and the component will not
|
1876 | * be drawn when set to 0.
|
1877 | *
|
1878 | *
|
1879 | * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.opacity
|
1880 | */
|
1881 | opacity?: number | undefined;
|
1882 | } | undefined;
|
1883 | } | undefined;
|
1884 |
|
1885 | /**
|
1886 | * Name of stack.
|
1887 | * On the same category axis, the series with the same `stack` name
|
1888 | * would be put on top of each other.
|
1889 | *
|
1890 | *
|
1891 | * @see https://echarts.apache.org/en/option.html#series-bar.stack
|
1892 | */
|
1893 | stack?: string | undefined;
|
1894 |
|
1895 | /**
|
1896 | * The mouse style when mouse hovers on an element, the same as
|
1897 | * `cursor` property in `CSS`.
|
1898 | *
|
1899 | *
|
1900 | * @default
|
1901 | * "pointer"
|
1902 | * @see https://echarts.apache.org/en/option.html#series-bar.cursor
|
1903 | */
|
1904 | cursor?: string | undefined;
|
1905 |
|
1906 | /**
|
1907 | * The width of the bar. Adaptive when not specified.
|
1908 | *
|
1909 | * Can be an absolute value like 40 or a percent value like '60%'. The percent is based on the calculated category width.
|
1910 | *
|
1911 | * In a single coodinate system, this attribute is shared by multiple
|
1912 | * `'bar'` series.
|
1913 | * This attribute should be set on the last `'bar'` series in the
|
1914 | * coodinate system, then it will be adopted by all `'bar'` series
|
1915 | * in the coordinate system.
|
1916 | *
|
1917 | *
|
1918 | * @see https://echarts.apache.org/en/option.html#series-bar.barWidth
|
1919 | */
|
1920 | barWidth?: number | string | undefined;
|
1921 |
|
1922 | /**
|
1923 | * The maximum width of the bar. Adaptive when not specified.
|
1924 | *
|
1925 | * Has higer priority than barWidth.
|
1926 | *
|
1927 | * Can be an absolute value like 40 or a percent value like '60%'. The percent is based on the calculated category width.
|
1928 | *
|
1929 | * In a single coodinate system, this attribute is shared by multiple
|
1930 | * `'bar'` series.
|
1931 | * This attribute should be set on the last `'bar'` series in the
|
1932 | * coodinate system, then it will be adopted by all `'bar'` series
|
1933 | * in the coordinate system.
|
1934 | *
|
1935 | *
|
1936 | * @see https://echarts.apache.org/en/option.html#series-bar.barMaxWidth
|
1937 | */
|
1938 | barMaxWidth?: number | string | undefined;
|
1939 |
|
1940 | /**
|
1941 | * The minimum width of the bar. In cartesian the default value is 1, otherwise the default value if null.
|
1942 | *
|
1943 | * Has higer priority than barWidth.
|
1944 | *
|
1945 | * Can be an absolute value like 40 or a percent value like ''60%''. The percent is based on the calculated category width.
|
1946 | *
|
1947 | * In a single coodinate system, this attribute is shared by multiple
|
1948 | * ''bar'' series.
|
1949 | * This attribute should be set on the last ''bar'' series in the
|
1950 | * coodinate system, then it will be adopted by all 'bar' series
|
1951 | * in the coordinate system.
|
1952 | *
|
1953 | * *
|
1954 | * @see https://echarts.apache.org/en/option.html#series-bar.barMinWidth
|
1955 | */
|
1956 | barMinWidth?: number | string | undefined;
|
1957 |
|
1958 | /**
|
1959 | * The minimum width of bar.
|
1960 | * It could be used to avoid the following situation: the interaction
|
1961 | * would be affected when the value of some data item is too small.
|
1962 | *
|
1963 | *
|
1964 | * @see https://echarts.apache.org/en/option.html#series-bar.barMinHeight
|
1965 | */
|
1966 | barMinHeight?: number | undefined;
|
1967 |
|
1968 | /**
|
1969 | * The gap between bars between different series, is a percent value
|
1970 | * like `'30%'`, which means `30%` of the bar width.
|
1971 | *
|
1972 | * Set barGap as `'-100%'` can overlap bars that belong to different
|
1973 | * series, which is useful when making a series of bar be background.
|
1974 | *
|
1975 | * In a single coodinate system, this attribute is shared by multiple
|
1976 | * `'bar'` series.
|
1977 | * This attribute should be set on the last `'bar'` series in the
|
1978 | * coodinate system, then it will be adopted by all `'bar'` series
|
1979 | * in the coordinate system.
|
1980 | *
|
1981 | * For example:
|
1982 | *
|
1983 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
1984 | *
|
1985 | *
|
1986 | * @default
|
1987 | * 30%
|
1988 | * @see https://echarts.apache.org/en/option.html#series-bar.barGap
|
1989 | */
|
1990 | barGap?: string | undefined;
|
1991 |
|
1992 | /**
|
1993 | * The bar gap of a single series, defaults to be `20%` of the category
|
1994 | * gap, can be set as a fixed value.
|
1995 | *
|
1996 | * In a single coodinate system, this attribute is shared by multiple
|
1997 | * `'bar'` series.
|
1998 | * This attribute should be set on the last `'bar'` series in the
|
1999 | * coodinate system, then it will be adopted by all `'bar'` series
|
2000 | * in the coordinate system.
|
2001 | *
|
2002 | *
|
2003 | * @default
|
2004 | * '20%'
|
2005 | * @see https://echarts.apache.org/en/option.html#series-bar.barCategoryGap
|
2006 | */
|
2007 | barCategoryGap?: string | undefined;
|
2008 |
|
2009 | /**
|
2010 | * Whether to enable the optimization of large-scale data.
|
2011 | * It could be set when large data causes performance problem.
|
2012 | *
|
2013 | * After being enabled, `largeThreshold` can be used to indicate
|
2014 | * the minimum number for turning on the optimization.
|
2015 | *
|
2016 | * But when the optimization enabled, the style of single data item
|
2017 | * can't be customized any more.
|
2018 | *
|
2019 | *
|
2020 | * @see https://echarts.apache.org/en/option.html#series-bar.large
|
2021 | */
|
2022 | large?: boolean | undefined;
|
2023 |
|
2024 | /**
|
2025 | * The threshold enabling the drawing optimization.
|
2026 | *
|
2027 | *
|
2028 | * @default
|
2029 | * 400
|
2030 | * @see https://echarts.apache.org/en/option.html#series-bar.largeThreshold
|
2031 | */
|
2032 | largeThreshold?: number | undefined;
|
2033 |
|
2034 | /**
|
2035 | * `progressive` specifies the amount of graphic elements that can
|
2036 | * be rendered within a frame (about 16ms) if "progressive rendering"
|
2037 | * enabled.
|
2038 | *
|
2039 | * When data amount is from thousand to more than 10 million, it
|
2040 | * will take too long time to render all of the graphic elements.
|
2041 | * Since ECharts 4, "progressive rendering" is supported in its
|
2042 | * workflow, which processes and renders data chunk by chunk alone
|
2043 | * with each frame, avoiding to block the UI thread of the browser.
|
2044 | *
|
2045 | *
|
2046 | * @default
|
2047 | * 5000
|
2048 | * @see https://echarts.apache.org/en/option.html#series-bar.progressive
|
2049 | */
|
2050 | progressive?: number | undefined;
|
2051 |
|
2052 | /**
|
2053 | * If current data amount is over the threshold, "progressive rendering"
|
2054 | * is enabled.
|
2055 | *
|
2056 | *
|
2057 | * @default
|
2058 | * 3000
|
2059 | * @see https://echarts.apache.org/en/option.html#series-bar.progressiveThreshold
|
2060 | */
|
2061 | progressiveThreshold?: number | undefined;
|
2062 |
|
2063 | /**
|
2064 | * Chunk approach, optional values:
|
2065 | *
|
2066 | * + `'sequential'`: slice data by data index.
|
2067 | * + `'mod'`: slice data by mod, which make the data items of each
|
2068 | * chunk coming from all over the data, bringing better visual effect
|
2069 | * while progressive rendering.
|
2070 | *
|
2071 | *
|
2072 | * @default
|
2073 | * "mod"
|
2074 | * @see https://echarts.apache.org/en/option.html#series-bar.progressiveChunkMode
|
2075 | */
|
2076 | progressiveChunkMode?: string | undefined;
|
2077 |
|
2078 | /**
|
2079 | * `dimensions` can be used to define dimension info for `series.data`
|
2080 | * or `dataset.source`.
|
2081 | *
|
2082 | * Notice: if
|
2083 | * [dataset](https://echarts.apache.org/en/option.html#dataset)
|
2084 | * is used, we can provide dimension names in the first column/row
|
2085 | * of
|
2086 | * [dataset.source](https://echarts.apache.org/en/option.html#dataset.source)
|
2087 | * , and not need to specify `dimensions` here.
|
2088 | * But if `dimensions` is specified here, echarts will not retrieve
|
2089 | * dimension names from the first row/column of `dataset.source`
|
2090 | * any more.
|
2091 | *
|
2092 | * For example:
|
2093 | *
|
2094 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2095 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2096 | *
|
2097 | * Each data item of `dimensions` can be:
|
2098 | *
|
2099 | * + `string`, for example, `'someName'`, which equals to `{name:
|
2100 | * 'someName'}`.
|
2101 | * + `Object`, where the attributes can be:
|
2102 | * + name: `string`.
|
2103 | * + type: `string`, supports:
|
2104 | * + `number`
|
2105 | * + `float`, that is,
|
2106 | * [Float64Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array)
|
2107 | *
|
2108 | * + `int`, that is,
|
2109 | * [Int32Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array)
|
2110 | *
|
2111 | * + `ordinal`, discrete value, which represents string generally.
|
2112 | * + `time`, time value, see
|
2113 | * [data](https://echarts.apache.org/en/option.html#series.data)
|
2114 | * to check the format of time value.
|
2115 | * + displayName: `string`, generally used in tooltip for dimension
|
2116 | * display. If not specified, use `name` by default.
|
2117 | *
|
2118 | * When `dimensions` is specified, the default `tooltip` will be
|
2119 | * displayed vertically, which is better to show diemsion names.
|
2120 | * Otherwise, `tooltip` will displayed only value horizontally.
|
2121 | *
|
2122 | *
|
2123 | * @see https://echarts.apache.org/en/option.html#series-bar.dimensions
|
2124 | */
|
2125 | dimensions?: any[] | undefined;
|
2126 |
|
2127 | /**
|
2128 | * Define what is encoded to for each dimension of `data`.
|
2129 | * For example:
|
2130 | *
|
2131 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2132 | *
|
2133 | * Attributes of encode are different according to the type of coordinate
|
2134 | * systtems. For
|
2135 | * [cartesian2d](https://echarts.apache.org/en/option.html#grid)
|
2136 | * , `x` and `y` can be defined. For
|
2137 | * [polar](https://echarts.apache.org/en/option.html#polar)
|
2138 | * , `radius` and `angle` can be defined. For
|
2139 | * [geo](https://echarts.apache.org/en/option.html#geo)
|
2140 | * , `lng` and `lat` can be defined.
|
2141 | * Attribute `tooltip` and `itemName` (data item name in tooltip)
|
2142 | * are always able to be defined.
|
2143 | *
|
2144 | * When
|
2145 | * [dimensions](https://echarts.apache.org/en/option.html#series.dimensions)
|
2146 | * is used to defined name for a certain dimension, `encode` can
|
2147 | * refer the name directly. For example:
|
2148 | *
|
2149 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2150 | *
|
2151 | * Specially, in \[custom series(~series-custom), some property
|
2152 | * in `encode`, corresponding to axis, can be set as null to make
|
2153 | * the series not controlled by the axis, that is, the series data
|
2154 | * will not be count in the extent of the axis, and the
|
2155 | * [dataZoom](https://echarts.apache.org/en/option.html#dataZoom)
|
2156 | * on the axis will not filter the series.
|
2157 | *
|
2158 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2159 | *
|
2160 | *
|
2161 | * @see https://echarts.apache.org/en/option.html#series-bar.encode
|
2162 | */
|
2163 | encode?: object | undefined;
|
2164 |
|
2165 | /**
|
2166 | * When
|
2167 | * [dataset](https://echarts.apache.org/en/option.html#dataset)
|
2168 | * is used, `seriesLayoutBy` specifies whether the column or the
|
2169 | * row of `dataset` is mapped to the series, namely, the series
|
2170 | * is "layout" on columns or rows. Optional values:
|
2171 | *
|
2172 | * + 'column': by default, the columns of `dataset` are mapped the
|
2173 | * series. In this case, each column represents a dimension.
|
2174 | * + 'row':the rows of `dataset` are mapped to the series.
|
2175 | * In this case, each row represents a dimension.
|
2176 | *
|
2177 | * Check this
|
2178 | * [example](https://echarts.apache.org/examples/en/editor.html?c=dataset-series-layout-by)
|
2179 | * .
|
2180 | *
|
2181 | *
|
2182 | * @default
|
2183 | * "column"
|
2184 | * @see https://echarts.apache.org/en/option.html#series-bar.seriesLayoutBy
|
2185 | */
|
2186 | seriesLayoutBy?: string | undefined;
|
2187 |
|
2188 | /**
|
2189 | * If
|
2190 | * [series.data](https://echarts.apache.org/en/option.html#series.data)
|
2191 | * is not specified, and
|
2192 | * [dataset](https://echarts.apache.org/en/option.html#dataset)
|
2193 | * exists, the series will use `dataset`.
|
2194 | * `datasetIndex` specifies which dataset will be used.
|
2195 | *
|
2196 | *
|
2197 | * @see https://echarts.apache.org/en/option.html#series-bar.datasetIndex
|
2198 | */
|
2199 | datasetIndex?: number | undefined;
|
2200 |
|
2201 | /**
|
2202 | * Data array of series, which can be in the following forms:
|
2203 | *
|
2204 | * Notice, if no `data` specified in series, and there is
|
2205 | * [dataset](https://echarts.apache.org/en/option.html#dataset)
|
2206 | * in option, series will use the first
|
2207 | * [dataset](https://echarts.apache.org/en/option.html#dataset)
|
2208 | * as its datasource. If `data` has been specified,
|
2209 | * [dataset](https://echarts.apache.org/en/option.html#dataset)
|
2210 | * will not used.
|
2211 | *
|
2212 | * `series.datasetIndex` can be used to specify other
|
2213 | * [dataset](https://echarts.apache.org/en/option.html#dataset)
|
2214 | * .
|
2215 | *
|
2216 | * Basically, data is represented by a two-dimension array, like
|
2217 | * the example below, where each colum is named as a "dimension".
|
2218 | *
|
2219 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2220 | *
|
2221 | * + In
|
2222 | * [cartesian (grid)](https://echarts.apache.org/en/option.html#grid)
|
2223 | * , "dimX" and "dimY" correspond to
|
2224 | * [xAxis](https://echarts.apache.org/en/option.html#xAxis)
|
2225 | * and
|
2226 | * [yAxis](https://echarts.apache.org/en/option.html#yAxis)
|
2227 | * repectively.
|
2228 | * + In
|
2229 | * [polar](https://echarts.apache.org/en/option.html#polar)
|
2230 | * "dimX" and "dimY" correspond to
|
2231 | * [radiusAxis](https://echarts.apache.org/en/option.html#radiusAxis)
|
2232 | * 和
|
2233 | * [angleAxis](https://echarts.apache.org/en/option.html#anbleAxis)
|
2234 | * repectively.
|
2235 | * + Other dimensions are optional, which can be used in other place.
|
2236 | * For example:
|
2237 | * + [visualMap](https://echarts.apache.org/en/option.html#visualMap)
|
2238 | * can map one or more dimensions to viusal (color, symbol size
|
2239 | * ...).
|
2240 | * + [series.symbolSize](https://echarts.apache.org/en/option.html#series.symbolSize)
|
2241 | * can be set as a callback function, where symbol size can be calculated
|
2242 | * by values of a certain dimension.
|
2243 | * + Values in other dimensions can be shown by
|
2244 | * [tooltip.formatter](https://echarts.apache.org/en/option.html#tooltip.formatter)
|
2245 | * or
|
2246 | * [series.label.formatter](https://echarts.apache.org/en/option.html#series.label.formatter)
|
2247 | * .
|
2248 | *
|
2249 | * Especially, when there is one and only one category axis (axis.type
|
2250 | * is `'category'`), data can be simply be represented by a one-dimension
|
2251 | * array, like:
|
2252 | *
|
2253 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2254 | *
|
2255 | * **Relationship between "value" and
|
2256 | * [axis.type](https://echarts.apache.org/en/option.html#xAxis.type)
|
2257 | * **
|
2258 | *
|
2259 | * + When a dimension corresponds to a value axis (axis.type
|
2260 | * is `'value'` or `'log'`):
|
2261 | *
|
2262 | * The value can be a `number` (like `12`) (can also be a number
|
2263 | * in a `string` format, like `'12'`).
|
2264 | *
|
2265 | * + When a dimension corresponds to a category axis (axis.type
|
2266 | * is `'category'`):
|
2267 | *
|
2268 | * The value should be the ordinal of the axis.data
|
2269 | * (based on `0`), the string value of the axis.data.
|
2270 | * For example:
|
2271 | *
|
2272 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2273 | *
|
2274 | * There is an example of double category axes:
|
2275 | * [Github Punchcard](https://echarts.apache.org/examples/en/editor.html?c=scatter-punchCard)
|
2276 | * .
|
2277 | *
|
2278 | * + When a dimension corresponds to a time axis (type is `'time'`),
|
2279 | * the value can be:
|
2280 | *
|
2281 | * + a timestamp, like `1484141700832`, which represents a UTC time.
|
2282 | * + a date string, in one of the formats below:
|
2283 | * + a subset of
|
2284 | * [ISO 8601](http://www.ecma-international.org/ecma-262/5.1/#se
|
2285 | * c-15.9.1.15)
|
2286 | * , only including (all of these are treated as local time unless
|
2287 | * timezone is specified, which is consistent with
|
2288 | * [moment](https://momentjs.com/)
|
2289 | * ):
|
2290 | * + only part of year/month/date/time are specified: `'2012-03'`,
|
2291 | * `'2012-03-01'`, `'2012-03-01 05'`, `'2012-03-01 05:06'`.
|
2292 | * + separated by `"T"` or a space: `'2012-03-01T12:22:33.123'`,
|
2293 | * `'2012-03-01 12:22:33.123'`.
|
2294 | * + timezone specified: `'2012-03-01T12:22:33Z'`, `'2012-03-01T12:22:33+8000'`,
|
2295 | * `'2012-03-01T12:22:33-05:00'`.
|
2296 | * + other date string format (all of these are treated as local
|
2297 | * time): `'2012'`, `'2012-3-1'`, `'2012/3/1'`, `'2012/03/01'`,
|
2298 | * `'2009/6/12 2:00'`, `'2009/6/12 2:05:08'`, `'2009/6/12 2:05:08.123'`.
|
2299 | * + a JavaScript Date instance created by user:
|
2300 | * + Caution, when using a data string to create a Date instance,
|
2301 | * [browser differences and inconsistencies](http://dygraphs.com/date-formats.html)
|
2302 | * should be considered.
|
2303 | * + For example: In chrome, `new Date('2012-01-01')` is treated
|
2304 | * as a Jan 1st 2012 in UTC, while `new Date('2012-1-1')` and `new
|
2305 | * Date('2012/01/01')` are treated as Jan 1st 2012 in local timezone.
|
2306 | * In safari `new Date('2012-1-1')` is not supported.
|
2307 | * + So if you intent to perform `new Date(dateString)`, it is strongly
|
2308 | * recommended to use a time parse library (e.g.,
|
2309 | * [moment](https://momentjs.com/)
|
2310 | * ), or use `echarts.number.parseDate`, or check
|
2311 | * [this](http://dygraphs.com/date-formats.html)
|
2312 | * .
|
2313 | *
|
2314 | * **Customize a data item:**
|
2315 | *
|
2316 | * When needing to customize a data item, it can be set as an object,
|
2317 | * where property `value` reprensent real value. For example:
|
2318 | *
|
2319 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
2320 | *
|
2321 | * **Empty value:**
|
2322 | *
|
2323 | * `'-'` or `null` or `undefined` or `NaN` can be used to describe
|
2324 | * that a data item is not exists (ps:_not exist_ does not means
|
2325 | * its value is `0`).
|
2326 | *
|
2327 | * For example, line chart can break when encounter an empty value,
|
2328 | * and scatter chart do not display graphic elements for empty values.
|
2329 | *
|
2330 | *
|
2331 | * @see https://echarts.apache.org/en/option.html#series-bar.data
|
2332 | */
|
2333 | data?:
|
2334 | | (void | string | number | SeriesBar.DataObject)[]
|
2335 | | (void | string | number | SeriesBar.DataObject)[][] | undefined;
|
2336 |
|
2337 | /**
|
2338 | * Mark point in a chart.
|
2339 | *
|
2340 | *
|
2341 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint
|
2342 | */
|
2343 | markPoint?: {
|
2344 | /**
|
2345 | * Symbol of .
|
2346 | *
|
2347 | * Icon types provided by ECharts includes `'circle'`, `'rect'`,
|
2348 | * `'roundRect'`, `'triangle'`, `'diamond'`, `'pin'`, `'arrow'`,
|
2349 | * `'none'`
|
2350 | *
|
2351 | * It can be set to an image with `'image://url'` , in which
|
2352 | * URL is the link to an image, or `dataURI` of an image.
|
2353 | *
|
2354 | * An image URL example:
|
2355 | *
|
2356 | * ```
|
2357 | * 'image://http://xxx.xxx.xxx/a/b.png'
|
2358 | *
|
2359 | * ```
|
2360 | *
|
2361 | * A `dataURI` example:
|
2362 | *
|
2363 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
|
2364 | *
|
2365 | * Icons can be set to arbitrary vector path via `'path://'`
|
2366 | * in ECharts.
|
2367 | * As compared with raster image, vector paths prevent from
|
2368 | * jagging and blurring when scaled, and have a better control
|
2369 | * over changing colors.
|
2370 | * Size of vectoer icon will be adapted automatically.
|
2371 | * Refer to
|
2372 | * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
|
2373 | * for more information about format of path.
|
2374 | * You may export vector paths from tools like Adobe Illustrator.
|
2375 | *
|
2376 | * For example:
|
2377 | *
|
2378 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
|
2379 | *
|
2380 | *
|
2381 | * @default
|
2382 | * "pin"
|
2383 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbol
|
2384 | */
|
2385 | symbol?: string | undefined;
|
2386 |
|
2387 | /**
|
2388 | * symbol size.
|
2389 | * It can be set to single numbers like `10`, or use an array
|
2390 | * to represent width and height.
|
2391 | * For example, `[20, 10]` means symbol width is `20`, and height
|
2392 | * is`10`.
|
2393 | *
|
2394 | * If size of symbols needs to be different, you can set with
|
2395 | * callback function in the following format:
|
2396 | *
|
2397 | * ```
|
2398 | * (value: Array|number, params: Object) => number|Array
|
2399 | *
|
2400 | * ```
|
2401 | *
|
2402 | * The first parameter `value` is the value in
|
2403 | * [data](https://echarts.apache.org/en/option.html#series-.data)
|
2404 | * , and the second parameter `params` is the rest parameters
|
2405 | * of data item.
|
2406 | *
|
2407 | *
|
2408 | * @default
|
2409 | * 50
|
2410 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolSize
|
2411 | */
|
2412 | symbolSize?: any[] | Function | number | undefined;
|
2413 |
|
2414 | /**
|
2415 | * Rotate degree of symbol.
|
2416 | * Note that when `symbol` is set to be `'arrow'` in `markLine`,
|
2417 | * `symbolRotate` value will be ignored, and compulsively use
|
2418 | * tangent angle.
|
2419 | *
|
2420 | *
|
2421 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolRotate
|
2422 | */
|
2423 | symbolRotate?: number | undefined;
|
2424 |
|
2425 | /**
|
2426 | * Whether to keep aspect for symbols in the form of `path://`.
|
2427 | *
|
2428 | *
|
2429 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolKeepAspect
|
2430 | */
|
2431 | symbolKeepAspect?: boolean | undefined;
|
2432 |
|
2433 | /**
|
2434 | * Offset of symbol relative to original position.
|
2435 | * By default, symbol will be put in the center position of
|
2436 | * data.
|
2437 | * But if symbol is from user-defined vector path or image,
|
2438 | * you may not expect symbol to be in center.
|
2439 | * In this case, you may use this attribute to set offset to
|
2440 | * default position.
|
2441 | * It can be in absolute pixel value, or in relative percentage
|
2442 | * value.
|
2443 | *
|
2444 | * For example, `[0, '50%']` means to move upside side position
|
2445 | * of symbol height.
|
2446 | * It can be used to make the arrow in the bottom to be at data
|
2447 | * position when symbol is pin.
|
2448 | *
|
2449 | *
|
2450 | * @default
|
2451 | * [0, 0]
|
2452 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolOffset
|
2453 | */
|
2454 | symbolOffset?: any[] | undefined;
|
2455 |
|
2456 | /**
|
2457 | * Whether to ignore mouse events.
|
2458 | * Default value is false, for triggering and responding to
|
2459 | * mouse events.
|
2460 | *
|
2461 | *
|
2462 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.silent
|
2463 | */
|
2464 | silent?: boolean | undefined;
|
2465 |
|
2466 | /**
|
2467 | * Label of mark point.
|
2468 | *
|
2469 | *
|
2470 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label
|
2471 | */
|
2472 | label?: {
|
2473 | /**
|
2474 | * Whether to show label.
|
2475 | *
|
2476 | *
|
2477 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.show
|
2478 | */
|
2479 | show?: boolean | undefined;
|
2480 |
|
2481 | /**
|
2482 | * Label position.
|
2483 | *
|
2484 | * **Followings are the options:**
|
2485 | *
|
2486 | * + \[x, y\]
|
2487 | *
|
2488 | * Use relative percentage, or absolute pixel values to
|
2489 | * represent position of label relative to top-left corner
|
2490 | * of bounding box. For example:
|
2491 | *
|
2492 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
|
2493 | *
|
2494 | * + 'top'
|
2495 | *
|
2496 | * + 'left'
|
2497 | * + 'right'
|
2498 | * + 'bottom'
|
2499 | * + 'inside'
|
2500 | * + 'insideLeft'
|
2501 | * + 'insideRight'
|
2502 | * + 'insideTop'
|
2503 | * + 'insideBottom'
|
2504 | * + 'insideTopLeft'
|
2505 | * + 'insideBottomLeft'
|
2506 | * + 'insideTopRight'
|
2507 | * + 'insideBottomRight'
|
2508 | *
|
2509 | * See:
|
2510 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
2511 | * .
|
2512 | *
|
2513 | *
|
2514 | * @default
|
2515 | * "inside"
|
2516 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.position
|
2517 | */
|
2518 | position?: any[] | string | undefined;
|
2519 |
|
2520 | /**
|
2521 | * Distance to the host graphic element.
|
2522 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
2523 | *
|
2524 | * See:
|
2525 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
2526 | * .
|
2527 | *
|
2528 | *
|
2529 | * @default
|
2530 | * 5
|
2531 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.distance
|
2532 | */
|
2533 | distance?: number | undefined;
|
2534 |
|
2535 | /**
|
2536 | * Rotate label, from -90 degree to 90, positive value represents
|
2537 | * rotate anti-clockwise.
|
2538 | *
|
2539 | * See:
|
2540 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
2541 | * .
|
2542 | *
|
2543 | *
|
2544 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rotate
|
2545 | */
|
2546 | rotate?: number | undefined;
|
2547 |
|
2548 | /**
|
2549 | * Whether to move text slightly.
|
2550 | * For example: `[30, 40]` means move `30` horizontally
|
2551 | * and move `40` vertically.
|
2552 | *
|
2553 | *
|
2554 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.offset
|
2555 | */
|
2556 | offset?: any[] | undefined;
|
2557 |
|
2558 | /**
|
2559 | * Data label formatter, which supports string template
|
2560 | * and callback function.
|
2561 | * In either form, `\n` is supported to represent a new
|
2562 | * line.
|
2563 | *
|
2564 | * **String template**
|
2565 | *
|
2566 | * Model variation includes:
|
2567 | *
|
2568 | * + `{a}`: series name.
|
2569 | * + `{b}`: the name of a data item.
|
2570 | * + `{c}`: the value of a data item.
|
2571 | * + `{@xxx}: the value of a dimension named`'xxx'`, for
|
2572 | * example,`{@product}`refers the value of`'product'\` dimension。
|
2573 | * + `{@[n]}: the value of a dimension at the index of`n`,
|
2574 | * for example,`{@\[3\]}\` refers the value at dimensions\[3\].
|
2575 | *
|
2576 | * **example:**
|
2577 | *
|
2578 | * ```
|
2579 | * formatter: '{b}: {@score}'
|
2580 | *
|
2581 | * ```
|
2582 | *
|
2583 | * **Callback function**
|
2584 | *
|
2585 | * Callback function is in form of:
|
2586 | *
|
2587 | * ```
|
2588 | * (params: Object|Array) => string
|
2589 | *
|
2590 | * ```
|
2591 | *
|
2592 | * where `params` is the single dataset needed by formatter,
|
2593 | * which is formed as:
|
2594 | *
|
2595 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
|
2596 | *
|
2597 | *
|
2598 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.formatter
|
2599 | */
|
2600 | formatter?: Function | string | undefined;
|
2601 |
|
2602 | /**
|
2603 | * text color.
|
2604 | *
|
2605 | * If set as `'auto'`, the color will assigned as visual
|
2606 | * color, such as series color.
|
2607 | *
|
2608 | *
|
2609 | * @default
|
2610 | * ""#fff""
|
2611 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.color
|
2612 | */
|
2613 | color?: string | undefined;
|
2614 |
|
2615 | /**
|
2616 | * font style
|
2617 | *
|
2618 | * Options are:
|
2619 | *
|
2620 | * + `'normal'`
|
2621 | * + `'italic'`
|
2622 | * + `'oblique'`
|
2623 | *
|
2624 | *
|
2625 | * @default
|
2626 | * "normal"
|
2627 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontStyle
|
2628 | */
|
2629 | fontStyle?: string | undefined;
|
2630 |
|
2631 | /**
|
2632 | * font thick weight
|
2633 | *
|
2634 | * Options are:
|
2635 | *
|
2636 | * + `'normal'`
|
2637 | * + `'bold'`
|
2638 | * + `'bolder'`
|
2639 | * + `'lighter'`
|
2640 | * + 100 | 200 | 300 | 400...
|
2641 | *
|
2642 | *
|
2643 | * @default
|
2644 | * "normal"
|
2645 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontWeight
|
2646 | */
|
2647 | fontWeight?: string | number | undefined;
|
2648 |
|
2649 | /**
|
2650 | * font family
|
2651 | *
|
2652 | * Can also be 'serif' , 'monospace', ...
|
2653 | *
|
2654 | *
|
2655 | * @default
|
2656 | * "sans-serif"
|
2657 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontFamily
|
2658 | */
|
2659 | fontFamily?: string | undefined;
|
2660 |
|
2661 | /**
|
2662 | * font size
|
2663 | *
|
2664 | *
|
2665 | * @default
|
2666 | * 12
|
2667 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontSize
|
2668 | */
|
2669 | fontSize?: number | undefined;
|
2670 |
|
2671 | /**
|
2672 | * Horizontal alignment of text, automatic by default.
|
2673 | *
|
2674 | * Options are:
|
2675 | *
|
2676 | * + `'left'`
|
2677 | * + `'center'`
|
2678 | * + `'right'`
|
2679 | *
|
2680 | * If `align` is not set in `rich`, `align` in parent level
|
2681 | * will be used. For example:
|
2682 | *
|
2683 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
|
2684 | *
|
2685 | *
|
2686 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.align
|
2687 | */
|
2688 | align?: string | undefined;
|
2689 |
|
2690 | /**
|
2691 | * Vertical alignment of text, automatic by default.
|
2692 | *
|
2693 | * Options are:
|
2694 | *
|
2695 | * + `'top'`
|
2696 | * + `'middle'`
|
2697 | * + `'bottom'`
|
2698 | *
|
2699 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
2700 | * in parent level will be used. For example:
|
2701 | *
|
2702 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
|
2703 | *
|
2704 | *
|
2705 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.verticalAlign
|
2706 | */
|
2707 | verticalAlign?: string | undefined;
|
2708 |
|
2709 | /**
|
2710 | * Line height of the text fregment.
|
2711 | *
|
2712 | * If `lineHeight` is not set in `rich`, `lineHeight` in
|
2713 | * parent level will be used. For example:
|
2714 | *
|
2715 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
|
2716 | *
|
2717 | *
|
2718 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.lineHeight
|
2719 | */
|
2720 | lineHeight?: number | undefined;
|
2721 |
|
2722 | /**
|
2723 | * Background color of the text fregment.
|
2724 | *
|
2725 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
2726 | *
|
2727 | * Or image can be used, for example:
|
2728 | *
|
2729 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
|
2730 | *
|
2731 | * `width` or `height` can be specified when using background
|
2732 | * image, or auto adapted by default.
|
2733 | *
|
2734 | * If set as `'auto'`, the color will assigned as visual
|
2735 | * color, such as series color.
|
2736 | *
|
2737 | *
|
2738 | * @default
|
2739 | * "transparent"
|
2740 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.backgroundColor
|
2741 | */
|
2742 | backgroundColor?: object | string | undefined;
|
2743 |
|
2744 | /**
|
2745 | * Border color of the text fregment.
|
2746 | *
|
2747 | * If set as `'auto'`, the color will assigned as visual
|
2748 | * color, such as series color.
|
2749 | *
|
2750 | *
|
2751 | * @default
|
2752 | * "transparent"
|
2753 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.borderColor
|
2754 | */
|
2755 | borderColor?: string | undefined;
|
2756 |
|
2757 | /**
|
2758 | * Border width of the text fregment.
|
2759 | *
|
2760 | *
|
2761 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.borderWidth
|
2762 | */
|
2763 | borderWidth?: number | undefined;
|
2764 |
|
2765 | /**
|
2766 | * Border radius of the text fregment.
|
2767 | *
|
2768 | *
|
2769 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.borderRadius
|
2770 | */
|
2771 | borderRadius?: number | undefined;
|
2772 |
|
2773 | /**
|
2774 | * Padding of the text fregment, for example:
|
2775 | *
|
2776 | * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
|
2777 | * right, bottom, left]`.
|
2778 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
2779 | * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
|
2780 | *
|
2781 | * Notice, `width` and `height` specifies the width and
|
2782 | * height of the content, without `padding`.
|
2783 | *
|
2784 | *
|
2785 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.padding
|
2786 | */
|
2787 | padding?: any[] | number | undefined;
|
2788 |
|
2789 | /**
|
2790 | * Shadow color of the text block.
|
2791 | *
|
2792 | *
|
2793 | * @default
|
2794 | * "transparent"
|
2795 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowColor
|
2796 | */
|
2797 | shadowColor?: string | undefined;
|
2798 |
|
2799 | /**
|
2800 | * Show blur of the text block.
|
2801 | *
|
2802 | *
|
2803 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowBlur
|
2804 | */
|
2805 | shadowBlur?: number | undefined;
|
2806 |
|
2807 | /**
|
2808 | * Shadow X offset of the text block.
|
2809 | *
|
2810 | *
|
2811 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowOffsetX
|
2812 | */
|
2813 | shadowOffsetX?: number | undefined;
|
2814 |
|
2815 | /**
|
2816 | * Shadow Y offset of the text block.
|
2817 | *
|
2818 | *
|
2819 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowOffsetY
|
2820 | */
|
2821 | shadowOffsetY?: number | undefined;
|
2822 |
|
2823 | /**
|
2824 | * Width of the text block.
|
2825 | * It is the width of the text by default.
|
2826 | * In most cases, there is no need to specify it.
|
2827 | * You may want to use it in some cases like make simple
|
2828 | * table or using background image (see `backgroundColor`).
|
2829 | *
|
2830 | * Notice, `width` and `height` specifies the width and
|
2831 | * height of the content, without `padding`.
|
2832 | *
|
2833 | * `width` can also be percent string, like `'100%'`, which
|
2834 | * represents the percent of `contentWidth` (that is, the
|
2835 | * width without `padding`) of its container box.
|
2836 | * It is based on `contentWidth` because that each text
|
2837 | * fregment is layout based on the `content box`, where
|
2838 | * it makes no sense that calculating width based on `outerWith`
|
2839 | * in prectice.
|
2840 | *
|
2841 | * Notice, `width` and `height` only work when `rich` specified.
|
2842 | *
|
2843 | *
|
2844 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.width
|
2845 | */
|
2846 | width?: number | string | undefined;
|
2847 |
|
2848 | /**
|
2849 | * Height of the text block.
|
2850 | * It is the width of the text by default.
|
2851 | * You may want to use it in some cases like using background
|
2852 | * image (see `backgroundColor`).
|
2853 | *
|
2854 | * Notice, `width` and `height` specifies the width and
|
2855 | * height of the content, without `padding`.
|
2856 | *
|
2857 | * Notice, `width` and `height` only work when `rich` specified.
|
2858 | *
|
2859 | *
|
2860 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.height
|
2861 | */
|
2862 | height?: number | string | undefined;
|
2863 |
|
2864 | /**
|
2865 | * Storke color of the text.
|
2866 | *
|
2867 | * If set as `'auto'`, the color will assigned as visual
|
2868 | * color, such as series color.
|
2869 | *
|
2870 | *
|
2871 | * @default
|
2872 | * "transparent"
|
2873 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textBorderColor
|
2874 | */
|
2875 | textBorderColor?: string | undefined;
|
2876 |
|
2877 | /**
|
2878 | * Storke line width of the text.
|
2879 | *
|
2880 | *
|
2881 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textBorderWidth
|
2882 | */
|
2883 | textBorderWidth?: number | undefined;
|
2884 |
|
2885 | /**
|
2886 | * Shadow color of the text itself.
|
2887 | *
|
2888 | *
|
2889 | * @default
|
2890 | * "transparent"
|
2891 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowColor
|
2892 | */
|
2893 | textShadowColor?: string | undefined;
|
2894 |
|
2895 | /**
|
2896 | * Shadow blue of the text itself.
|
2897 | *
|
2898 | *
|
2899 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowBlur
|
2900 | */
|
2901 | textShadowBlur?: number | undefined;
|
2902 |
|
2903 | /**
|
2904 | * Shadow X offset of the text itself.
|
2905 | *
|
2906 | *
|
2907 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowOffsetX
|
2908 | */
|
2909 | textShadowOffsetX?: number | undefined;
|
2910 |
|
2911 | /**
|
2912 | * Shadow Y offset of the text itself.
|
2913 | *
|
2914 | *
|
2915 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowOffsetY
|
2916 | */
|
2917 | textShadowOffsetY?: number | undefined;
|
2918 |
|
2919 | /**
|
2920 | * "Rich text styles" can be defined in this `rich` property.
|
2921 | * For example:
|
2922 | *
|
2923 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
|
2924 | *
|
2925 | * For more details, see
|
2926 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
2927 | * please.
|
2928 | *
|
2929 | *
|
2930 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich
|
2931 | */
|
2932 | rich?: {
|
2933 | /**
|
2934 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E
|
2935 | */
|
2936 | [userStyle: string]: {
|
2937 | /**
|
2938 | * text color.
|
2939 | *
|
2940 | * If set as `'auto'`, the color will assigned as
|
2941 | * visual color, such as series color.
|
2942 | *
|
2943 | *
|
2944 | * @default
|
2945 | * ""#fff""
|
2946 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
2947 | */
|
2948 | color?: string | undefined;
|
2949 |
|
2950 | /**
|
2951 | * font style
|
2952 | *
|
2953 | * Options are:
|
2954 | *
|
2955 | * + `'normal'`
|
2956 | * + `'italic'`
|
2957 | * + `'oblique'`
|
2958 | *
|
2959 | *
|
2960 | * @default
|
2961 | * "normal"
|
2962 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
2963 | */
|
2964 | fontStyle?: string | undefined;
|
2965 |
|
2966 | /**
|
2967 | * font thick weight
|
2968 | *
|
2969 | * Options are:
|
2970 | *
|
2971 | * + `'normal'`
|
2972 | * + `'bold'`
|
2973 | * + `'bolder'`
|
2974 | * + `'lighter'`
|
2975 | * + 100 | 200 | 300 | 400...
|
2976 | *
|
2977 | *
|
2978 | * @default
|
2979 | * "normal"
|
2980 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
2981 | */
|
2982 | fontWeight?: string | number | undefined;
|
2983 |
|
2984 | /**
|
2985 | * font family
|
2986 | *
|
2987 | * Can also be 'serif' , 'monospace', ...
|
2988 | *
|
2989 | *
|
2990 | * @default
|
2991 | * "sans-serif"
|
2992 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
2993 | */
|
2994 | fontFamily?: string | undefined;
|
2995 |
|
2996 | /**
|
2997 | * font size
|
2998 | *
|
2999 | *
|
3000 | * @default
|
3001 | * 12
|
3002 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
3003 | */
|
3004 | fontSize?: number | undefined;
|
3005 |
|
3006 | /**
|
3007 | * Horizontal alignment of text, automatic by default.
|
3008 | *
|
3009 | * Options are:
|
3010 | *
|
3011 | * + `'left'`
|
3012 | * + `'center'`
|
3013 | * + `'right'`
|
3014 | *
|
3015 | * If `align` is not set in `rich`, `align` in parent
|
3016 | * level will be used. For example:
|
3017 | *
|
3018 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
|
3019 | *
|
3020 | *
|
3021 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
3022 | */
|
3023 | align?: string | undefined;
|
3024 |
|
3025 | /**
|
3026 | * Vertical alignment of text, automatic by default.
|
3027 | *
|
3028 | * Options are:
|
3029 | *
|
3030 | * + `'top'`
|
3031 | * + `'middle'`
|
3032 | * + `'bottom'`
|
3033 | *
|
3034 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
3035 | * in parent level will be used. For example:
|
3036 | *
|
3037 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
|
3038 | *
|
3039 | *
|
3040 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
3041 | */
|
3042 | verticalAlign?: string | undefined;
|
3043 |
|
3044 | /**
|
3045 | * Line height of the text fregment.
|
3046 | *
|
3047 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
3048 | * in parent level will be used. For example:
|
3049 | *
|
3050 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
|
3051 | *
|
3052 | *
|
3053 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
3054 | */
|
3055 | lineHeight?: number | undefined;
|
3056 |
|
3057 | /**
|
3058 | * Background color of the text fregment.
|
3059 | *
|
3060 | * Can be color string, like `'#123234'`, `'red'`,
|
3061 | * `rgba(0,23,11,0.3)'`.
|
3062 | *
|
3063 | * Or image can be used, for example:
|
3064 | *
|
3065 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
|
3066 | *
|
3067 | * `width` or `height` can be specified when using
|
3068 | * background image, or auto adapted by default.
|
3069 | *
|
3070 | * If set as `'auto'`, the color will assigned as
|
3071 | * visual color, such as series color.
|
3072 | *
|
3073 | *
|
3074 | * @default
|
3075 | * "transparent"
|
3076 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
3077 | */
|
3078 | backgroundColor?: object | string | undefined;
|
3079 |
|
3080 | /**
|
3081 | * Border color of the text fregment.
|
3082 | *
|
3083 | * If set as `'auto'`, the color will assigned as
|
3084 | * visual color, such as series color.
|
3085 | *
|
3086 | *
|
3087 | * @default
|
3088 | * "transparent"
|
3089 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
3090 | */
|
3091 | borderColor?: string | undefined;
|
3092 |
|
3093 | /**
|
3094 | * Border width of the text fregment.
|
3095 | *
|
3096 | *
|
3097 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
3098 | */
|
3099 | borderWidth?: number | undefined;
|
3100 |
|
3101 | /**
|
3102 | * Border radius of the text fregment.
|
3103 | *
|
3104 | *
|
3105 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
3106 | */
|
3107 | borderRadius?: number | undefined;
|
3108 |
|
3109 | /**
|
3110 | * Padding of the text fregment, for example:
|
3111 | *
|
3112 | * + `padding: [3, 4, 5, 6]`: represents padding
|
3113 | * of `[top, right, bottom, left]`.
|
3114 | * + `padding: 4`: represents `padding: [4, 4, 4,
|
3115 | * 4]`.
|
3116 | * + `padding: [3, 4]`: represents `padding: [3,
|
3117 | * 4, 3, 4]`.
|
3118 | *
|
3119 | * Notice, `width` and `height` specifies the width
|
3120 | * and height of the content, without `padding`.
|
3121 | *
|
3122 | *
|
3123 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
3124 | */
|
3125 | padding?: any[] | number | undefined;
|
3126 |
|
3127 | /**
|
3128 | * Shadow color of the text block.
|
3129 | *
|
3130 | *
|
3131 | * @default
|
3132 | * "transparent"
|
3133 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
3134 | */
|
3135 | shadowColor?: string | undefined;
|
3136 |
|
3137 | /**
|
3138 | * Show blur of the text block.
|
3139 | *
|
3140 | *
|
3141 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
3142 | */
|
3143 | shadowBlur?: number | undefined;
|
3144 |
|
3145 | /**
|
3146 | * Shadow X offset of the text block.
|
3147 | *
|
3148 | *
|
3149 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
3150 | */
|
3151 | shadowOffsetX?: number | undefined;
|
3152 |
|
3153 | /**
|
3154 | * Shadow Y offset of the text block.
|
3155 | *
|
3156 | *
|
3157 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
3158 | */
|
3159 | shadowOffsetY?: number | undefined;
|
3160 |
|
3161 | /**
|
3162 | * Width of the text block.
|
3163 | * It is the width of the text by default.
|
3164 | * In most cases, there is no need to specify it.
|
3165 | * You may want to use it in some cases like make
|
3166 | * simple table or using background image (see `backgroundColor`).
|
3167 | *
|
3168 | * Notice, `width` and `height` specifies the width
|
3169 | * and height of the content, without `padding`.
|
3170 | *
|
3171 | * `width` can also be percent string, like `'100%'`,
|
3172 | * which represents the percent of `contentWidth`
|
3173 | * (that is, the width without `padding`) of its
|
3174 | * container box.
|
3175 | * It is based on `contentWidth` because that each
|
3176 | * text fregment is layout based on the `content
|
3177 | * box`, where it makes no sense that calculating
|
3178 | * width based on `outerWith` in prectice.
|
3179 | *
|
3180 | * Notice, `width` and `height` only work when `rich`
|
3181 | * specified.
|
3182 | *
|
3183 | *
|
3184 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
3185 | */
|
3186 | width?: number | string | undefined;
|
3187 |
|
3188 | /**
|
3189 | * Height of the text block.
|
3190 | * It is the width of the text by default.
|
3191 | * You may want to use it in some cases like using
|
3192 | * background image (see `backgroundColor`).
|
3193 | *
|
3194 | * Notice, `width` and `height` specifies the width
|
3195 | * and height of the content, without `padding`.
|
3196 | *
|
3197 | * Notice, `width` and `height` only work when `rich`
|
3198 | * specified.
|
3199 | *
|
3200 | *
|
3201 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
3202 | */
|
3203 | height?: number | string | undefined;
|
3204 |
|
3205 | /**
|
3206 | * Storke color of the text.
|
3207 | *
|
3208 | * If set as `'auto'`, the color will assigned as
|
3209 | * visual color, such as series color.
|
3210 | *
|
3211 | *
|
3212 | * @default
|
3213 | * "transparent"
|
3214 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
3215 | */
|
3216 | textBorderColor?: string | undefined;
|
3217 |
|
3218 | /**
|
3219 | * Storke line width of the text.
|
3220 | *
|
3221 | *
|
3222 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
3223 | */
|
3224 | textBorderWidth?: number | undefined;
|
3225 |
|
3226 | /**
|
3227 | * Shadow color of the text itself.
|
3228 | *
|
3229 | *
|
3230 | * @default
|
3231 | * "transparent"
|
3232 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
3233 | */
|
3234 | textShadowColor?: string | undefined;
|
3235 |
|
3236 | /**
|
3237 | * Shadow blue of the text itself.
|
3238 | *
|
3239 | *
|
3240 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
3241 | */
|
3242 | textShadowBlur?: number | undefined;
|
3243 |
|
3244 | /**
|
3245 | * Shadow X offset of the text itself.
|
3246 | *
|
3247 | *
|
3248 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
3249 | */
|
3250 | textShadowOffsetX?: number | undefined;
|
3251 |
|
3252 | /**
|
3253 | * Shadow Y offset of the text itself.
|
3254 | *
|
3255 | *
|
3256 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
3257 | */
|
3258 | textShadowOffsetY?: number | undefined;
|
3259 | };
|
3260 | } | undefined;
|
3261 |
|
3262 | /**
|
3263 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis
|
3264 | */
|
3265 | emphasis?: {
|
3266 | /**
|
3267 | * Whether to show label.
|
3268 | *
|
3269 | *
|
3270 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.show
|
3271 | */
|
3272 | show?: boolean | undefined;
|
3273 |
|
3274 | /**
|
3275 | * Label position.
|
3276 | *
|
3277 | * **Followings are the options:**
|
3278 | *
|
3279 | * + \[x, y\]
|
3280 | *
|
3281 | * Use relative percentage, or absolute pixel values
|
3282 | * to represent position of label relative to top-left
|
3283 | * corner of bounding box. For example:
|
3284 | *
|
3285 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
|
3286 | *
|
3287 | * + 'top'
|
3288 | *
|
3289 | * + 'left'
|
3290 | * + 'right'
|
3291 | * + 'bottom'
|
3292 | * + 'inside'
|
3293 | * + 'insideLeft'
|
3294 | * + 'insideRight'
|
3295 | * + 'insideTop'
|
3296 | * + 'insideBottom'
|
3297 | * + 'insideTopLeft'
|
3298 | * + 'insideBottomLeft'
|
3299 | * + 'insideTopRight'
|
3300 | * + 'insideBottomRight'
|
3301 | *
|
3302 | * See:
|
3303 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
3304 | * .
|
3305 | *
|
3306 | *
|
3307 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.position
|
3308 | */
|
3309 | position?: any[] | string | undefined;
|
3310 |
|
3311 | /**
|
3312 | * Distance to the host graphic element.
|
3313 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
3314 | *
|
3315 | * See:
|
3316 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
3317 | * .
|
3318 | *
|
3319 | *
|
3320 | * @default
|
3321 | * 5
|
3322 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.distance
|
3323 | */
|
3324 | distance?: number | undefined;
|
3325 |
|
3326 | /**
|
3327 | * Rotate label, from -90 degree to 90, positive value
|
3328 | * represents rotate anti-clockwise.
|
3329 | *
|
3330 | * See:
|
3331 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
3332 | * .
|
3333 | *
|
3334 | *
|
3335 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rotate
|
3336 | */
|
3337 | rotate?: number | undefined;
|
3338 |
|
3339 | /**
|
3340 | * Whether to move text slightly.
|
3341 | * For example: `[30, 40]` means move `30` horizontally
|
3342 | * and move `40` vertically.
|
3343 | *
|
3344 | *
|
3345 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.offset
|
3346 | */
|
3347 | offset?: any[] | undefined;
|
3348 |
|
3349 | /**
|
3350 | * Data label formatter, which supports string template
|
3351 | * and callback function.
|
3352 | * In either form, `\n` is supported to represent a
|
3353 | * new line.
|
3354 | *
|
3355 | * **String template**
|
3356 | *
|
3357 | * Model variation includes:
|
3358 | *
|
3359 | * + `{a}`: series name.
|
3360 | * + `{b}`: the name of a data item.
|
3361 | * + `{c}`: the value of a data item.
|
3362 | * + `{@xxx}: the value of a dimension named`'xxx'`,
|
3363 | * for example,`{@product}`refers the value of`'product'\`
|
3364 | * dimension。
|
3365 | * + `{@[n]}: the value of a dimension at the index
|
3366 | * of`n`, for example,`{@\[3\]}\` refers the value at
|
3367 | * dimensions\[3\].
|
3368 | *
|
3369 | * **example:**
|
3370 | *
|
3371 | * ```
|
3372 | * formatter: '{b}: {@score}'
|
3373 | *
|
3374 | * ```
|
3375 | *
|
3376 | * **Callback function**
|
3377 | *
|
3378 | * Callback function is in form of:
|
3379 | *
|
3380 | * ```
|
3381 | * (params: Object|Array) => string
|
3382 | *
|
3383 | * ```
|
3384 | *
|
3385 | * where `params` is the single dataset needed by formatter,
|
3386 | * which is formed as:
|
3387 | *
|
3388 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
|
3389 | *
|
3390 | *
|
3391 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.formatter
|
3392 | */
|
3393 | formatter?: Function | string | undefined;
|
3394 |
|
3395 | /**
|
3396 | * text color.
|
3397 | *
|
3398 | * If set as `'auto'`, the color will assigned as visual
|
3399 | * color, such as series color.
|
3400 | *
|
3401 | *
|
3402 | * @default
|
3403 | * ""#fff""
|
3404 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.color
|
3405 | */
|
3406 | color?: string | undefined;
|
3407 |
|
3408 | /**
|
3409 | * font style
|
3410 | *
|
3411 | * Options are:
|
3412 | *
|
3413 | * + `'normal'`
|
3414 | * + `'italic'`
|
3415 | * + `'oblique'`
|
3416 | *
|
3417 | *
|
3418 | * @default
|
3419 | * "normal"
|
3420 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontStyle
|
3421 | */
|
3422 | fontStyle?: string | undefined;
|
3423 |
|
3424 | /**
|
3425 | * font thick weight
|
3426 | *
|
3427 | * Options are:
|
3428 | *
|
3429 | * + `'normal'`
|
3430 | * + `'bold'`
|
3431 | * + `'bolder'`
|
3432 | * + `'lighter'`
|
3433 | * + 100 | 200 | 300 | 400...
|
3434 | *
|
3435 | *
|
3436 | * @default
|
3437 | * "normal"
|
3438 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontWeight
|
3439 | */
|
3440 | fontWeight?: string | number | undefined;
|
3441 |
|
3442 | /**
|
3443 | * font family
|
3444 | *
|
3445 | * Can also be 'serif' , 'monospace', ...
|
3446 | *
|
3447 | *
|
3448 | * @default
|
3449 | * "sans-serif"
|
3450 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontFamily
|
3451 | */
|
3452 | fontFamily?: string | undefined;
|
3453 |
|
3454 | /**
|
3455 | * font size
|
3456 | *
|
3457 | *
|
3458 | * @default
|
3459 | * 12
|
3460 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontSize
|
3461 | */
|
3462 | fontSize?: number | undefined;
|
3463 |
|
3464 | /**
|
3465 | * Horizontal alignment of text, automatic by default.
|
3466 | *
|
3467 | * Options are:
|
3468 | *
|
3469 | * + `'left'`
|
3470 | * + `'center'`
|
3471 | * + `'right'`
|
3472 | *
|
3473 | * If `align` is not set in `rich`, `align` in parent
|
3474 | * level will be used. For example:
|
3475 | *
|
3476 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
|
3477 | *
|
3478 | *
|
3479 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.align
|
3480 | */
|
3481 | align?: string | undefined;
|
3482 |
|
3483 | /**
|
3484 | * Vertical alignment of text, automatic by default.
|
3485 | *
|
3486 | * Options are:
|
3487 | *
|
3488 | * + `'top'`
|
3489 | * + `'middle'`
|
3490 | * + `'bottom'`
|
3491 | *
|
3492 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
3493 | * in parent level will be used. For example:
|
3494 | *
|
3495 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
|
3496 | *
|
3497 | *
|
3498 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.verticalAlign
|
3499 | */
|
3500 | verticalAlign?: string | undefined;
|
3501 |
|
3502 | /**
|
3503 | * Line height of the text fregment.
|
3504 | *
|
3505 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
3506 | * in parent level will be used. For example:
|
3507 | *
|
3508 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
|
3509 | *
|
3510 | *
|
3511 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.lineHeight
|
3512 | */
|
3513 | lineHeight?: number | undefined;
|
3514 |
|
3515 | /**
|
3516 | * Background color of the text fregment.
|
3517 | *
|
3518 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
3519 | *
|
3520 | * Or image can be used, for example:
|
3521 | *
|
3522 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
|
3523 | *
|
3524 | * `width` or `height` can be specified when using background
|
3525 | * image, or auto adapted by default.
|
3526 | *
|
3527 | * If set as `'auto'`, the color will assigned as visual
|
3528 | * color, such as series color.
|
3529 | *
|
3530 | *
|
3531 | * @default
|
3532 | * "transparent"
|
3533 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.backgroundColor
|
3534 | */
|
3535 | backgroundColor?: object | string | undefined;
|
3536 |
|
3537 | /**
|
3538 | * Border color of the text fregment.
|
3539 | *
|
3540 | * If set as `'auto'`, the color will assigned as visual
|
3541 | * color, such as series color.
|
3542 | *
|
3543 | *
|
3544 | * @default
|
3545 | * "transparent"
|
3546 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.borderColor
|
3547 | */
|
3548 | borderColor?: string | undefined;
|
3549 |
|
3550 | /**
|
3551 | * Border width of the text fregment.
|
3552 | *
|
3553 | *
|
3554 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.borderWidth
|
3555 | */
|
3556 | borderWidth?: number | undefined;
|
3557 |
|
3558 | /**
|
3559 | * Border radius of the text fregment.
|
3560 | *
|
3561 | *
|
3562 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.borderRadius
|
3563 | */
|
3564 | borderRadius?: number | undefined;
|
3565 |
|
3566 | /**
|
3567 | * Padding of the text fregment, for example:
|
3568 | *
|
3569 | * + `padding: [3, 4, 5, 6]`: represents padding of
|
3570 | * `[top, right, bottom, left]`.
|
3571 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
3572 | * + `padding: [3, 4]`: represents `padding: [3, 4,
|
3573 | * 3, 4]`.
|
3574 | *
|
3575 | * Notice, `width` and `height` specifies the width
|
3576 | * and height of the content, without `padding`.
|
3577 | *
|
3578 | *
|
3579 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.padding
|
3580 | */
|
3581 | padding?: any[] | number | undefined;
|
3582 |
|
3583 | /**
|
3584 | * Shadow color of the text block.
|
3585 | *
|
3586 | *
|
3587 | * @default
|
3588 | * "transparent"
|
3589 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowColor
|
3590 | */
|
3591 | shadowColor?: string | undefined;
|
3592 |
|
3593 | /**
|
3594 | * Show blur of the text block.
|
3595 | *
|
3596 | *
|
3597 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowBlur
|
3598 | */
|
3599 | shadowBlur?: number | undefined;
|
3600 |
|
3601 | /**
|
3602 | * Shadow X offset of the text block.
|
3603 | *
|
3604 | *
|
3605 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowOffsetX
|
3606 | */
|
3607 | shadowOffsetX?: number | undefined;
|
3608 |
|
3609 | /**
|
3610 | * Shadow Y offset of the text block.
|
3611 | *
|
3612 | *
|
3613 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowOffsetY
|
3614 | */
|
3615 | shadowOffsetY?: number | undefined;
|
3616 |
|
3617 | /**
|
3618 | * Width of the text block.
|
3619 | * It is the width of the text by default.
|
3620 | * In most cases, there is no need to specify it.
|
3621 | * You may want to use it in some cases like make simple
|
3622 | * table or using background image (see `backgroundColor`).
|
3623 | *
|
3624 | * Notice, `width` and `height` specifies the width
|
3625 | * and height of the content, without `padding`.
|
3626 | *
|
3627 | * `width` can also be percent string, like `'100%'`,
|
3628 | * which represents the percent of `contentWidth` (that
|
3629 | * is, the width without `padding`) of its container
|
3630 | * box.
|
3631 | * It is based on `contentWidth` because that each text
|
3632 | * fregment is layout based on the `content box`, where
|
3633 | * it makes no sense that calculating width based on
|
3634 | * `outerWith` in prectice.
|
3635 | *
|
3636 | * Notice, `width` and `height` only work when `rich`
|
3637 | * specified.
|
3638 | *
|
3639 | *
|
3640 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.width
|
3641 | */
|
3642 | width?: number | string | undefined;
|
3643 |
|
3644 | /**
|
3645 | * Height of the text block.
|
3646 | * It is the width of the text by default.
|
3647 | * You may want to use it in some cases like using background
|
3648 | * image (see `backgroundColor`).
|
3649 | *
|
3650 | * Notice, `width` and `height` specifies the width
|
3651 | * and height of the content, without `padding`.
|
3652 | *
|
3653 | * Notice, `width` and `height` only work when `rich`
|
3654 | * specified.
|
3655 | *
|
3656 | *
|
3657 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.height
|
3658 | */
|
3659 | height?: number | string | undefined;
|
3660 |
|
3661 | /**
|
3662 | * Storke color of the text.
|
3663 | *
|
3664 | * If set as `'auto'`, the color will assigned as visual
|
3665 | * color, such as series color.
|
3666 | *
|
3667 | *
|
3668 | * @default
|
3669 | * "transparent"
|
3670 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textBorderColor
|
3671 | */
|
3672 | textBorderColor?: string | undefined;
|
3673 |
|
3674 | /**
|
3675 | * Storke line width of the text.
|
3676 | *
|
3677 | *
|
3678 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textBorderWidth
|
3679 | */
|
3680 | textBorderWidth?: number | undefined;
|
3681 |
|
3682 | /**
|
3683 | * Shadow color of the text itself.
|
3684 | *
|
3685 | *
|
3686 | * @default
|
3687 | * "transparent"
|
3688 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowColor
|
3689 | */
|
3690 | textShadowColor?: string | undefined;
|
3691 |
|
3692 | /**
|
3693 | * Shadow blue of the text itself.
|
3694 | *
|
3695 | *
|
3696 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowBlur
|
3697 | */
|
3698 | textShadowBlur?: number | undefined;
|
3699 |
|
3700 | /**
|
3701 | * Shadow X offset of the text itself.
|
3702 | *
|
3703 | *
|
3704 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowOffsetX
|
3705 | */
|
3706 | textShadowOffsetX?: number | undefined;
|
3707 |
|
3708 | /**
|
3709 | * Shadow Y offset of the text itself.
|
3710 | *
|
3711 | *
|
3712 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowOffsetY
|
3713 | */
|
3714 | textShadowOffsetY?: number | undefined;
|
3715 |
|
3716 | /**
|
3717 | * "Rich text styles" can be defined in this `rich`
|
3718 | * property. For example:
|
3719 | *
|
3720 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
|
3721 | *
|
3722 | * For more details, see
|
3723 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
3724 | * please.
|
3725 | *
|
3726 | *
|
3727 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich
|
3728 | */
|
3729 | rich?: {
|
3730 | /**
|
3731 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
|
3732 | */
|
3733 | [userStyle: string]: {
|
3734 | /**
|
3735 | * text color.
|
3736 | *
|
3737 | * If set as `'auto'`, the color will assigned
|
3738 | * as visual color, such as series color.
|
3739 | *
|
3740 | *
|
3741 | * @default
|
3742 | * ""#fff""
|
3743 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
|
3744 | */
|
3745 | color?: string | undefined;
|
3746 |
|
3747 | /**
|
3748 | * font style
|
3749 | *
|
3750 | * Options are:
|
3751 | *
|
3752 | * + `'normal'`
|
3753 | * + `'italic'`
|
3754 | * + `'oblique'`
|
3755 | *
|
3756 | *
|
3757 | * @default
|
3758 | * "normal"
|
3759 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
3760 | */
|
3761 | fontStyle?: string | undefined;
|
3762 |
|
3763 | /**
|
3764 | * font thick weight
|
3765 | *
|
3766 | * Options are:
|
3767 | *
|
3768 | * + `'normal'`
|
3769 | * + `'bold'`
|
3770 | * + `'bolder'`
|
3771 | * + `'lighter'`
|
3772 | * + 100 | 200 | 300 | 400...
|
3773 | *
|
3774 | *
|
3775 | * @default
|
3776 | * "normal"
|
3777 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
3778 | */
|
3779 | fontWeight?: string | number | undefined;
|
3780 |
|
3781 | /**
|
3782 | * font family
|
3783 | *
|
3784 | * Can also be 'serif' , 'monospace', ...
|
3785 | *
|
3786 | *
|
3787 | * @default
|
3788 | * "sans-serif"
|
3789 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
3790 | */
|
3791 | fontFamily?: string | undefined;
|
3792 |
|
3793 | /**
|
3794 | * font size
|
3795 | *
|
3796 | *
|
3797 | * @default
|
3798 | * 12
|
3799 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
3800 | */
|
3801 | fontSize?: number | undefined;
|
3802 |
|
3803 | /**
|
3804 | * Horizontal alignment of text, automatic by
|
3805 | * default.
|
3806 | *
|
3807 | * Options are:
|
3808 | *
|
3809 | * + `'left'`
|
3810 | * + `'center'`
|
3811 | * + `'right'`
|
3812 | *
|
3813 | * If `align` is not set in `rich`, `align`
|
3814 | * in parent level will be used.
|
3815 | * For example:
|
3816 | *
|
3817 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
3818 | *
|
3819 | *
|
3820 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
|
3821 | */
|
3822 | align?: string | undefined;
|
3823 |
|
3824 | /**
|
3825 | * Vertical alignment of text, automatic by
|
3826 | * default.
|
3827 | *
|
3828 | * Options are:
|
3829 | *
|
3830 | * + `'top'`
|
3831 | * + `'middle'`
|
3832 | * + `'bottom'`
|
3833 | *
|
3834 | * If `verticalAlign` is not set in `rich`,
|
3835 | * `verticalAlign` in parent level will be used.
|
3836 | * For example:
|
3837 | *
|
3838 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
3839 | *
|
3840 | *
|
3841 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
3842 | */
|
3843 | verticalAlign?: string | undefined;
|
3844 |
|
3845 | /**
|
3846 | * Line height of the text fregment.
|
3847 | *
|
3848 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
3849 | * in parent level will be used.
|
3850 | * For example:
|
3851 | *
|
3852 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
3853 | *
|
3854 | *
|
3855 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
3856 | */
|
3857 | lineHeight?: number | undefined;
|
3858 |
|
3859 | /**
|
3860 | * Background color of the text fregment.
|
3861 | *
|
3862 | * Can be color string, like `'#123234'`, `'red'`,
|
3863 | * `rgba(0,23,11,0.3)'`.
|
3864 | *
|
3865 | * Or image can be used, for example:
|
3866 | *
|
3867 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
3868 | *
|
3869 | * `width` or `height` can be specified when
|
3870 | * using background image, or auto adapted by
|
3871 | * default.
|
3872 | *
|
3873 | * If set as `'auto'`, the color will assigned
|
3874 | * as visual color, such as series color.
|
3875 | *
|
3876 | *
|
3877 | * @default
|
3878 | * "transparent"
|
3879 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
3880 | */
|
3881 | backgroundColor?: object | string | undefined;
|
3882 |
|
3883 | /**
|
3884 | * Border color of the text fregment.
|
3885 | *
|
3886 | * If set as `'auto'`, the color will assigned
|
3887 | * as visual color, such as series color.
|
3888 | *
|
3889 | *
|
3890 | * @default
|
3891 | * "transparent"
|
3892 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
3893 | */
|
3894 | borderColor?: string | undefined;
|
3895 |
|
3896 | /**
|
3897 | * Border width of the text fregment.
|
3898 | *
|
3899 | *
|
3900 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
3901 | */
|
3902 | borderWidth?: number | undefined;
|
3903 |
|
3904 | /**
|
3905 | * Border radius of the text fregment.
|
3906 | *
|
3907 | *
|
3908 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
3909 | */
|
3910 | borderRadius?: number | undefined;
|
3911 |
|
3912 | /**
|
3913 | * Padding of the text fregment, for example:
|
3914 | *
|
3915 | * + `padding: [3, 4, 5, 6]`: represents padding
|
3916 | * of `[top, right, bottom, left]`.
|
3917 | * + `padding: 4`: represents `padding: [4,
|
3918 | * 4, 4, 4]`.
|
3919 | * + `padding: [3, 4]`: represents `padding:
|
3920 | * [3, 4, 3, 4]`.
|
3921 | *
|
3922 | * Notice, `width` and `height` specifies the
|
3923 | * width and height of the content, without
|
3924 | * `padding`.
|
3925 | *
|
3926 | *
|
3927 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
|
3928 | */
|
3929 | padding?: any[] | number | undefined;
|
3930 |
|
3931 | /**
|
3932 | * Shadow color of the text block.
|
3933 | *
|
3934 | *
|
3935 | * @default
|
3936 | * "transparent"
|
3937 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
3938 | */
|
3939 | shadowColor?: string | undefined;
|
3940 |
|
3941 | /**
|
3942 | * Show blur of the text block.
|
3943 | *
|
3944 | *
|
3945 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
3946 | */
|
3947 | shadowBlur?: number | undefined;
|
3948 |
|
3949 | /**
|
3950 | * Shadow X offset of the text block.
|
3951 | *
|
3952 | *
|
3953 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
3954 | */
|
3955 | shadowOffsetX?: number | undefined;
|
3956 |
|
3957 | /**
|
3958 | * Shadow Y offset of the text block.
|
3959 | *
|
3960 | *
|
3961 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
3962 | */
|
3963 | shadowOffsetY?: number | undefined;
|
3964 |
|
3965 | /**
|
3966 | * Width of the text block.
|
3967 | * It is the width of the text by default.
|
3968 | * In most cases, there is no need to specify
|
3969 | * it.
|
3970 | * You may want to use it in some cases like
|
3971 | * make simple table or using background image
|
3972 | * (see `backgroundColor`).
|
3973 | *
|
3974 | * Notice, `width` and `height` specifies the
|
3975 | * width and height of the content, without
|
3976 | * `padding`.
|
3977 | *
|
3978 | * `width` can also be percent string, like
|
3979 | * `'100%'`, which represents the percent of
|
3980 | * `contentWidth` (that is, the width without
|
3981 | * `padding`) of its container box.
|
3982 | * It is based on `contentWidth` because that
|
3983 | * each text fregment is layout based on the
|
3984 | * `content box`, where it makes no sense that
|
3985 | * calculating width based on `outerWith` in
|
3986 | * prectice.
|
3987 | *
|
3988 | * Notice, `width` and `height` only work when
|
3989 | * `rich` specified.
|
3990 | *
|
3991 | *
|
3992 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
|
3993 | */
|
3994 | width?: number | string | undefined;
|
3995 |
|
3996 | /**
|
3997 | * Height of the text block.
|
3998 | * It is the width of the text by default.
|
3999 | * You may want to use it in some cases like
|
4000 | * using background image (see `backgroundColor`).
|
4001 | *
|
4002 | * Notice, `width` and `height` specifies the
|
4003 | * width and height of the content, without
|
4004 | * `padding`.
|
4005 | *
|
4006 | * Notice, `width` and `height` only work when
|
4007 | * `rich` specified.
|
4008 | *
|
4009 | *
|
4010 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
|
4011 | */
|
4012 | height?: number | string | undefined;
|
4013 |
|
4014 | /**
|
4015 | * Storke color of the text.
|
4016 | *
|
4017 | * If set as `'auto'`, the color will assigned
|
4018 | * as visual color, such as series color.
|
4019 | *
|
4020 | *
|
4021 | * @default
|
4022 | * "transparent"
|
4023 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
4024 | */
|
4025 | textBorderColor?: string | undefined;
|
4026 |
|
4027 | /**
|
4028 | * Storke line width of the text.
|
4029 | *
|
4030 | *
|
4031 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
4032 | */
|
4033 | textBorderWidth?: number | undefined;
|
4034 |
|
4035 | /**
|
4036 | * Shadow color of the text itself.
|
4037 | *
|
4038 | *
|
4039 | * @default
|
4040 | * "transparent"
|
4041 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
4042 | */
|
4043 | textShadowColor?: string | undefined;
|
4044 |
|
4045 | /**
|
4046 | * Shadow blue of the text itself.
|
4047 | *
|
4048 | *
|
4049 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
4050 | */
|
4051 | textShadowBlur?: number | undefined;
|
4052 |
|
4053 | /**
|
4054 | * Shadow X offset of the text itself.
|
4055 | *
|
4056 | *
|
4057 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
4058 | */
|
4059 | textShadowOffsetX?: number | undefined;
|
4060 |
|
4061 | /**
|
4062 | * Shadow Y offset of the text itself.
|
4063 | *
|
4064 | *
|
4065 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
4066 | */
|
4067 | textShadowOffsetY?: number | undefined;
|
4068 | };
|
4069 | } | undefined;
|
4070 | } | undefined;
|
4071 | } | undefined;
|
4072 |
|
4073 | /**
|
4074 | * Mark point style.
|
4075 | *
|
4076 | *
|
4077 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle
|
4078 | */
|
4079 | itemStyle?: {
|
4080 | /**
|
4081 | * color.
|
4082 | *
|
4083 | * > Color can be represented in RGB, for example `'rgb(128,
|
4084 | * 128, 128)'`.
|
4085 | * RGBA can be used when you need alpha channel, for example
|
4086 | * `'rgba(128, 128, 128, 0.5)'`.
|
4087 | * You may also use hexadecimal format, for example `'#ccc'`.
|
4088 | * Gradient color and texture are also supported besides
|
4089 | * single colors.
|
4090 | * >
|
4091 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle)
|
4092 | *
|
4093 | *
|
4094 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.color
|
4095 | */
|
4096 | color?: EChartOption.Color | undefined;
|
4097 |
|
4098 | /**
|
4099 | * border color, whose format is similar to that of `color`.
|
4100 | *
|
4101 | *
|
4102 | * @default
|
4103 | * "#000"
|
4104 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.borderColor
|
4105 | */
|
4106 | borderColor?: EChartOption.Color | undefined;
|
4107 |
|
4108 | /**
|
4109 | * border width. No border when it is set to be 0.
|
4110 | *
|
4111 | *
|
4112 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.borderWidth
|
4113 | */
|
4114 | borderWidth?: number | undefined;
|
4115 |
|
4116 | /**
|
4117 | * Border type, which can be `'solid'`, `'dashed'`, or `'dotted'`.
|
4118 | * `'solid'` by default.
|
4119 | *
|
4120 | *
|
4121 | * @default
|
4122 | * "solid"
|
4123 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.borderType
|
4124 | */
|
4125 | borderType?: string | undefined;
|
4126 |
|
4127 | /**
|
4128 | * Size of shadow blur.
|
4129 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
4130 | * `shadowOffsetY` to set shadow to component.
|
4131 | *
|
4132 | * For example:
|
4133 | *
|
4134 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle)
|
4135 | *
|
4136 | *
|
4137 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowBlur
|
4138 | */
|
4139 | shadowBlur?: number | undefined;
|
4140 |
|
4141 | /**
|
4142 | * Shadow color. Support same format as `color`.
|
4143 | *
|
4144 | *
|
4145 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowColor
|
4146 | */
|
4147 | shadowColor?: EChartOption.Color | undefined;
|
4148 |
|
4149 | /**
|
4150 | * Offset distance on the horizontal direction of shadow.
|
4151 | *
|
4152 | *
|
4153 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowOffsetX
|
4154 | */
|
4155 | shadowOffsetX?: number | undefined;
|
4156 |
|
4157 | /**
|
4158 | * Offset distance on the vertical direction of shadow.
|
4159 | *
|
4160 | *
|
4161 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowOffsetY
|
4162 | */
|
4163 | shadowOffsetY?: number | undefined;
|
4164 |
|
4165 | /**
|
4166 | * Opacity of the component.
|
4167 | * Supports value from 0 to 1, and the component will not
|
4168 | * be drawn when set to 0.
|
4169 | *
|
4170 | *
|
4171 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.opacity
|
4172 | */
|
4173 | opacity?: number | undefined;
|
4174 |
|
4175 | /**
|
4176 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis
|
4177 | */
|
4178 | emphasis?: {
|
4179 | /**
|
4180 | * color.
|
4181 | *
|
4182 | * > Color can be represented in RGB, for example `'rgb(128,
|
4183 | * 128, 128)'`.
|
4184 | * RGBA can be used when you need alpha channel, for
|
4185 | * example `'rgba(128, 128, 128, 0.5)'`.
|
4186 | * You may also use hexadecimal format, for example
|
4187 | * `'#ccc'`.
|
4188 | * Gradient color and texture are also supported besides
|
4189 | * single colors.
|
4190 | * >
|
4191 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle.emphasis)
|
4192 | *
|
4193 | *
|
4194 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.color
|
4195 | */
|
4196 | color?: EChartOption.Color | undefined;
|
4197 |
|
4198 | /**
|
4199 | * border color, whose format is similar to that of
|
4200 | * `color`.
|
4201 | *
|
4202 | *
|
4203 | * @default
|
4204 | * "#000"
|
4205 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.borderColor
|
4206 | */
|
4207 | borderColor?: EChartOption.Color | undefined;
|
4208 |
|
4209 | /**
|
4210 | * border width. No border when it is set to be 0.
|
4211 | *
|
4212 | *
|
4213 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.borderWidth
|
4214 | */
|
4215 | borderWidth?: number | undefined;
|
4216 |
|
4217 | /**
|
4218 | * Border type, which can be `'solid'`, `'dashed'`,
|
4219 | * or `'dotted'`. `'solid'` by default.
|
4220 | *
|
4221 | *
|
4222 | * @default
|
4223 | * "solid"
|
4224 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.borderType
|
4225 | */
|
4226 | borderType?: string | undefined;
|
4227 |
|
4228 | /**
|
4229 | * Size of shadow blur.
|
4230 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
4231 | * `shadowOffsetY` to set shadow to component.
|
4232 | *
|
4233 | * For example:
|
4234 | *
|
4235 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle.emphasis)
|
4236 | *
|
4237 | *
|
4238 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowBlur
|
4239 | */
|
4240 | shadowBlur?: number | undefined;
|
4241 |
|
4242 | /**
|
4243 | * Shadow color. Support same format as `color`.
|
4244 | *
|
4245 | *
|
4246 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowColor
|
4247 | */
|
4248 | shadowColor?: EChartOption.Color | undefined;
|
4249 |
|
4250 | /**
|
4251 | * Offset distance on the horizontal direction of shadow.
|
4252 | *
|
4253 | *
|
4254 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowOffsetX
|
4255 | */
|
4256 | shadowOffsetX?: number | undefined;
|
4257 |
|
4258 | /**
|
4259 | * Offset distance on the vertical direction of shadow.
|
4260 | *
|
4261 | *
|
4262 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowOffsetY
|
4263 | */
|
4264 | shadowOffsetY?: number | undefined;
|
4265 |
|
4266 | /**
|
4267 | * Opacity of the component.
|
4268 | * Supports value from 0 to 1, and the component will
|
4269 | * not be drawn when set to 0.
|
4270 | *
|
4271 | *
|
4272 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.opacity
|
4273 | */
|
4274 | opacity?: number | undefined;
|
4275 | } | undefined;
|
4276 | } | undefined;
|
4277 |
|
4278 | /**
|
4279 | * Data array for mark points, each of which is an object.
|
4280 | * Here are some ways to assign mark point position.
|
4281 | *
|
4282 | * 1. Assign coordinate according to container with
|
4283 | * [x](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.x)
|
4284 | * ,
|
4285 | * [y](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.y)
|
4286 | * attribute, in which pixel values and percentage are supported.
|
4287 | *
|
4288 | * 2. Assign coordinate position with
|
4289 | * [coord](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.coord)
|
4290 | * attribute, in which `'min'`, `'max'`, `'average'` are supported
|
4291 | * for each dimension.
|
4292 | *
|
4293 | * 3. Use
|
4294 | * [type](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type)
|
4295 | * attribute to mark the maximum and minimum values in the series,
|
4296 | * in which
|
4297 | * [valueIndex](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueIndex)
|
4298 | * or
|
4299 | * [valueDim](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueDim)
|
4300 | * can be used to assign the dimension.
|
4301 | *
|
4302 | * When multiple attributes exist, priority is as the above
|
4303 | * order.
|
4304 | *
|
4305 | * **For example:**
|
4306 | *
|
4307 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
|
4308 | *
|
4309 | *
|
4310 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data
|
4311 | */
|
4312 | data?: {
|
4313 | /**
|
4314 | * Mark point name.
|
4315 | *
|
4316 | *
|
4317 | * @default
|
4318 | * ''
|
4319 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.name
|
4320 | */
|
4321 | name?: string | undefined;
|
4322 |
|
4323 | /**
|
4324 | * Special label types, are used to label maximum value,
|
4325 | * minimum value and so on.
|
4326 | *
|
4327 | * **Options are:**
|
4328 | *
|
4329 | * + `'min'` maximum value.
|
4330 | * + `'max'` minimum value.
|
4331 | * + `'average'` average value.
|
4332 | *
|
4333 | *
|
4334 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type
|
4335 | */
|
4336 | type?: string | undefined;
|
4337 |
|
4338 | /**
|
4339 | * Available when using
|
4340 | * [type](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type)
|
4341 | * it is used to assign maximum value and minimum value
|
4342 | * in dimensions, it could be `0` (xAxis, radiusAxis), `1`
|
4343 | * (yAxis, angleAxis), and use the first value axis dimension
|
4344 | * by default.
|
4345 | *
|
4346 | *
|
4347 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueIndex
|
4348 | */
|
4349 | valueIndex?: number | undefined;
|
4350 |
|
4351 | /**
|
4352 | * Works only when
|
4353 | * [type](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type)
|
4354 | * is assigned.
|
4355 | * It is used to state the dimension used to calculate maximum
|
4356 | * value or minimum value.
|
4357 | * It may be the direct name of a dimension, like `x`, or
|
4358 | * `angle` for line charts, or `open`, or `close` for candlestick
|
4359 | * charts.
|
4360 | *
|
4361 | *
|
4362 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueDim
|
4363 | */
|
4364 | valueDim?: string | undefined;
|
4365 |
|
4366 | /**
|
4367 | * Coordinates of the starting point or ending point, whose
|
4368 | * format depends on the coordinate of the series.
|
4369 | * It can be `x`, and `y` for
|
4370 | * [rectangular coordinates](https://echarts.apache.org/en/option.html#grid)
|
4371 | * , or `radius`, and `angle` for
|
4372 | * [polar coordinates](https://echarts.apache.org/en/option.html#polar)
|
4373 | * .
|
4374 | *
|
4375 | * **Notice:** For axis with
|
4376 | * [axis.type](https://echarts.apache.org/en/option.html#xAixs.type)
|
4377 | * `'category'`:
|
4378 | *
|
4379 | * + If coord value is `number`, it represents index of
|
4380 | * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
|
4381 | * .
|
4382 | * + If coord value is `string`, it represents concrete
|
4383 | * value in
|
4384 | * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
|
4385 | *
|
4386 | *
|
4387 | * Please notice that in this case `xAxis.data`
|
4388 | * must not be written as \[number, number,
|
4389 | *
|
4390 | *
|
4391 | *
|
4392 | * \], but can only be written \[string, string,
|
4393 | *
|
4394 | *
|
4395 | *
|
4396 | * \].
|
4397 | * Otherwise it is not able to be located by markPoint /
|
4398 | * markLine.
|
4399 | *
|
4400 | * For example:
|
4401 | *
|
4402 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data)
|
4403 | *
|
4404 | *
|
4405 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.coord
|
4406 | */
|
4407 | coord?: any[] | undefined;
|
4408 |
|
4409 | /**
|
4410 | * X position according to container, in pixel.
|
4411 | *
|
4412 | *
|
4413 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.x
|
4414 | */
|
4415 | x?: number | undefined;
|
4416 |
|
4417 | /**
|
4418 | * Y position according to container, in pixel.
|
4419 | *
|
4420 | *
|
4421 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.y
|
4422 | */
|
4423 | y?: number | undefined;
|
4424 |
|
4425 | /**
|
4426 | * Label value, which can be ignored.
|
4427 | *
|
4428 | *
|
4429 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.value
|
4430 | */
|
4431 | value?: number | undefined;
|
4432 |
|
4433 | /**
|
4434 | * Symbol of .
|
4435 | *
|
4436 | * Icon types provided by ECharts includes `'circle'`, `'rect'`,
|
4437 | * `'roundRect'`, `'triangle'`, `'diamond'`, `'pin'`, `'arrow'`,
|
4438 | * `'none'`
|
4439 | *
|
4440 | * It can be set to an image with `'image://url'` , in which
|
4441 | * URL is the link to an image, or `dataURI` of an image.
|
4442 | *
|
4443 | * An image URL example:
|
4444 | *
|
4445 | * ```
|
4446 | * 'image://http://xxx.xxx.xxx/a/b.png'
|
4447 | *
|
4448 | * ```
|
4449 | *
|
4450 | * A `dataURI` example:
|
4451 | *
|
4452 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data)
|
4453 | *
|
4454 | * Icons can be set to arbitrary vector path via `'path://'`
|
4455 | * in ECharts.
|
4456 | * As compared with raster image, vector paths prevent from
|
4457 | * jagging and blurring when scaled, and have a better control
|
4458 | * over changing colors.
|
4459 | * Size of vectoer icon will be adapted automatically.
|
4460 | * Refer to
|
4461 | * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
|
4462 | * for more information about format of path.
|
4463 | * You may export vector paths from tools like Adobe Illustrator.
|
4464 | *
|
4465 | * For example:
|
4466 | *
|
4467 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data)
|
4468 | *
|
4469 | *
|
4470 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbol
|
4471 | */
|
4472 | symbol?: string | undefined;
|
4473 |
|
4474 | /**
|
4475 | * symbol size.
|
4476 | * It can be set to single numbers like `10`, or use an
|
4477 | * array to represent width and height.
|
4478 | * For example, `[20, 10]` means symbol width is `20`, and
|
4479 | * height is`10`.
|
4480 | *
|
4481 | *
|
4482 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolSize
|
4483 | */
|
4484 | symbolSize?: any[] | number | undefined;
|
4485 |
|
4486 | /**
|
4487 | * Rotate degree of symbol.
|
4488 | * Note that when `symbol` is set to be `'arrow'` in `markLine`,
|
4489 | * `symbolRotate` value will be ignored, and compulsively
|
4490 | * use tangent angle.
|
4491 | *
|
4492 | *
|
4493 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolRotate
|
4494 | */
|
4495 | symbolRotate?: number | undefined;
|
4496 |
|
4497 | /**
|
4498 | * Whether to keep aspect for symbols in the form of `path://`.
|
4499 | *
|
4500 | *
|
4501 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolKeepAspect
|
4502 | */
|
4503 | symbolKeepAspect?: boolean | undefined;
|
4504 |
|
4505 | /**
|
4506 | * Offset of symbol relative to original position.
|
4507 | * By default, symbol will be put in the center position
|
4508 | * of data.
|
4509 | * But if symbol is from user-defined vector path or image,
|
4510 | * you may not expect symbol to be in center.
|
4511 | * In this case, you may use this attribute to set offset
|
4512 | * to default position.
|
4513 | * It can be in absolute pixel value, or in relative percentage
|
4514 | * value.
|
4515 | *
|
4516 | * For example, `[0, '50%']` means to move upside side position
|
4517 | * of symbol height.
|
4518 | * It can be used to make the arrow in the bottom to be
|
4519 | * at data position when symbol is pin.
|
4520 | *
|
4521 | *
|
4522 | * @default
|
4523 | * [0, 0]
|
4524 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolOffset
|
4525 | */
|
4526 | symbolOffset?: any[] | undefined;
|
4527 |
|
4528 | /**
|
4529 | * Mark point style.
|
4530 | *
|
4531 | *
|
4532 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle
|
4533 | */
|
4534 | itemStyle?: {
|
4535 | /**
|
4536 | * color.
|
4537 | *
|
4538 | * > Color can be represented in RGB, for example `'rgb(128,
|
4539 | * 128, 128)'`.
|
4540 | * RGBA can be used when you need alpha channel, for
|
4541 | * example `'rgba(128, 128, 128, 0.5)'`.
|
4542 | * You may also use hexadecimal format, for example
|
4543 | * `'#ccc'`.
|
4544 | * Gradient color and texture are also supported besides
|
4545 | * single colors.
|
4546 | * >
|
4547 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle)
|
4548 | *
|
4549 | *
|
4550 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.color
|
4551 | */
|
4552 | color?: EChartOption.Color | undefined;
|
4553 |
|
4554 | /**
|
4555 | * border color, whose format is similar to that of
|
4556 | * `color`.
|
4557 | *
|
4558 | *
|
4559 | * @default
|
4560 | * "#000"
|
4561 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.borderColor
|
4562 | */
|
4563 | borderColor?: EChartOption.Color | undefined;
|
4564 |
|
4565 | /**
|
4566 | * border width. No border when it is set to be 0.
|
4567 | *
|
4568 | *
|
4569 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.borderWidth
|
4570 | */
|
4571 | borderWidth?: number | undefined;
|
4572 |
|
4573 | /**
|
4574 | * Border type, which can be `'solid'`, `'dashed'`,
|
4575 | * or `'dotted'`. `'solid'` by default.
|
4576 | *
|
4577 | *
|
4578 | * @default
|
4579 | * "solid"
|
4580 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.borderType
|
4581 | */
|
4582 | borderType?: string | undefined;
|
4583 |
|
4584 | /**
|
4585 | * Size of shadow blur.
|
4586 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
4587 | * `shadowOffsetY` to set shadow to component.
|
4588 | *
|
4589 | * For example:
|
4590 | *
|
4591 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle)
|
4592 | *
|
4593 | *
|
4594 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowBlur
|
4595 | */
|
4596 | shadowBlur?: number | undefined;
|
4597 |
|
4598 | /**
|
4599 | * Shadow color. Support same format as `color`.
|
4600 | *
|
4601 | *
|
4602 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowColor
|
4603 | */
|
4604 | shadowColor?: EChartOption.Color | undefined;
|
4605 |
|
4606 | /**
|
4607 | * Offset distance on the horizontal direction of shadow.
|
4608 | *
|
4609 | *
|
4610 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowOffsetX
|
4611 | */
|
4612 | shadowOffsetX?: number | undefined;
|
4613 |
|
4614 | /**
|
4615 | * Offset distance on the vertical direction of shadow.
|
4616 | *
|
4617 | *
|
4618 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowOffsetY
|
4619 | */
|
4620 | shadowOffsetY?: number | undefined;
|
4621 |
|
4622 | /**
|
4623 | * Opacity of the component.
|
4624 | * Supports value from 0 to 1, and the component will
|
4625 | * not be drawn when set to 0.
|
4626 | *
|
4627 | *
|
4628 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.opacity
|
4629 | */
|
4630 | opacity?: number | undefined;
|
4631 |
|
4632 | /**
|
4633 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis
|
4634 | */
|
4635 | emphasis?: {
|
4636 | /**
|
4637 | * color.
|
4638 | *
|
4639 | * > Color can be represented in RGB, for example
|
4640 | * `'rgb(128, 128, 128)'`.
|
4641 | * RGBA can be used when you need alpha channel,
|
4642 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
4643 | * You may also use hexadecimal format, for example
|
4644 | * `'#ccc'`.
|
4645 | * Gradient color and texture are also supported
|
4646 | * besides single colors.
|
4647 | * >
|
4648 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle.emphasis)
|
4649 | *
|
4650 | *
|
4651 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.color
|
4652 | */
|
4653 | color?: EChartOption.Color | undefined;
|
4654 |
|
4655 | /**
|
4656 | * border color, whose format is similar to that
|
4657 | * of `color`.
|
4658 | *
|
4659 | *
|
4660 | * @default
|
4661 | * "#000"
|
4662 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.borderColor
|
4663 | */
|
4664 | borderColor?: EChartOption.Color | undefined;
|
4665 |
|
4666 | /**
|
4667 | * border width.
|
4668 | * No border when it is set to be 0.
|
4669 | *
|
4670 | *
|
4671 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.borderWidth
|
4672 | */
|
4673 | borderWidth?: number | undefined;
|
4674 |
|
4675 | /**
|
4676 | * Border type, which can be `'solid'`, `'dashed'`,
|
4677 | * or `'dotted'`. `'solid'` by default.
|
4678 | *
|
4679 | *
|
4680 | * @default
|
4681 | * "solid"
|
4682 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.borderType
|
4683 | */
|
4684 | borderType?: string | undefined;
|
4685 |
|
4686 | /**
|
4687 | * Size of shadow blur.
|
4688 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
4689 | * `shadowOffsetY` to set shadow to component.
|
4690 | *
|
4691 | * For example:
|
4692 | *
|
4693 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle.emphasis)
|
4694 | *
|
4695 | *
|
4696 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowBlur
|
4697 | */
|
4698 | shadowBlur?: number | undefined;
|
4699 |
|
4700 | /**
|
4701 | * Shadow color. Support same format as `color`.
|
4702 | *
|
4703 | *
|
4704 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowColor
|
4705 | */
|
4706 | shadowColor?: EChartOption.Color | undefined;
|
4707 |
|
4708 | /**
|
4709 | * Offset distance on the horizontal direction of
|
4710 | * shadow.
|
4711 | *
|
4712 | *
|
4713 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowOffsetX
|
4714 | */
|
4715 | shadowOffsetX?: number | undefined;
|
4716 |
|
4717 | /**
|
4718 | * Offset distance on the vertical direction of
|
4719 | * shadow.
|
4720 | *
|
4721 | *
|
4722 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowOffsetY
|
4723 | */
|
4724 | shadowOffsetY?: number | undefined;
|
4725 |
|
4726 | /**
|
4727 | * Opacity of the component.
|
4728 | * Supports value from 0 to 1, and the component
|
4729 | * will not be drawn when set to 0.
|
4730 | *
|
4731 | *
|
4732 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.opacity
|
4733 | */
|
4734 | opacity?: number | undefined;
|
4735 | } | undefined;
|
4736 | } | undefined;
|
4737 |
|
4738 | /**
|
4739 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label
|
4740 | */
|
4741 | label?: {
|
4742 | /**
|
4743 | * Whether to show label.
|
4744 | *
|
4745 | *
|
4746 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.show
|
4747 | */
|
4748 | show?: boolean | undefined;
|
4749 |
|
4750 | /**
|
4751 | * Label position.
|
4752 | *
|
4753 | * **Followings are the options:**
|
4754 | *
|
4755 | * + \[x, y\]
|
4756 | *
|
4757 | * Use relative percentage, or absolute pixel values
|
4758 | * to represent position of label relative to top-left
|
4759 | * corner of bounding box. For example:
|
4760 | *
|
4761 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
|
4762 | *
|
4763 | * + 'top'
|
4764 | *
|
4765 | * + 'left'
|
4766 | * + 'right'
|
4767 | * + 'bottom'
|
4768 | * + 'inside'
|
4769 | * + 'insideLeft'
|
4770 | * + 'insideRight'
|
4771 | * + 'insideTop'
|
4772 | * + 'insideBottom'
|
4773 | * + 'insideTopLeft'
|
4774 | * + 'insideBottomLeft'
|
4775 | * + 'insideTopRight'
|
4776 | * + 'insideBottomRight'
|
4777 | *
|
4778 | * See:
|
4779 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
4780 | * .
|
4781 | *
|
4782 | *
|
4783 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.position
|
4784 | */
|
4785 | position?: any[] | string | undefined;
|
4786 |
|
4787 | /**
|
4788 | * Distance to the host graphic element.
|
4789 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
4790 | *
|
4791 | * See:
|
4792 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
4793 | * .
|
4794 | *
|
4795 | *
|
4796 | * @default
|
4797 | * 5
|
4798 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.distance
|
4799 | */
|
4800 | distance?: number | undefined;
|
4801 |
|
4802 | /**
|
4803 | * Rotate label, from -90 degree to 90, positive value
|
4804 | * represents rotate anti-clockwise.
|
4805 | *
|
4806 | * See:
|
4807 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
4808 | * .
|
4809 | *
|
4810 | *
|
4811 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rotate
|
4812 | */
|
4813 | rotate?: number | undefined;
|
4814 |
|
4815 | /**
|
4816 | * Whether to move text slightly.
|
4817 | * For example: `[30, 40]` means move `30` horizontally
|
4818 | * and move `40` vertically.
|
4819 | *
|
4820 | *
|
4821 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.offset
|
4822 | */
|
4823 | offset?: any[] | undefined;
|
4824 |
|
4825 | /**
|
4826 | * text color.
|
4827 | *
|
4828 | * If set as `'auto'`, the color will assigned as visual
|
4829 | * color, such as series color.
|
4830 | *
|
4831 | *
|
4832 | * @default
|
4833 | * ""#fff""
|
4834 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.color
|
4835 | */
|
4836 | color?: string | undefined;
|
4837 |
|
4838 | /**
|
4839 | * font style
|
4840 | *
|
4841 | * Options are:
|
4842 | *
|
4843 | * + `'normal'`
|
4844 | * + `'italic'`
|
4845 | * + `'oblique'`
|
4846 | *
|
4847 | *
|
4848 | * @default
|
4849 | * "normal"
|
4850 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontStyle
|
4851 | */
|
4852 | fontStyle?: string | undefined;
|
4853 |
|
4854 | /**
|
4855 | * font thick weight
|
4856 | *
|
4857 | * Options are:
|
4858 | *
|
4859 | * + `'normal'`
|
4860 | * + `'bold'`
|
4861 | * + `'bolder'`
|
4862 | * + `'lighter'`
|
4863 | * + 100 | 200 | 300 | 400...
|
4864 | *
|
4865 | *
|
4866 | * @default
|
4867 | * "normal"
|
4868 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontWeight
|
4869 | */
|
4870 | fontWeight?: string | number | undefined;
|
4871 |
|
4872 | /**
|
4873 | * font family
|
4874 | *
|
4875 | * Can also be 'serif' , 'monospace', ...
|
4876 | *
|
4877 | *
|
4878 | * @default
|
4879 | * "sans-serif"
|
4880 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontFamily
|
4881 | */
|
4882 | fontFamily?: string | undefined;
|
4883 |
|
4884 | /**
|
4885 | * font size
|
4886 | *
|
4887 | *
|
4888 | * @default
|
4889 | * 12
|
4890 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontSize
|
4891 | */
|
4892 | fontSize?: number | undefined;
|
4893 |
|
4894 | /**
|
4895 | * Horizontal alignment of text, automatic by default.
|
4896 | *
|
4897 | * Options are:
|
4898 | *
|
4899 | * + `'left'`
|
4900 | * + `'center'`
|
4901 | * + `'right'`
|
4902 | *
|
4903 | * If `align` is not set in `rich`, `align` in parent
|
4904 | * level will be used. For example:
|
4905 | *
|
4906 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
|
4907 | *
|
4908 | *
|
4909 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.align
|
4910 | */
|
4911 | align?: string | undefined;
|
4912 |
|
4913 | /**
|
4914 | * Vertical alignment of text, automatic by default.
|
4915 | *
|
4916 | * Options are:
|
4917 | *
|
4918 | * + `'top'`
|
4919 | * + `'middle'`
|
4920 | * + `'bottom'`
|
4921 | *
|
4922 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
4923 | * in parent level will be used. For example:
|
4924 | *
|
4925 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
|
4926 | *
|
4927 | *
|
4928 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.verticalAlign
|
4929 | */
|
4930 | verticalAlign?: string | undefined;
|
4931 |
|
4932 | /**
|
4933 | * Line height of the text fregment.
|
4934 | *
|
4935 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
4936 | * in parent level will be used. For example:
|
4937 | *
|
4938 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
|
4939 | *
|
4940 | *
|
4941 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.lineHeight
|
4942 | */
|
4943 | lineHeight?: number | undefined;
|
4944 |
|
4945 | /**
|
4946 | * Background color of the text fregment.
|
4947 | *
|
4948 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
4949 | *
|
4950 | * Or image can be used, for example:
|
4951 | *
|
4952 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
|
4953 | *
|
4954 | * `width` or `height` can be specified when using background
|
4955 | * image, or auto adapted by default.
|
4956 | *
|
4957 | * If set as `'auto'`, the color will assigned as visual
|
4958 | * color, such as series color.
|
4959 | *
|
4960 | *
|
4961 | * @default
|
4962 | * "transparent"
|
4963 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.backgroundColor
|
4964 | */
|
4965 | backgroundColor?: object | string | undefined;
|
4966 |
|
4967 | /**
|
4968 | * Border color of the text fregment.
|
4969 | *
|
4970 | * If set as `'auto'`, the color will assigned as visual
|
4971 | * color, such as series color.
|
4972 | *
|
4973 | *
|
4974 | * @default
|
4975 | * "transparent"
|
4976 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.borderColor
|
4977 | */
|
4978 | borderColor?: string | undefined;
|
4979 |
|
4980 | /**
|
4981 | * Border width of the text fregment.
|
4982 | *
|
4983 | *
|
4984 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.borderWidth
|
4985 | */
|
4986 | borderWidth?: number | undefined;
|
4987 |
|
4988 | /**
|
4989 | * Border radius of the text fregment.
|
4990 | *
|
4991 | *
|
4992 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.borderRadius
|
4993 | */
|
4994 | borderRadius?: number | undefined;
|
4995 |
|
4996 | /**
|
4997 | * Padding of the text fregment, for example:
|
4998 | *
|
4999 | * + `padding: [3, 4, 5, 6]`: represents padding of
|
5000 | * `[top, right, bottom, left]`.
|
5001 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
5002 | * + `padding: [3, 4]`: represents `padding: [3, 4,
|
5003 | * 3, 4]`.
|
5004 | *
|
5005 | * Notice, `width` and `height` specifies the width
|
5006 | * and height of the content, without `padding`.
|
5007 | *
|
5008 | *
|
5009 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.padding
|
5010 | */
|
5011 | padding?: any[] | number | undefined;
|
5012 |
|
5013 | /**
|
5014 | * Shadow color of the text block.
|
5015 | *
|
5016 | *
|
5017 | * @default
|
5018 | * "transparent"
|
5019 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowColor
|
5020 | */
|
5021 | shadowColor?: string | undefined;
|
5022 |
|
5023 | /**
|
5024 | * Show blur of the text block.
|
5025 | *
|
5026 | *
|
5027 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowBlur
|
5028 | */
|
5029 | shadowBlur?: number | undefined;
|
5030 |
|
5031 | /**
|
5032 | * Shadow X offset of the text block.
|
5033 | *
|
5034 | *
|
5035 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowOffsetX
|
5036 | */
|
5037 | shadowOffsetX?: number | undefined;
|
5038 |
|
5039 | /**
|
5040 | * Shadow Y offset of the text block.
|
5041 | *
|
5042 | *
|
5043 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowOffsetY
|
5044 | */
|
5045 | shadowOffsetY?: number | undefined;
|
5046 |
|
5047 | /**
|
5048 | * Width of the text block.
|
5049 | * It is the width of the text by default.
|
5050 | * In most cases, there is no need to specify it.
|
5051 | * You may want to use it in some cases like make simple
|
5052 | * table or using background image (see `backgroundColor`).
|
5053 | *
|
5054 | * Notice, `width` and `height` specifies the width
|
5055 | * and height of the content, without `padding`.
|
5056 | *
|
5057 | * `width` can also be percent string, like `'100%'`,
|
5058 | * which represents the percent of `contentWidth` (that
|
5059 | * is, the width without `padding`) of its container
|
5060 | * box.
|
5061 | * It is based on `contentWidth` because that each text
|
5062 | * fregment is layout based on the `content box`, where
|
5063 | * it makes no sense that calculating width based on
|
5064 | * `outerWith` in prectice.
|
5065 | *
|
5066 | * Notice, `width` and `height` only work when `rich`
|
5067 | * specified.
|
5068 | *
|
5069 | *
|
5070 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.width
|
5071 | */
|
5072 | width?: number | string | undefined;
|
5073 |
|
5074 | /**
|
5075 | * Height of the text block.
|
5076 | * It is the width of the text by default.
|
5077 | * You may want to use it in some cases like using background
|
5078 | * image (see `backgroundColor`).
|
5079 | *
|
5080 | * Notice, `width` and `height` specifies the width
|
5081 | * and height of the content, without `padding`.
|
5082 | *
|
5083 | * Notice, `width` and `height` only work when `rich`
|
5084 | * specified.
|
5085 | *
|
5086 | *
|
5087 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.height
|
5088 | */
|
5089 | height?: number | string | undefined;
|
5090 |
|
5091 | /**
|
5092 | * Storke color of the text.
|
5093 | *
|
5094 | * If set as `'auto'`, the color will assigned as visual
|
5095 | * color, such as series color.
|
5096 | *
|
5097 | *
|
5098 | * @default
|
5099 | * "transparent"
|
5100 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textBorderColor
|
5101 | */
|
5102 | textBorderColor?: string | undefined;
|
5103 |
|
5104 | /**
|
5105 | * Storke line width of the text.
|
5106 | *
|
5107 | *
|
5108 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textBorderWidth
|
5109 | */
|
5110 | textBorderWidth?: number | undefined;
|
5111 |
|
5112 | /**
|
5113 | * Shadow color of the text itself.
|
5114 | *
|
5115 | *
|
5116 | * @default
|
5117 | * "transparent"
|
5118 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowColor
|
5119 | */
|
5120 | textShadowColor?: string | undefined;
|
5121 |
|
5122 | /**
|
5123 | * Shadow blue of the text itself.
|
5124 | *
|
5125 | *
|
5126 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowBlur
|
5127 | */
|
5128 | textShadowBlur?: number | undefined;
|
5129 |
|
5130 | /**
|
5131 | * Shadow X offset of the text itself.
|
5132 | *
|
5133 | *
|
5134 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowOffsetX
|
5135 | */
|
5136 | textShadowOffsetX?: number | undefined;
|
5137 |
|
5138 | /**
|
5139 | * Shadow Y offset of the text itself.
|
5140 | *
|
5141 | *
|
5142 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowOffsetY
|
5143 | */
|
5144 | textShadowOffsetY?: number | undefined;
|
5145 |
|
5146 | /**
|
5147 | * "Rich text styles" can be defined in this `rich`
|
5148 | * property. For example:
|
5149 | *
|
5150 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
|
5151 | *
|
5152 | * For more details, see
|
5153 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
5154 | * please.
|
5155 | *
|
5156 | *
|
5157 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich
|
5158 | */
|
5159 | rich?: {
|
5160 | /**
|
5161 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E
|
5162 | */
|
5163 | [userStyle: string]: {
|
5164 | /**
|
5165 | * text color.
|
5166 | *
|
5167 | * If set as `'auto'`, the color will assigned
|
5168 | * as visual color, such as series color.
|
5169 | *
|
5170 | *
|
5171 | * @default
|
5172 | * ""#fff""
|
5173 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
5174 | */
|
5175 | color?: string | undefined;
|
5176 |
|
5177 | /**
|
5178 | * font style
|
5179 | *
|
5180 | * Options are:
|
5181 | *
|
5182 | * + `'normal'`
|
5183 | * + `'italic'`
|
5184 | * + `'oblique'`
|
5185 | *
|
5186 | *
|
5187 | * @default
|
5188 | * "normal"
|
5189 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
5190 | */
|
5191 | fontStyle?: string | undefined;
|
5192 |
|
5193 | /**
|
5194 | * font thick weight
|
5195 | *
|
5196 | * Options are:
|
5197 | *
|
5198 | * + `'normal'`
|
5199 | * + `'bold'`
|
5200 | * + `'bolder'`
|
5201 | * + `'lighter'`
|
5202 | * + 100 | 200 | 300 | 400...
|
5203 | *
|
5204 | *
|
5205 | * @default
|
5206 | * "normal"
|
5207 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
5208 | */
|
5209 | fontWeight?: string | number | undefined;
|
5210 |
|
5211 | /**
|
5212 | * font family
|
5213 | *
|
5214 | * Can also be 'serif' , 'monospace', ...
|
5215 | *
|
5216 | *
|
5217 | * @default
|
5218 | * "sans-serif"
|
5219 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
5220 | */
|
5221 | fontFamily?: string | undefined;
|
5222 |
|
5223 | /**
|
5224 | * font size
|
5225 | *
|
5226 | *
|
5227 | * @default
|
5228 | * 12
|
5229 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
5230 | */
|
5231 | fontSize?: number | undefined;
|
5232 |
|
5233 | /**
|
5234 | * Horizontal alignment of text, automatic by
|
5235 | * default.
|
5236 | *
|
5237 | * Options are:
|
5238 | *
|
5239 | * + `'left'`
|
5240 | * + `'center'`
|
5241 | * + `'right'`
|
5242 | *
|
5243 | * If `align` is not set in `rich`, `align`
|
5244 | * in parent level will be used.
|
5245 | * For example:
|
5246 | *
|
5247 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
5248 | *
|
5249 | *
|
5250 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
5251 | */
|
5252 | align?: string | undefined;
|
5253 |
|
5254 | /**
|
5255 | * Vertical alignment of text, automatic by
|
5256 | * default.
|
5257 | *
|
5258 | * Options are:
|
5259 | *
|
5260 | * + `'top'`
|
5261 | * + `'middle'`
|
5262 | * + `'bottom'`
|
5263 | *
|
5264 | * If `verticalAlign` is not set in `rich`,
|
5265 | * `verticalAlign` in parent level will be used.
|
5266 | * For example:
|
5267 | *
|
5268 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
5269 | *
|
5270 | *
|
5271 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
5272 | */
|
5273 | verticalAlign?: string | undefined;
|
5274 |
|
5275 | /**
|
5276 | * Line height of the text fregment.
|
5277 | *
|
5278 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
5279 | * in parent level will be used.
|
5280 | * For example:
|
5281 | *
|
5282 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
5283 | *
|
5284 | *
|
5285 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
5286 | */
|
5287 | lineHeight?: number | undefined;
|
5288 |
|
5289 | /**
|
5290 | * Background color of the text fregment.
|
5291 | *
|
5292 | * Can be color string, like `'#123234'`, `'red'`,
|
5293 | * `rgba(0,23,11,0.3)'`.
|
5294 | *
|
5295 | * Or image can be used, for example:
|
5296 | *
|
5297 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
5298 | *
|
5299 | * `width` or `height` can be specified when
|
5300 | * using background image, or auto adapted by
|
5301 | * default.
|
5302 | *
|
5303 | * If set as `'auto'`, the color will assigned
|
5304 | * as visual color, such as series color.
|
5305 | *
|
5306 | *
|
5307 | * @default
|
5308 | * "transparent"
|
5309 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
5310 | */
|
5311 | backgroundColor?: object | string | undefined;
|
5312 |
|
5313 | /**
|
5314 | * Border color of the text fregment.
|
5315 | *
|
5316 | * If set as `'auto'`, the color will assigned
|
5317 | * as visual color, such as series color.
|
5318 | *
|
5319 | *
|
5320 | * @default
|
5321 | * "transparent"
|
5322 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
5323 | */
|
5324 | borderColor?: string | undefined;
|
5325 |
|
5326 | /**
|
5327 | * Border width of the text fregment.
|
5328 | *
|
5329 | *
|
5330 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
5331 | */
|
5332 | borderWidth?: number | undefined;
|
5333 |
|
5334 | /**
|
5335 | * Border radius of the text fregment.
|
5336 | *
|
5337 | *
|
5338 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
5339 | */
|
5340 | borderRadius?: number | undefined;
|
5341 |
|
5342 | /**
|
5343 | * Padding of the text fregment, for example:
|
5344 | *
|
5345 | * + `padding: [3, 4, 5, 6]`: represents padding
|
5346 | * of `[top, right, bottom, left]`.
|
5347 | * + `padding: 4`: represents `padding: [4,
|
5348 | * 4, 4, 4]`.
|
5349 | * + `padding: [3, 4]`: represents `padding:
|
5350 | * [3, 4, 3, 4]`.
|
5351 | *
|
5352 | * Notice, `width` and `height` specifies the
|
5353 | * width and height of the content, without
|
5354 | * `padding`.
|
5355 | *
|
5356 | *
|
5357 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
5358 | */
|
5359 | padding?: any[] | number | undefined;
|
5360 |
|
5361 | /**
|
5362 | * Shadow color of the text block.
|
5363 | *
|
5364 | *
|
5365 | * @default
|
5366 | * "transparent"
|
5367 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
5368 | */
|
5369 | shadowColor?: string | undefined;
|
5370 |
|
5371 | /**
|
5372 | * Show blur of the text block.
|
5373 | *
|
5374 | *
|
5375 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
5376 | */
|
5377 | shadowBlur?: number | undefined;
|
5378 |
|
5379 | /**
|
5380 | * Shadow X offset of the text block.
|
5381 | *
|
5382 | *
|
5383 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
5384 | */
|
5385 | shadowOffsetX?: number | undefined;
|
5386 |
|
5387 | /**
|
5388 | * Shadow Y offset of the text block.
|
5389 | *
|
5390 | *
|
5391 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
5392 | */
|
5393 | shadowOffsetY?: number | undefined;
|
5394 |
|
5395 | /**
|
5396 | * Width of the text block.
|
5397 | * It is the width of the text by default.
|
5398 | * In most cases, there is no need to specify
|
5399 | * it.
|
5400 | * You may want to use it in some cases like
|
5401 | * make simple table or using background image
|
5402 | * (see `backgroundColor`).
|
5403 | *
|
5404 | * Notice, `width` and `height` specifies the
|
5405 | * width and height of the content, without
|
5406 | * `padding`.
|
5407 | *
|
5408 | * `width` can also be percent string, like
|
5409 | * `'100%'`, which represents the percent of
|
5410 | * `contentWidth` (that is, the width without
|
5411 | * `padding`) of its container box.
|
5412 | * It is based on `contentWidth` because that
|
5413 | * each text fregment is layout based on the
|
5414 | * `content box`, where it makes no sense that
|
5415 | * calculating width based on `outerWith` in
|
5416 | * prectice.
|
5417 | *
|
5418 | * Notice, `width` and `height` only work when
|
5419 | * `rich` specified.
|
5420 | *
|
5421 | *
|
5422 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
5423 | */
|
5424 | width?: number | string | undefined;
|
5425 |
|
5426 | /**
|
5427 | * Height of the text block.
|
5428 | * It is the width of the text by default.
|
5429 | * You may want to use it in some cases like
|
5430 | * using background image (see `backgroundColor`).
|
5431 | *
|
5432 | * Notice, `width` and `height` specifies the
|
5433 | * width and height of the content, without
|
5434 | * `padding`.
|
5435 | *
|
5436 | * Notice, `width` and `height` only work when
|
5437 | * `rich` specified.
|
5438 | *
|
5439 | *
|
5440 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
5441 | */
|
5442 | height?: number | string | undefined;
|
5443 |
|
5444 | /**
|
5445 | * Storke color of the text.
|
5446 | *
|
5447 | * If set as `'auto'`, the color will assigned
|
5448 | * as visual color, such as series color.
|
5449 | *
|
5450 | *
|
5451 | * @default
|
5452 | * "transparent"
|
5453 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
5454 | */
|
5455 | textBorderColor?: string | undefined;
|
5456 |
|
5457 | /**
|
5458 | * Storke line width of the text.
|
5459 | *
|
5460 | *
|
5461 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
5462 | */
|
5463 | textBorderWidth?: number | undefined;
|
5464 |
|
5465 | /**
|
5466 | * Shadow color of the text itself.
|
5467 | *
|
5468 | *
|
5469 | * @default
|
5470 | * "transparent"
|
5471 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
5472 | */
|
5473 | textShadowColor?: string | undefined;
|
5474 |
|
5475 | /**
|
5476 | * Shadow blue of the text itself.
|
5477 | *
|
5478 | *
|
5479 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
5480 | */
|
5481 | textShadowBlur?: number | undefined;
|
5482 |
|
5483 | /**
|
5484 | * Shadow X offset of the text itself.
|
5485 | *
|
5486 | *
|
5487 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
5488 | */
|
5489 | textShadowOffsetX?: number | undefined;
|
5490 |
|
5491 | /**
|
5492 | * Shadow Y offset of the text itself.
|
5493 | *
|
5494 | *
|
5495 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
5496 | */
|
5497 | textShadowOffsetY?: number | undefined;
|
5498 | };
|
5499 | } | undefined;
|
5500 |
|
5501 | /**
|
5502 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis
|
5503 | */
|
5504 | emphasis?: {
|
5505 | /**
|
5506 | * Whether to show label.
|
5507 | *
|
5508 | *
|
5509 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.show
|
5510 | */
|
5511 | show?: boolean | undefined;
|
5512 |
|
5513 | /**
|
5514 | * Label position.
|
5515 | *
|
5516 | * **Followings are the options:**
|
5517 | *
|
5518 | * + \[x, y\]
|
5519 | *
|
5520 | * Use relative percentage, or absolute pixel values
|
5521 | * to represent position of label relative to top-left
|
5522 | * corner of bounding box. For example:
|
5523 | *
|
5524 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
|
5525 | *
|
5526 | * + 'top'
|
5527 | *
|
5528 | * + 'left'
|
5529 | * + 'right'
|
5530 | * + 'bottom'
|
5531 | * + 'inside'
|
5532 | * + 'insideLeft'
|
5533 | * + 'insideRight'
|
5534 | * + 'insideTop'
|
5535 | * + 'insideBottom'
|
5536 | * + 'insideTopLeft'
|
5537 | * + 'insideBottomLeft'
|
5538 | * + 'insideTopRight'
|
5539 | * + 'insideBottomRight'
|
5540 | *
|
5541 | * See:
|
5542 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
5543 | * .
|
5544 | *
|
5545 | *
|
5546 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.position
|
5547 | */
|
5548 | position?: any[] | string | undefined;
|
5549 |
|
5550 | /**
|
5551 | * Distance to the host graphic element.
|
5552 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
5553 | *
|
5554 | * See:
|
5555 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
5556 | * .
|
5557 | *
|
5558 | *
|
5559 | * @default
|
5560 | * 5
|
5561 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.distance
|
5562 | */
|
5563 | distance?: number | undefined;
|
5564 |
|
5565 | /**
|
5566 | * Rotate label, from -90 degree to 90, positive
|
5567 | * value represents rotate anti-clockwise.
|
5568 | *
|
5569 | * See:
|
5570 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
5571 | * .
|
5572 | *
|
5573 | *
|
5574 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rotate
|
5575 | */
|
5576 | rotate?: number | undefined;
|
5577 |
|
5578 | /**
|
5579 | * Whether to move text slightly.
|
5580 | * For example: `[30, 40]` means move `30` horizontally
|
5581 | * and move `40` vertically.
|
5582 | *
|
5583 | *
|
5584 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.offset
|
5585 | */
|
5586 | offset?: any[] | undefined;
|
5587 |
|
5588 | /**
|
5589 | * text color.
|
5590 | *
|
5591 | * If set as `'auto'`, the color will assigned as
|
5592 | * visual color, such as series color.
|
5593 | *
|
5594 | *
|
5595 | * @default
|
5596 | * ""#fff""
|
5597 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.color
|
5598 | */
|
5599 | color?: string | undefined;
|
5600 |
|
5601 | /**
|
5602 | * font style
|
5603 | *
|
5604 | * Options are:
|
5605 | *
|
5606 | * + `'normal'`
|
5607 | * + `'italic'`
|
5608 | * + `'oblique'`
|
5609 | *
|
5610 | *
|
5611 | * @default
|
5612 | * "normal"
|
5613 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontStyle
|
5614 | */
|
5615 | fontStyle?: string | undefined;
|
5616 |
|
5617 | /**
|
5618 | * font thick weight
|
5619 | *
|
5620 | * Options are:
|
5621 | *
|
5622 | * + `'normal'`
|
5623 | * + `'bold'`
|
5624 | * + `'bolder'`
|
5625 | * + `'lighter'`
|
5626 | * + 100 | 200 | 300 | 400...
|
5627 | *
|
5628 | *
|
5629 | * @default
|
5630 | * "normal"
|
5631 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontWeight
|
5632 | */
|
5633 | fontWeight?: string | number | undefined;
|
5634 |
|
5635 | /**
|
5636 | * font family
|
5637 | *
|
5638 | * Can also be 'serif' , 'monospace', ...
|
5639 | *
|
5640 | *
|
5641 | * @default
|
5642 | * "sans-serif"
|
5643 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontFamily
|
5644 | */
|
5645 | fontFamily?: string | undefined;
|
5646 |
|
5647 | /**
|
5648 | * font size
|
5649 | *
|
5650 | *
|
5651 | * @default
|
5652 | * 12
|
5653 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontSize
|
5654 | */
|
5655 | fontSize?: number | undefined;
|
5656 |
|
5657 | /**
|
5658 | * Horizontal alignment of text, automatic by default.
|
5659 | *
|
5660 | * Options are:
|
5661 | *
|
5662 | * + `'left'`
|
5663 | * + `'center'`
|
5664 | * + `'right'`
|
5665 | *
|
5666 | * If `align` is not set in `rich`, `align` in parent
|
5667 | * level will be used. For example:
|
5668 | *
|
5669 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
|
5670 | *
|
5671 | *
|
5672 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.align
|
5673 | */
|
5674 | align?: string | undefined;
|
5675 |
|
5676 | /**
|
5677 | * Vertical alignment of text, automatic by default.
|
5678 | *
|
5679 | * Options are:
|
5680 | *
|
5681 | * + `'top'`
|
5682 | * + `'middle'`
|
5683 | * + `'bottom'`
|
5684 | *
|
5685 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
5686 | * in parent level will be used. For example:
|
5687 | *
|
5688 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
|
5689 | *
|
5690 | *
|
5691 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.verticalAlign
|
5692 | */
|
5693 | verticalAlign?: string | undefined;
|
5694 |
|
5695 | /**
|
5696 | * Line height of the text fregment.
|
5697 | *
|
5698 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
5699 | * in parent level will be used. For example:
|
5700 | *
|
5701 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
|
5702 | *
|
5703 | *
|
5704 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.lineHeight
|
5705 | */
|
5706 | lineHeight?: number | undefined;
|
5707 |
|
5708 | /**
|
5709 | * Background color of the text fregment.
|
5710 | *
|
5711 | * Can be color string, like `'#123234'`, `'red'`,
|
5712 | * `rgba(0,23,11,0.3)'`.
|
5713 | *
|
5714 | * Or image can be used, for example:
|
5715 | *
|
5716 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
|
5717 | *
|
5718 | * `width` or `height` can be specified when using
|
5719 | * background image, or auto adapted by default.
|
5720 | *
|
5721 | * If set as `'auto'`, the color will assigned as
|
5722 | * visual color, such as series color.
|
5723 | *
|
5724 | *
|
5725 | * @default
|
5726 | * "transparent"
|
5727 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.backgroundColor
|
5728 | */
|
5729 | backgroundColor?: object | string | undefined;
|
5730 |
|
5731 | /**
|
5732 | * Border color of the text fregment.
|
5733 | *
|
5734 | * If set as `'auto'`, the color will assigned as
|
5735 | * visual color, such as series color.
|
5736 | *
|
5737 | *
|
5738 | * @default
|
5739 | * "transparent"
|
5740 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.borderColor
|
5741 | */
|
5742 | borderColor?: string | undefined;
|
5743 |
|
5744 | /**
|
5745 | * Border width of the text fregment.
|
5746 | *
|
5747 | *
|
5748 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.borderWidth
|
5749 | */
|
5750 | borderWidth?: number | undefined;
|
5751 |
|
5752 | /**
|
5753 | * Border radius of the text fregment.
|
5754 | *
|
5755 | *
|
5756 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.borderRadius
|
5757 | */
|
5758 | borderRadius?: number | undefined;
|
5759 |
|
5760 | /**
|
5761 | * Padding of the text fregment, for example:
|
5762 | *
|
5763 | * + `padding: [3, 4, 5, 6]`: represents padding
|
5764 | * of `[top, right, bottom, left]`.
|
5765 | * + `padding: 4`: represents `padding: [4, 4, 4,
|
5766 | * 4]`.
|
5767 | * + `padding: [3, 4]`: represents `padding: [3,
|
5768 | * 4, 3, 4]`.
|
5769 | *
|
5770 | * Notice, `width` and `height` specifies the width
|
5771 | * and height of the content, without `padding`.
|
5772 | *
|
5773 | *
|
5774 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.padding
|
5775 | */
|
5776 | padding?: any[] | number | undefined;
|
5777 |
|
5778 | /**
|
5779 | * Shadow color of the text block.
|
5780 | *
|
5781 | *
|
5782 | * @default
|
5783 | * "transparent"
|
5784 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowColor
|
5785 | */
|
5786 | shadowColor?: string | undefined;
|
5787 |
|
5788 | /**
|
5789 | * Show blur of the text block.
|
5790 | *
|
5791 | *
|
5792 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowBlur
|
5793 | */
|
5794 | shadowBlur?: number | undefined;
|
5795 |
|
5796 | /**
|
5797 | * Shadow X offset of the text block.
|
5798 | *
|
5799 | *
|
5800 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowOffsetX
|
5801 | */
|
5802 | shadowOffsetX?: number | undefined;
|
5803 |
|
5804 | /**
|
5805 | * Shadow Y offset of the text block.
|
5806 | *
|
5807 | *
|
5808 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowOffsetY
|
5809 | */
|
5810 | shadowOffsetY?: number | undefined;
|
5811 |
|
5812 | /**
|
5813 | * Width of the text block.
|
5814 | * It is the width of the text by default.
|
5815 | * In most cases, there is no need to specify it.
|
5816 | * You may want to use it in some cases like make
|
5817 | * simple table or using background image (see `backgroundColor`).
|
5818 | *
|
5819 | * Notice, `width` and `height` specifies the width
|
5820 | * and height of the content, without `padding`.
|
5821 | *
|
5822 | * `width` can also be percent string, like `'100%'`,
|
5823 | * which represents the percent of `contentWidth`
|
5824 | * (that is, the width without `padding`) of its
|
5825 | * container box.
|
5826 | * It is based on `contentWidth` because that each
|
5827 | * text fregment is layout based on the `content
|
5828 | * box`, where it makes no sense that calculating
|
5829 | * width based on `outerWith` in prectice.
|
5830 | *
|
5831 | * Notice, `width` and `height` only work when `rich`
|
5832 | * specified.
|
5833 | *
|
5834 | *
|
5835 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.width
|
5836 | */
|
5837 | width?: number | string | undefined;
|
5838 |
|
5839 | /**
|
5840 | * Height of the text block.
|
5841 | * It is the width of the text by default.
|
5842 | * You may want to use it in some cases like using
|
5843 | * background image (see `backgroundColor`).
|
5844 | *
|
5845 | * Notice, `width` and `height` specifies the width
|
5846 | * and height of the content, without `padding`.
|
5847 | *
|
5848 | * Notice, `width` and `height` only work when `rich`
|
5849 | * specified.
|
5850 | *
|
5851 | *
|
5852 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.height
|
5853 | */
|
5854 | height?: number | string | undefined;
|
5855 |
|
5856 | /**
|
5857 | * Storke color of the text.
|
5858 | *
|
5859 | * If set as `'auto'`, the color will assigned as
|
5860 | * visual color, such as series color.
|
5861 | *
|
5862 | *
|
5863 | * @default
|
5864 | * "transparent"
|
5865 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textBorderColor
|
5866 | */
|
5867 | textBorderColor?: string | undefined;
|
5868 |
|
5869 | /**
|
5870 | * Storke line width of the text.
|
5871 | *
|
5872 | *
|
5873 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textBorderWidth
|
5874 | */
|
5875 | textBorderWidth?: number | undefined;
|
5876 |
|
5877 | /**
|
5878 | * Shadow color of the text itself.
|
5879 | *
|
5880 | *
|
5881 | * @default
|
5882 | * "transparent"
|
5883 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowColor
|
5884 | */
|
5885 | textShadowColor?: string | undefined;
|
5886 |
|
5887 | /**
|
5888 | * Shadow blue of the text itself.
|
5889 | *
|
5890 | *
|
5891 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowBlur
|
5892 | */
|
5893 | textShadowBlur?: number | undefined;
|
5894 |
|
5895 | /**
|
5896 | * Shadow X offset of the text itself.
|
5897 | *
|
5898 | *
|
5899 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowOffsetX
|
5900 | */
|
5901 | textShadowOffsetX?: number | undefined;
|
5902 |
|
5903 | /**
|
5904 | * Shadow Y offset of the text itself.
|
5905 | *
|
5906 | *
|
5907 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowOffsetY
|
5908 | */
|
5909 | textShadowOffsetY?: number | undefined;
|
5910 |
|
5911 | /**
|
5912 | * "Rich text styles" can be defined in this `rich`
|
5913 | * property. For example:
|
5914 | *
|
5915 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
|
5916 | *
|
5917 | * For more details, see
|
5918 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
5919 | * please.
|
5920 | *
|
5921 | *
|
5922 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich
|
5923 | */
|
5924 | rich?: {
|
5925 | /**
|
5926 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
|
5927 | */
|
5928 | [userStyle: string]: {
|
5929 | /**
|
5930 | * text color.
|
5931 | *
|
5932 | * If set as `'auto'`, the color will assigned
|
5933 | * as visual color, such as series color.
|
5934 | *
|
5935 | *
|
5936 | * @default
|
5937 | * ""#fff""
|
5938 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
|
5939 | */
|
5940 | color?: string | undefined;
|
5941 |
|
5942 | /**
|
5943 | * font style
|
5944 | *
|
5945 | * Options are:
|
5946 | *
|
5947 | * + `'normal'`
|
5948 | * + `'italic'`
|
5949 | * + `'oblique'`
|
5950 | *
|
5951 | *
|
5952 | * @default
|
5953 | * "normal"
|
5954 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
5955 | */
|
5956 | fontStyle?: string | undefined;
|
5957 |
|
5958 | /**
|
5959 | * font thick weight
|
5960 | *
|
5961 | * Options are:
|
5962 | *
|
5963 | * + `'normal'`
|
5964 | * + `'bold'`
|
5965 | * + `'bolder'`
|
5966 | * + `'lighter'`
|
5967 | * + 100 | 200 | 300 | 400...
|
5968 | *
|
5969 | *
|
5970 | * @default
|
5971 | * "normal"
|
5972 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
5973 | */
|
5974 | fontWeight?: string | number | undefined;
|
5975 |
|
5976 | /**
|
5977 | * font family
|
5978 | *
|
5979 | * Can also be 'serif' , 'monospace',
|
5980 | * ...
|
5981 | *
|
5982 | *
|
5983 | * @default
|
5984 | * "sans-serif"
|
5985 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
5986 | */
|
5987 | fontFamily?: string | undefined;
|
5988 |
|
5989 | /**
|
5990 | * font size
|
5991 | *
|
5992 | *
|
5993 | * @default
|
5994 | * 12
|
5995 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
5996 | */
|
5997 | fontSize?: number | undefined;
|
5998 |
|
5999 | /**
|
6000 | * Horizontal alignment of text, automatic
|
6001 | * by default.
|
6002 | *
|
6003 | * Options are:
|
6004 | *
|
6005 | * + `'left'`
|
6006 | * + `'center'`
|
6007 | * + `'right'`
|
6008 | *
|
6009 | * If `align` is not set in `rich`, `align`
|
6010 | * in parent level will be used.
|
6011 | * For example:
|
6012 | *
|
6013 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
6014 | *
|
6015 | *
|
6016 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
|
6017 | */
|
6018 | align?: string | undefined;
|
6019 |
|
6020 | /**
|
6021 | * Vertical alignment of text, automatic
|
6022 | * by default.
|
6023 | *
|
6024 | * Options are:
|
6025 | *
|
6026 | * + `'top'`
|
6027 | * + `'middle'`
|
6028 | * + `'bottom'`
|
6029 | *
|
6030 | * If `verticalAlign` is not set in `rich`,
|
6031 | * `verticalAlign` in parent level will
|
6032 | * be used. For example:
|
6033 | *
|
6034 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
6035 | *
|
6036 | *
|
6037 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
6038 | */
|
6039 | verticalAlign?: string | undefined;
|
6040 |
|
6041 | /**
|
6042 | * Line height of the text fregment.
|
6043 | *
|
6044 | * If `lineHeight` is not set in `rich`,
|
6045 | * `lineHeight` in parent level will be
|
6046 | * used. For example:
|
6047 | *
|
6048 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
6049 | *
|
6050 | *
|
6051 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
6052 | */
|
6053 | lineHeight?: number | undefined;
|
6054 |
|
6055 | /**
|
6056 | * Background color of the text fregment.
|
6057 | *
|
6058 | * Can be color string, like `'#123234'`,
|
6059 | * `'red'`, `rgba(0,23,11,0.3)'`.
|
6060 | *
|
6061 | * Or image can be used, for example:
|
6062 | *
|
6063 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
6064 | *
|
6065 | * `width` or `height` can be specified
|
6066 | * when using background image, or auto
|
6067 | * adapted by default.
|
6068 | *
|
6069 | * If set as `'auto'`, the color will assigned
|
6070 | * as visual color, such as series color.
|
6071 | *
|
6072 | *
|
6073 | * @default
|
6074 | * "transparent"
|
6075 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
6076 | */
|
6077 | backgroundColor?: object | string | undefined;
|
6078 |
|
6079 | /**
|
6080 | * Border color of the text fregment.
|
6081 | *
|
6082 | * If set as `'auto'`, the color will assigned
|
6083 | * as visual color, such as series color.
|
6084 | *
|
6085 | *
|
6086 | * @default
|
6087 | * "transparent"
|
6088 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
6089 | */
|
6090 | borderColor?: string | undefined;
|
6091 |
|
6092 | /**
|
6093 | * Border width of the text fregment.
|
6094 | *
|
6095 | *
|
6096 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
6097 | */
|
6098 | borderWidth?: number | undefined;
|
6099 |
|
6100 | /**
|
6101 | * Border radius of the text fregment.
|
6102 | *
|
6103 | *
|
6104 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
6105 | */
|
6106 | borderRadius?: number | undefined;
|
6107 |
|
6108 | /**
|
6109 | * Padding of the text fregment, for example:
|
6110 | *
|
6111 | * + `padding: [3, 4, 5, 6]`: represents
|
6112 | * padding of `[top, right, bottom, left]`.
|
6113 | * + `padding: 4`: represents `padding:
|
6114 | * [4, 4, 4, 4]`.
|
6115 | * + `padding: [3, 4]`: represents `padding:
|
6116 | * [3, 4, 3, 4]`.
|
6117 | *
|
6118 | * Notice, `width` and `height` specifies
|
6119 | * the width and height of the content,
|
6120 | * without `padding`.
|
6121 | *
|
6122 | *
|
6123 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
|
6124 | */
|
6125 | padding?: any[] | number | undefined;
|
6126 |
|
6127 | /**
|
6128 | * Shadow color of the text block.
|
6129 | *
|
6130 | *
|
6131 | * @default
|
6132 | * "transparent"
|
6133 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
6134 | */
|
6135 | shadowColor?: string | undefined;
|
6136 |
|
6137 | /**
|
6138 | * Show blur of the text block.
|
6139 | *
|
6140 | *
|
6141 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
6142 | */
|
6143 | shadowBlur?: number | undefined;
|
6144 |
|
6145 | /**
|
6146 | * Shadow X offset of the text block.
|
6147 | *
|
6148 | *
|
6149 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
6150 | */
|
6151 | shadowOffsetX?: number | undefined;
|
6152 |
|
6153 | /**
|
6154 | * Shadow Y offset of the text block.
|
6155 | *
|
6156 | *
|
6157 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
6158 | */
|
6159 | shadowOffsetY?: number | undefined;
|
6160 |
|
6161 | /**
|
6162 | * Width of the text block.
|
6163 | * It is the width of the text by default.
|
6164 | * In most cases, there is no need to specify
|
6165 | * it.
|
6166 | * You may want to use it in some cases
|
6167 | * like make simple table or using background
|
6168 | * image (see `backgroundColor`).
|
6169 | *
|
6170 | * Notice, `width` and `height` specifies
|
6171 | * the width and height of the content,
|
6172 | * without `padding`.
|
6173 | *
|
6174 | * `width` can also be percent string, like
|
6175 | * `'100%'`, which represents the percent
|
6176 | * of `contentWidth` (that is, the width
|
6177 | * without `padding`) of its container box.
|
6178 | * It is based on `contentWidth` because
|
6179 | * that each text fregment is layout based
|
6180 | * on the `content box`, where it makes
|
6181 | * no sense that calculating width based
|
6182 | * on `outerWith` in prectice.
|
6183 | *
|
6184 | * Notice, `width` and `height` only work
|
6185 | * when `rich` specified.
|
6186 | *
|
6187 | *
|
6188 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
|
6189 | */
|
6190 | width?: number | string | undefined;
|
6191 |
|
6192 | /**
|
6193 | * Height of the text block.
|
6194 | * It is the width of the text by default.
|
6195 | * You may want to use it in some cases
|
6196 | * like using background image (see `backgroundColor`).
|
6197 | *
|
6198 | * Notice, `width` and `height` specifies
|
6199 | * the width and height of the content,
|
6200 | * without `padding`.
|
6201 | *
|
6202 | * Notice, `width` and `height` only work
|
6203 | * when `rich` specified.
|
6204 | *
|
6205 | *
|
6206 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
|
6207 | */
|
6208 | height?: number | string | undefined;
|
6209 |
|
6210 | /**
|
6211 | * Storke color of the text.
|
6212 | *
|
6213 | * If set as `'auto'`, the color will assigned
|
6214 | * as visual color, such as series color.
|
6215 | *
|
6216 | *
|
6217 | * @default
|
6218 | * "transparent"
|
6219 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
6220 | */
|
6221 | textBorderColor?: string | undefined;
|
6222 |
|
6223 | /**
|
6224 | * Storke line width of the text.
|
6225 | *
|
6226 | *
|
6227 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
6228 | */
|
6229 | textBorderWidth?: number | undefined;
|
6230 |
|
6231 | /**
|
6232 | * Shadow color of the text itself.
|
6233 | *
|
6234 | *
|
6235 | * @default
|
6236 | * "transparent"
|
6237 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
6238 | */
|
6239 | textShadowColor?: string | undefined;
|
6240 |
|
6241 | /**
|
6242 | * Shadow blue of the text itself.
|
6243 | *
|
6244 | *
|
6245 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
6246 | */
|
6247 | textShadowBlur?: number | undefined;
|
6248 |
|
6249 | /**
|
6250 | * Shadow X offset of the text itself.
|
6251 | *
|
6252 | *
|
6253 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
6254 | */
|
6255 | textShadowOffsetX?: number | undefined;
|
6256 |
|
6257 | /**
|
6258 | * Shadow Y offset of the text itself.
|
6259 | *
|
6260 | *
|
6261 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
6262 | */
|
6263 | textShadowOffsetY?: number | undefined;
|
6264 | };
|
6265 | } | undefined;
|
6266 | } | undefined;
|
6267 | } | undefined;
|
6268 | }[] | undefined;
|
6269 |
|
6270 | /**
|
6271 | * Whether to enable animation.
|
6272 | *
|
6273 | *
|
6274 | * @default
|
6275 | * "true"
|
6276 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animation
|
6277 | */
|
6278 | animation?: boolean | undefined;
|
6279 |
|
6280 | /**
|
6281 | * Whether to set graphic number threshold to animation.
|
6282 | * Animation will be disabled when graphic number is larger
|
6283 | * than threshold.
|
6284 | *
|
6285 | *
|
6286 | * @default
|
6287 | * 2000
|
6288 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationThreshold
|
6289 | */
|
6290 | animationThreshold?: number | undefined;
|
6291 |
|
6292 | /**
|
6293 | * Duration of the first animation, which supports callback
|
6294 | * function for different data to have different animation effect:
|
6295 | *
|
6296 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
|
6297 | *
|
6298 | *
|
6299 | * @default
|
6300 | * 1000
|
6301 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDuration
|
6302 | */
|
6303 | animationDuration?: Function | number | undefined;
|
6304 |
|
6305 | /**
|
6306 | * Easing method used for the first animation.
|
6307 | * Varied easing effects can be found at
|
6308 | * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
|
6309 | * .
|
6310 | *
|
6311 | *
|
6312 | * @default
|
6313 | * "cubicOut"
|
6314 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationEasing
|
6315 | */
|
6316 | animationEasing?: string | undefined;
|
6317 |
|
6318 | /**
|
6319 | * Delay before updating the first animation, which supports
|
6320 | * callback function for different data to have different animation
|
6321 | * effect.
|
6322 | *
|
6323 | * For example:
|
6324 | *
|
6325 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
|
6326 | *
|
6327 | * See
|
6328 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
6329 | * for more information.
|
6330 | *
|
6331 | *
|
6332 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDelay
|
6333 | */
|
6334 | animationDelay?: Function | number | undefined;
|
6335 |
|
6336 | /**
|
6337 | * Time for animation to complete, which supports callback function
|
6338 | * for different data to have different animation effect:
|
6339 | *
|
6340 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
|
6341 | *
|
6342 | *
|
6343 | * @default
|
6344 | * 300
|
6345 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDurationUpdate
|
6346 | */
|
6347 | animationDurationUpdate?: Function | number | undefined;
|
6348 |
|
6349 | /**
|
6350 | * Easing method used for animation.
|
6351 | *
|
6352 | *
|
6353 | * @default
|
6354 | * "cubicOut"
|
6355 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationEasingUpdate
|
6356 | */
|
6357 | animationEasingUpdate?: string | undefined;
|
6358 |
|
6359 | /**
|
6360 | * Delay before updating animation, which supports callback
|
6361 | * function for different data to have different animation effect.
|
6362 | *
|
6363 | * For example:
|
6364 | *
|
6365 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
|
6366 | *
|
6367 | * See
|
6368 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
6369 | * for more information.
|
6370 | *
|
6371 | * prefix
|
6372 | *
|
6373 | *
|
6374 | * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDelayUpdate
|
6375 | */
|
6376 | animationDelayUpdate?: Function | number | undefined;
|
6377 | } | undefined;
|
6378 |
|
6379 | /**
|
6380 | * Use a line in the chart to illustrate.
|
6381 | *
|
6382 | *
|
6383 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine
|
6384 | */
|
6385 | markLine?: {
|
6386 | /**
|
6387 | * Whether to ignore mouse events.
|
6388 | * Default value is false, for triggering and responding to
|
6389 | * mouse events.
|
6390 | *
|
6391 | *
|
6392 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.silent
|
6393 | */
|
6394 | silent?: boolean | undefined;
|
6395 |
|
6396 | /**
|
6397 | * Symbol type at the two ends of the mark line.
|
6398 | * It can be an array for two ends, or assigned seperately.
|
6399 | * See
|
6400 | * [data.symbol](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbol)
|
6401 | * for more format information.
|
6402 | *
|
6403 | *
|
6404 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.symbol
|
6405 | */
|
6406 | symbol?: any[] | string | undefined;
|
6407 |
|
6408 | /**
|
6409 | * Symbol size at the two ends of the mark line.
|
6410 | * It can be an array for two ends, or assigned seperately.
|
6411 | *
|
6412 | * **Attention:** You cannot assgin width and height seperately
|
6413 | * as normal `symbolSize`.
|
6414 | *
|
6415 | *
|
6416 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.symbolSize
|
6417 | */
|
6418 | symbolSize?: any[] | number | undefined;
|
6419 |
|
6420 | /**
|
6421 | * Precison of marking line value, which is useful when displaying
|
6422 | * average value mark line.
|
6423 | *
|
6424 | *
|
6425 | * @default
|
6426 | * 2
|
6427 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.precision
|
6428 | */
|
6429 | precision?: number | undefined;
|
6430 |
|
6431 | /**
|
6432 | * Mark line text.
|
6433 | *
|
6434 | *
|
6435 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label
|
6436 | */
|
6437 | label?: {
|
6438 | /**
|
6439 | * Whether show label or not.
|
6440 | *
|
6441 | *
|
6442 | * @default
|
6443 | * "true"
|
6444 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.show
|
6445 | */
|
6446 | show?: boolean | undefined;
|
6447 |
|
6448 | /**
|
6449 | * Positions of labels can be:
|
6450 | *
|
6451 | * + `'start'` starting point of the line.
|
6452 | * + `'middle'` middle point of the line.
|
6453 | * + `'end'` ending point of the line.
|
6454 | *
|
6455 | *
|
6456 | * @default
|
6457 | * "end"
|
6458 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.position
|
6459 | */
|
6460 | position?: string | undefined;
|
6461 |
|
6462 | /**
|
6463 | * Data label formatter, which supports string template
|
6464 | * and callback function.
|
6465 | * In either form, `\n` is supported to represent a new
|
6466 | * line.
|
6467 | *
|
6468 | * **String template**
|
6469 | *
|
6470 | * Model variation includes:
|
6471 | *
|
6472 | * + `{a}`: series name.
|
6473 | * + `{b}`: the name of a data item.
|
6474 | * + `{c}`: the value of a data item.
|
6475 | * + `{d}`: the percent.
|
6476 | * + `{@xxx}: the value of a dimension named`'xxx'`, for
|
6477 | * example,`{@product}`refers the value of`'product'\` dimension。
|
6478 | * + `{@[n]}: the value of a dimension at the index of`n`,
|
6479 | * for example,`{@\[3\]}\` refers the value at dimensions\[3\].
|
6480 | *
|
6481 | * **example:**
|
6482 | *
|
6483 | * ```
|
6484 | * formatter: '{b}: {d}'
|
6485 | *
|
6486 | * ```
|
6487 | *
|
6488 | * **Callback function**
|
6489 | *
|
6490 | * Callback function is in form of:
|
6491 | *
|
6492 | * ```
|
6493 | * (params: Object|Array) => string
|
6494 | *
|
6495 | * ```
|
6496 | *
|
6497 | * where `params` is the single dataset needed by formatter,
|
6498 | * which is formed as:
|
6499 | *
|
6500 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.label)
|
6501 | *
|
6502 | *
|
6503 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.formatter
|
6504 | */
|
6505 | formatter?: Function | string | undefined;
|
6506 |
|
6507 | /**
|
6508 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis
|
6509 | */
|
6510 | emphasis?: {
|
6511 | /**
|
6512 | * Whether show label or not.
|
6513 | *
|
6514 | *
|
6515 | * @default
|
6516 | * "true"
|
6517 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis.show
|
6518 | */
|
6519 | show?: boolean | undefined;
|
6520 |
|
6521 | /**
|
6522 | * Positions of labels can be:
|
6523 | *
|
6524 | * + `'start'` starting point of the line.
|
6525 | * + `'middle'` middle point of the line.
|
6526 | * + `'end'` ending point of the line.
|
6527 | *
|
6528 | *
|
6529 | * @default
|
6530 | * "end"
|
6531 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis.position
|
6532 | */
|
6533 | position?: string | undefined;
|
6534 |
|
6535 | /**
|
6536 | * Data label formatter, which supports string template
|
6537 | * and callback function.
|
6538 | * In either form, `\n` is supported to represent a
|
6539 | * new line.
|
6540 | *
|
6541 | * **String template**
|
6542 | *
|
6543 | * Model variation includes:
|
6544 | *
|
6545 | * + `{a}`: series name.
|
6546 | * + `{b}`: the name of a data item.
|
6547 | * + `{c}`: the value of a data item.
|
6548 | * + `{d}`: the percent.
|
6549 | * + `{@xxx}: the value of a dimension named`'xxx'`,
|
6550 | * for example,`{@product}`refers the value of`'product'\`
|
6551 | * dimension。
|
6552 | * + `{@[n]}: the value of a dimension at the index
|
6553 | * of`n`, for example,`{@\[3\]}\` refers the value at
|
6554 | * dimensions\[3\].
|
6555 | *
|
6556 | * **example:**
|
6557 | *
|
6558 | * ```
|
6559 | * formatter: '{b}: {d}'
|
6560 | *
|
6561 | * ```
|
6562 | *
|
6563 | * **Callback function**
|
6564 | *
|
6565 | * Callback function is in form of:
|
6566 | *
|
6567 | * ```
|
6568 | * (params: Object|Array) => string
|
6569 | *
|
6570 | * ```
|
6571 | *
|
6572 | * where `params` is the single dataset needed by formatter,
|
6573 | * which is formed as:
|
6574 | *
|
6575 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.label.emphasis)
|
6576 | *
|
6577 | *
|
6578 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis.formatter
|
6579 | */
|
6580 | formatter?: Function | string | undefined;
|
6581 | } | undefined;
|
6582 | } | undefined;
|
6583 |
|
6584 | /**
|
6585 | * Mark line style.
|
6586 | *
|
6587 | *
|
6588 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle
|
6589 | */
|
6590 | lineStyle?: {
|
6591 | /**
|
6592 | * Line color.
|
6593 | *
|
6594 | * > Color can be represented in RGB, for example `'rgb(128,
|
6595 | * 128, 128)'`.
|
6596 | * RGBA can be used when you need alpha channel, for example
|
6597 | * `'rgba(128, 128, 128, 0.5)'`.
|
6598 | * You may also use hexadecimal format, for example `'#ccc'`.
|
6599 | * Gradient color and texture are also supported besides
|
6600 | * single colors.
|
6601 | * >
|
6602 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle)
|
6603 | *
|
6604 | *
|
6605 | * @default
|
6606 | * "#000"
|
6607 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.color
|
6608 | */
|
6609 | color?: EChartOption.Color | undefined;
|
6610 |
|
6611 | /**
|
6612 | * line width.
|
6613 | *
|
6614 | *
|
6615 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.width
|
6616 | */
|
6617 | width?: number | undefined;
|
6618 |
|
6619 | /**
|
6620 | * line type.
|
6621 | *
|
6622 | * Options are:
|
6623 | *
|
6624 | * + `'solid'`
|
6625 | * + `'dashed'`
|
6626 | * + `'dotted'`
|
6627 | *
|
6628 | *
|
6629 | * @default
|
6630 | * "solid"
|
6631 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.type
|
6632 | */
|
6633 | type?: string | undefined;
|
6634 |
|
6635 | /**
|
6636 | * Size of shadow blur.
|
6637 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
6638 | * `shadowOffsetY` to set shadow to component.
|
6639 | *
|
6640 | * For example:
|
6641 | *
|
6642 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle)
|
6643 | *
|
6644 | *
|
6645 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowBlur
|
6646 | */
|
6647 | shadowBlur?: number | undefined;
|
6648 |
|
6649 | /**
|
6650 | * Shadow color. Support same format as `color`.
|
6651 | *
|
6652 | *
|
6653 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowColor
|
6654 | */
|
6655 | shadowColor?: EChartOption.Color | undefined;
|
6656 |
|
6657 | /**
|
6658 | * Offset distance on the horizontal direction of shadow.
|
6659 | *
|
6660 | *
|
6661 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowOffsetX
|
6662 | */
|
6663 | shadowOffsetX?: number | undefined;
|
6664 |
|
6665 | /**
|
6666 | * Offset distance on the vertical direction of shadow.
|
6667 | *
|
6668 | *
|
6669 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowOffsetY
|
6670 | */
|
6671 | shadowOffsetY?: number | undefined;
|
6672 |
|
6673 | /**
|
6674 | * Opacity of the component.
|
6675 | * Supports value from 0 to 1, and the component will not
|
6676 | * be drawn when set to 0.
|
6677 | *
|
6678 | *
|
6679 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.opacity
|
6680 | */
|
6681 | opacity?: number | undefined;
|
6682 |
|
6683 | /**
|
6684 | * Edge curvature, which supports value from 0 to 1.
|
6685 | * The larger the value, the greater the curvature.
|
6686 | *
|
6687 | *
|
6688 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.curveness
|
6689 | */
|
6690 | curveness?: number | undefined;
|
6691 |
|
6692 | /**
|
6693 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis
|
6694 | */
|
6695 | emphasis?: {
|
6696 | /**
|
6697 | * Line color.
|
6698 | *
|
6699 | * > Color can be represented in RGB, for example `'rgb(128,
|
6700 | * 128, 128)'`.
|
6701 | * RGBA can be used when you need alpha channel, for
|
6702 | * example `'rgba(128, 128, 128, 0.5)'`.
|
6703 | * You may also use hexadecimal format, for example
|
6704 | * `'#ccc'`.
|
6705 | * Gradient color and texture are also supported besides
|
6706 | * single colors.
|
6707 | * >
|
6708 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle.emphasis)
|
6709 | *
|
6710 | *
|
6711 | * @default
|
6712 | * "#000"
|
6713 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.color
|
6714 | */
|
6715 | color?: EChartOption.Color | undefined;
|
6716 |
|
6717 | /**
|
6718 | * line width.
|
6719 | *
|
6720 | *
|
6721 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.width
|
6722 | */
|
6723 | width?: number | undefined;
|
6724 |
|
6725 | /**
|
6726 | * line type.
|
6727 | *
|
6728 | * Options are:
|
6729 | *
|
6730 | * + `'solid'`
|
6731 | * + `'dashed'`
|
6732 | * + `'dotted'`
|
6733 | *
|
6734 | *
|
6735 | * @default
|
6736 | * "solid"
|
6737 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.type
|
6738 | */
|
6739 | type?: string | undefined;
|
6740 |
|
6741 | /**
|
6742 | * Size of shadow blur.
|
6743 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
6744 | * `shadowOffsetY` to set shadow to component.
|
6745 | *
|
6746 | * For example:
|
6747 | *
|
6748 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle.emphasis)
|
6749 | *
|
6750 | *
|
6751 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowBlur
|
6752 | */
|
6753 | shadowBlur?: number | undefined;
|
6754 |
|
6755 | /**
|
6756 | * Shadow color. Support same format as `color`.
|
6757 | *
|
6758 | *
|
6759 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowColor
|
6760 | */
|
6761 | shadowColor?: EChartOption.Color | undefined;
|
6762 |
|
6763 | /**
|
6764 | * Offset distance on the horizontal direction of shadow.
|
6765 | *
|
6766 | *
|
6767 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowOffsetX
|
6768 | */
|
6769 | shadowOffsetX?: number | undefined;
|
6770 |
|
6771 | /**
|
6772 | * Offset distance on the vertical direction of shadow.
|
6773 | *
|
6774 | *
|
6775 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowOffsetY
|
6776 | */
|
6777 | shadowOffsetY?: number | undefined;
|
6778 |
|
6779 | /**
|
6780 | * Opacity of the component.
|
6781 | * Supports value from 0 to 1, and the component will
|
6782 | * not be drawn when set to 0.
|
6783 | *
|
6784 | *
|
6785 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.opacity
|
6786 | */
|
6787 | opacity?: number | undefined;
|
6788 | } | undefined;
|
6789 | } | undefined;
|
6790 |
|
6791 | /**
|
6792 | * Data array of marking line.
|
6793 | * Every array item can be an array of one or two values, representing
|
6794 | * starting and ending point of the line, and every item is
|
6795 | * an object.
|
6796 | * Here are several ways to assign the positions of starting
|
6797 | * and ending point.
|
6798 | *
|
6799 | * 1. Assign coordinate according to container with
|
6800 | * [x](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.x)
|
6801 | * ,
|
6802 | * [y](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.y)
|
6803 | * attribute, in which pixel values and percentage are supported.
|
6804 | *
|
6805 | * 2. Assign coordinate position with
|
6806 | * [coord](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.coord)
|
6807 | * attribute, in which `'min'`, `'max'`, `'average'` are supported
|
6808 | * for each dimension.
|
6809 | *
|
6810 | * 3. Use
|
6811 | * [type](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.type)
|
6812 | * attribute to mark the maximum and minimum values in the series,
|
6813 | * in which
|
6814 | * [valueIndex](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueIndex)
|
6815 | * or
|
6816 | * [valueDim](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueDim)
|
6817 | * can be used to assign the dimension.
|
6818 | *
|
6819 | * 4.
|
6820 | * You may also create a mark line in Cartesian coordinate at
|
6821 | * a specific position in X or Y axis by assigning `xAxis` or
|
6822 | * `yAxis`. See
|
6823 | * [scatter-weight](https://echarts.apache.org/examples/en/editor.html?c=scatter-weight)
|
6824 | * for example.
|
6825 | *
|
6826 | * When multiple attributes exist, priority is as the above
|
6827 | * order.
|
6828 | *
|
6829 | * You may also set the type of mark line through `type`, stating
|
6830 | * whether it is for the maximum value or average value.
|
6831 | * Likewise, dimensions can be assigned through `valueIndex`.
|
6832 | *
|
6833 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
|
6834 | *
|
6835 | *
|
6836 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data
|
6837 | */
|
6838 | data?: {
|
6839 | /**
|
6840 | * Data of the starting point.
|
6841 | *
|
6842 | *
|
6843 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0
|
6844 | */
|
6845 | 0?: {
|
6846 | /**
|
6847 | * Special label types, are used to label maximum value,
|
6848 | * minimum value and so on.
|
6849 | *
|
6850 | * **Options are:**
|
6851 | *
|
6852 | * + `'min'` maximum value.
|
6853 | * + `'max'` minimum value.
|
6854 | * + `'average'` average value.
|
6855 | *
|
6856 | *
|
6857 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.type
|
6858 | */
|
6859 | type?: string | undefined;
|
6860 |
|
6861 | /**
|
6862 | * Works only when
|
6863 | * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
|
6864 | * is assigned.
|
6865 | * It is used to state the dimension used to calculate
|
6866 | * maximum value or minimum value.
|
6867 | * It may be `0` (for xAxis, or radiusAxis), or `1`
|
6868 | * (for yAxis, or angleAxis).
|
6869 | * Dimension of the first numeric axis is used by default.
|
6870 | *
|
6871 | *
|
6872 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueIndex
|
6873 | */
|
6874 | valueIndex?: number | undefined;
|
6875 |
|
6876 | /**
|
6877 | * Works only when
|
6878 | * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
|
6879 | * is assigned.
|
6880 | * It is used to state the dimension used to calculate
|
6881 | * maximum value or minimum value.
|
6882 | * It may be the direct name of a dimension, like `x`,
|
6883 | * or `angle` for line charts, or `open`, or `close`
|
6884 | * for candlestick charts.
|
6885 | *
|
6886 | *
|
6887 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueDim
|
6888 | */
|
6889 | valueDim?: string | undefined;
|
6890 |
|
6891 | /**
|
6892 | * Coordinates of the starting point or ending point,
|
6893 | * whose format depends on the coordinate of the series.
|
6894 | * It can be `x`, and `y` for
|
6895 | * [rectangular coordinates](https://echarts.apache.org/en/option.html#grid)
|
6896 | * , or `radius`, and `angle` for
|
6897 | * [polar coordinates](https://echarts.apache.org/en/option.html#polar)
|
6898 | * .
|
6899 | *
|
6900 | * **Notice:** For axis with
|
6901 | * [axis.type](https://echarts.apache.org/en/option.html#xAixs.type)
|
6902 | * `'category'`:
|
6903 | *
|
6904 | * + If coord value is `number`, it represents index
|
6905 | * of
|
6906 | * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
|
6907 | * .
|
6908 | * + If coord value is `string`, it represents concrete
|
6909 | * value in
|
6910 | * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
|
6911 | *
|
6912 | *
|
6913 | * Please notice that in this case `xAxis.data`
|
6914 | * must not be written as \[number, number,
|
6915 | *
|
6916 | *
|
6917 | *
|
6918 | * \], but can only be written \[string, string,
|
6919 | *
|
6920 | *
|
6921 | *
|
6922 | * \].
|
6923 | * Otherwise it is not able to be located by markPoint
|
6924 | * / markLine.
|
6925 | *
|
6926 | * For example:
|
6927 | *
|
6928 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0)
|
6929 | *
|
6930 | *
|
6931 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.coord
|
6932 | */
|
6933 | coord?: any[] | undefined;
|
6934 |
|
6935 | /**
|
6936 | * Name of the marker, which will display as a label.
|
6937 | *
|
6938 | *
|
6939 | * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markLine.data.0.name
|
6940 | */
|
6941 | name?: string | undefined;
|
6942 |
|
6943 | /**
|
6944 | * X position according to container, in pixel.
|
6945 | *
|
6946 | *
|
6947 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.x
|
6948 | */
|
6949 | x?: number | undefined;
|
6950 |
|
6951 | /**
|
6952 | * Y position according to container, in pixel.
|
6953 | *
|
6954 | *
|
6955 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.y
|
6956 | */
|
6957 | y?: number | undefined;
|
6958 |
|
6959 | /**
|
6960 | * Label value, which can be ignored.
|
6961 | *
|
6962 | *
|
6963 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.value
|
6964 | */
|
6965 | value?: number | undefined;
|
6966 |
|
6967 | /**
|
6968 | * Symbol of starting point.
|
6969 | *
|
6970 | * Icon types provided by ECharts includes `'circle'`,
|
6971 | * `'rect'`, `'roundRect'`, `'triangle'`, `'diamond'`,
|
6972 | * `'pin'`, `'arrow'`, `'none'`
|
6973 | *
|
6974 | * It can be set to an image with `'image://url'` ,
|
6975 | * in which URL is the link to an image, or `dataURI`
|
6976 | * of an image.
|
6977 | *
|
6978 | * An image URL example:
|
6979 | *
|
6980 | * ```
|
6981 | * 'image://http://xxx.xxx.xxx/a/b.png'
|
6982 | *
|
6983 | * ```
|
6984 | *
|
6985 | * A `dataURI` example:
|
6986 | *
|
6987 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0)
|
6988 | *
|
6989 | * Icons can be set to arbitrary vector path via `'path://'`
|
6990 | * in ECharts.
|
6991 | * As compared with raster image, vector paths prevent
|
6992 | * from jagging and blurring when scaled, and have a
|
6993 | * better control over changing colors.
|
6994 | * Size of vectoer icon will be adapted automatically.
|
6995 | * Refer to
|
6996 | * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
|
6997 | * for more information about format of path.
|
6998 | * You may export vector paths from tools like Adobe
|
6999 | * Illustrator.
|
7000 | *
|
7001 | * For example:
|
7002 | *
|
7003 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0)
|
7004 | *
|
7005 | *
|
7006 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbol
|
7007 | */
|
7008 | symbol?: string | undefined;
|
7009 |
|
7010 | /**
|
7011 | * starting point symbol size.
|
7012 | * It can be set to single numbers like `10`, or use
|
7013 | * an array to represent width and height.
|
7014 | * For example, `[20, 10]` means symbol width is `20`,
|
7015 | * and height is`10`.
|
7016 | *
|
7017 | *
|
7018 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolSize
|
7019 | */
|
7020 | symbolSize?: any[] | number | undefined;
|
7021 |
|
7022 | /**
|
7023 | * Rotate degree of starting point symbol.
|
7024 | * Note that when `symbol` is set to be `'arrow'` in
|
7025 | * `markLine`, `symbolRotate` value will be ignored,
|
7026 | * and compulsively use tangent angle.
|
7027 | *
|
7028 | *
|
7029 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolRotate
|
7030 | */
|
7031 | symbolRotate?: number | undefined;
|
7032 |
|
7033 | /**
|
7034 | * Whether to keep aspect for symbols in the form of
|
7035 | * `path://`.
|
7036 | *
|
7037 | *
|
7038 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolKeepAspect
|
7039 | */
|
7040 | symbolKeepAspect?: boolean | undefined;
|
7041 |
|
7042 | /**
|
7043 | * Offset of starting point symbol relative to original
|
7044 | * position.
|
7045 | * By default, symbol will be put in the center position
|
7046 | * of data.
|
7047 | * But if symbol is from user-defined vector path or
|
7048 | * image, you may not expect symbol to be in center.
|
7049 | * In this case, you may use this attribute to set offset
|
7050 | * to default position.
|
7051 | * It can be in absolute pixel value, or in relative
|
7052 | * percentage value.
|
7053 | *
|
7054 | * For example, `[0, '50%']` means to move upside side
|
7055 | * position of symbol height.
|
7056 | * It can be used to make the arrow in the bottom to
|
7057 | * be at data position when symbol is pin.
|
7058 | *
|
7059 | *
|
7060 | * @default
|
7061 | * [0, 0]
|
7062 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolOffset
|
7063 | */
|
7064 | symbolOffset?: any[] | undefined;
|
7065 |
|
7066 | /**
|
7067 | * Line style of this data item, which will be merged
|
7068 | * with `lineStyle` of starting point and ending point.
|
7069 | *
|
7070 | *
|
7071 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle
|
7072 | */
|
7073 | lineStyle?: {
|
7074 | /**
|
7075 | * Line color.
|
7076 | *
|
7077 | * > Color can be represented in RGB, for example
|
7078 | * `'rgb(128, 128, 128)'`.
|
7079 | * RGBA can be used when you need alpha channel,
|
7080 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
7081 | * You may also use hexadecimal format, for example
|
7082 | * `'#ccc'`.
|
7083 | * Gradient color and texture are also supported
|
7084 | * besides single colors.
|
7085 | * >
|
7086 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle)
|
7087 | *
|
7088 | *
|
7089 | * @default
|
7090 | * "#000"
|
7091 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.color
|
7092 | */
|
7093 | color?: EChartOption.Color | undefined;
|
7094 |
|
7095 | /**
|
7096 | * line width.
|
7097 | *
|
7098 | *
|
7099 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.width
|
7100 | */
|
7101 | width?: number | undefined;
|
7102 |
|
7103 | /**
|
7104 | * line type.
|
7105 | *
|
7106 | * Options are:
|
7107 | *
|
7108 | * + `'solid'`
|
7109 | * + `'dashed'`
|
7110 | * + `'dotted'`
|
7111 | *
|
7112 | *
|
7113 | * @default
|
7114 | * "solid"
|
7115 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.type
|
7116 | */
|
7117 | type?: string | undefined;
|
7118 |
|
7119 | /**
|
7120 | * Size of shadow blur.
|
7121 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
7122 | * `shadowOffsetY` to set shadow to component.
|
7123 | *
|
7124 | * For example:
|
7125 | *
|
7126 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle)
|
7127 | *
|
7128 | *
|
7129 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowBlur
|
7130 | */
|
7131 | shadowBlur?: number | undefined;
|
7132 |
|
7133 | /**
|
7134 | * Shadow color. Support same format as `color`.
|
7135 | *
|
7136 | *
|
7137 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowColor
|
7138 | */
|
7139 | shadowColor?: EChartOption.Color | undefined;
|
7140 |
|
7141 | /**
|
7142 | * Offset distance on the horizontal direction of
|
7143 | * shadow.
|
7144 | *
|
7145 | *
|
7146 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowOffsetX
|
7147 | */
|
7148 | shadowOffsetX?: number | undefined;
|
7149 |
|
7150 | /**
|
7151 | * Offset distance on the vertical direction of
|
7152 | * shadow.
|
7153 | *
|
7154 | *
|
7155 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowOffsetY
|
7156 | */
|
7157 | shadowOffsetY?: number | undefined;
|
7158 |
|
7159 | /**
|
7160 | * Opacity of the component.
|
7161 | * Supports value from 0 to 1, and the component
|
7162 | * will not be drawn when set to 0.
|
7163 | *
|
7164 | *
|
7165 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.opacity
|
7166 | */
|
7167 | opacity?: number | undefined;
|
7168 |
|
7169 | /**
|
7170 | * Edge curvature, which supports value from 0 to
|
7171 | * 1.
|
7172 | * The larger the value, the greater the curvature.
|
7173 | *
|
7174 | *
|
7175 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.curveness
|
7176 | */
|
7177 | curveness?: number | undefined;
|
7178 |
|
7179 | /**
|
7180 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis
|
7181 | */
|
7182 | emphasis?: {
|
7183 | /**
|
7184 | * Line color.
|
7185 | *
|
7186 | * > Color can be represented in RGB, for example
|
7187 | * `'rgb(128, 128, 128)'`.
|
7188 | * RGBA can be used when you need alpha channel,
|
7189 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
7190 | * You may also use hexadecimal format, for
|
7191 | * example `'#ccc'`.
|
7192 | * Gradient color and texture are also supported
|
7193 | * besides single colors.
|
7194 | * >
|
7195 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle.emphasis)
|
7196 | *
|
7197 | *
|
7198 | * @default
|
7199 | * "#000"
|
7200 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.color
|
7201 | */
|
7202 | color?: EChartOption.Color | undefined;
|
7203 |
|
7204 | /**
|
7205 | * line width.
|
7206 | *
|
7207 | *
|
7208 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.width
|
7209 | */
|
7210 | width?: number | undefined;
|
7211 |
|
7212 | /**
|
7213 | * line type.
|
7214 | *
|
7215 | * Options are:
|
7216 | *
|
7217 | * + `'solid'`
|
7218 | * + `'dashed'`
|
7219 | * + `'dotted'`
|
7220 | *
|
7221 | *
|
7222 | * @default
|
7223 | * "solid"
|
7224 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.type
|
7225 | */
|
7226 | type?: string | undefined;
|
7227 |
|
7228 | /**
|
7229 | * Size of shadow blur.
|
7230 | * This attribute should be used along with
|
7231 | * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
|
7232 | * to set shadow to component.
|
7233 | *
|
7234 | * For example:
|
7235 | *
|
7236 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle.emphasis)
|
7237 | *
|
7238 | *
|
7239 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowBlur
|
7240 | */
|
7241 | shadowBlur?: number | undefined;
|
7242 |
|
7243 | /**
|
7244 | * Shadow color.
|
7245 | * Support same format as `color`.
|
7246 | *
|
7247 | *
|
7248 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowColor
|
7249 | */
|
7250 | shadowColor?: EChartOption.Color | undefined;
|
7251 |
|
7252 | /**
|
7253 | * Offset distance on the horizontal direction
|
7254 | * of shadow.
|
7255 | *
|
7256 | *
|
7257 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowOffsetX
|
7258 | */
|
7259 | shadowOffsetX?: number | undefined;
|
7260 |
|
7261 | /**
|
7262 | * Offset distance on the vertical direction
|
7263 | * of shadow.
|
7264 | *
|
7265 | *
|
7266 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowOffsetY
|
7267 | */
|
7268 | shadowOffsetY?: number | undefined;
|
7269 |
|
7270 | /**
|
7271 | * Opacity of the component.
|
7272 | * Supports value from 0 to 1, and the component
|
7273 | * will not be drawn when set to 0.
|
7274 | *
|
7275 | *
|
7276 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.opacity
|
7277 | */
|
7278 | opacity?: number | undefined;
|
7279 |
|
7280 | /**
|
7281 | * Edge curvature, which supports value from
|
7282 | * 0 to 1.
|
7283 | * The larger the value, the greater the curvature.
|
7284 | *
|
7285 | *
|
7286 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.curveness
|
7287 | */
|
7288 | curveness?: number | undefined;
|
7289 | } | undefined;
|
7290 | } | undefined;
|
7291 |
|
7292 | /**
|
7293 | * Label of this data item, which will be merged with
|
7294 | * `label` of starting point and ending point.
|
7295 | *
|
7296 | *
|
7297 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label
|
7298 | */
|
7299 | label?: {
|
7300 | /**
|
7301 | * Whether show label or not.
|
7302 | *
|
7303 | *
|
7304 | * @default
|
7305 | * "true"
|
7306 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.show
|
7307 | */
|
7308 | show?: boolean | undefined;
|
7309 |
|
7310 | /**
|
7311 | * Positions of labels can be:
|
7312 | *
|
7313 | * + `'start'` starting point of the line.
|
7314 | * + `'middle'` middle point of the line.
|
7315 | * + `'end'` ending point of the line.
|
7316 | *
|
7317 | *
|
7318 | * @default
|
7319 | * "end"
|
7320 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.position
|
7321 | */
|
7322 | position?: string | undefined;
|
7323 |
|
7324 | /**
|
7325 | * Data label formatter, which supports string template
|
7326 | * and callback function.
|
7327 | * In either form, `\n` is supported to represent
|
7328 | * a new line.
|
7329 | *
|
7330 | * **String template**
|
7331 | *
|
7332 | * Model variation includes:
|
7333 | *
|
7334 | * + `{a}`: series name.
|
7335 | * + `{b}`: the name of a data item.
|
7336 | * + `{c}`: the value of a data item.
|
7337 | * + `{d}`: the percent.
|
7338 | * + `{@xxx}: the value of a dimension named`'xxx'`,
|
7339 | * for example,`{@product}`refers the value of`'product'\`
|
7340 | * dimension。
|
7341 | * + `{@[n]}: the value of a dimension at the index
|
7342 | * of`n`, for example,`{@\[3\]}\` refers the value
|
7343 | * at dimensions\[3\].
|
7344 | *
|
7345 | * **example:**
|
7346 | *
|
7347 | * ```
|
7348 | * formatter: '{b}: {d}'
|
7349 | *
|
7350 | * ```
|
7351 | *
|
7352 | * **Callback function**
|
7353 | *
|
7354 | * Callback function is in form of:
|
7355 | *
|
7356 | * ```
|
7357 | * (params: Object|Array) => string
|
7358 | *
|
7359 | * ```
|
7360 | *
|
7361 | * where `params` is the single dataset needed by
|
7362 | * formatter, which is formed as:
|
7363 | *
|
7364 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.label)
|
7365 | *
|
7366 | *
|
7367 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.formatter
|
7368 | */
|
7369 | formatter?: Function | string | undefined;
|
7370 |
|
7371 | /**
|
7372 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis
|
7373 | */
|
7374 | emphasis?: {
|
7375 | /**
|
7376 | * Whether show label or not.
|
7377 | *
|
7378 | *
|
7379 | * @default
|
7380 | * "true"
|
7381 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis.show
|
7382 | */
|
7383 | show?: boolean | undefined;
|
7384 |
|
7385 | /**
|
7386 | * Positions of labels can be:
|
7387 | *
|
7388 | * + `'start'` starting point of the line.
|
7389 | * + `'middle'` middle point of the line.
|
7390 | * + `'end'` ending point of the line.
|
7391 | *
|
7392 | *
|
7393 | * @default
|
7394 | * "end"
|
7395 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis.position
|
7396 | */
|
7397 | position?: string | undefined;
|
7398 |
|
7399 | /**
|
7400 | * Data label formatter, which supports string
|
7401 | * template and callback function.
|
7402 | * In either form, `\n` is supported to represent
|
7403 | * a new line.
|
7404 | *
|
7405 | * **String template**
|
7406 | *
|
7407 | * Model variation includes:
|
7408 | *
|
7409 | * + `{a}`: series name.
|
7410 | * + `{b}`: the name of a data item.
|
7411 | * + `{c}`: the value of a data item.
|
7412 | * + `{d}`: the percent.
|
7413 | * + `{@xxx}: the value of a dimension named`'xxx'`,
|
7414 | * for example,`{@product}`refers the value
|
7415 | * of`'product'\` dimension。
|
7416 | * + `{@[n]}: the value of a dimension at the
|
7417 | * index of`n`, for example,`{@\[3\]}\` refers
|
7418 | * the value at dimensions\[3\].
|
7419 | *
|
7420 | * **example:**
|
7421 | *
|
7422 | * ```
|
7423 | * formatter: '{b}: {d}'
|
7424 | *
|
7425 | * ```
|
7426 | *
|
7427 | * **Callback function**
|
7428 | *
|
7429 | * Callback function is in form of:
|
7430 | *
|
7431 | * ```
|
7432 | * (params: Object|Array) => string
|
7433 | *
|
7434 | * ```
|
7435 | *
|
7436 | * where `params` is the single dataset needed
|
7437 | * by formatter, which is formed as:
|
7438 | *
|
7439 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.label.emphasis)
|
7440 | *
|
7441 | *
|
7442 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis.formatter
|
7443 | */
|
7444 | formatter?: Function | string | undefined;
|
7445 | } | undefined;
|
7446 | } | undefined;
|
7447 | } | undefined;
|
7448 |
|
7449 | /**
|
7450 | * Data of the ending point.
|
7451 | *
|
7452 | *
|
7453 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1
|
7454 | */
|
7455 | 1?: {
|
7456 | /**
|
7457 | * Special label types, are used to label maximum value,
|
7458 | * minimum value and so on.
|
7459 | *
|
7460 | * **Options are:**
|
7461 | *
|
7462 | * + `'min'` maximum value.
|
7463 | * + `'max'` minimum value.
|
7464 | * + `'average'` average value.
|
7465 | *
|
7466 | *
|
7467 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.type
|
7468 | */
|
7469 | type?: string | undefined;
|
7470 |
|
7471 | /**
|
7472 | * Works only when
|
7473 | * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
|
7474 | * is assigned.
|
7475 | * It is used to state the dimension used to calculate
|
7476 | * maximum value or minimum value.
|
7477 | * It may be `0` (for xAxis, or radiusAxis), or `1`
|
7478 | * (for yAxis, or angleAxis).
|
7479 | * Dimension of the first numeric axis is used by default.
|
7480 | *
|
7481 | *
|
7482 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.valueIndex
|
7483 | */
|
7484 | valueIndex?: number | undefined;
|
7485 |
|
7486 | /**
|
7487 | * Works only when
|
7488 | * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
|
7489 | * is assigned.
|
7490 | * It is used to state the dimension used to calculate
|
7491 | * maximum value or minimum value.
|
7492 | * It may be the direct name of a dimension, like `x`,
|
7493 | * or `angle` for line charts, or `open`, or `close`
|
7494 | * for candlestick charts.
|
7495 | *
|
7496 | *
|
7497 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.valueDim
|
7498 | */
|
7499 | valueDim?: string | undefined;
|
7500 |
|
7501 | /**
|
7502 | * Coordinates of the starting point or ending point,
|
7503 | * whose format depends on the coordinate of the series.
|
7504 | * It can be `x`, and `y` for
|
7505 | * [rectangular coordinates](https://echarts.apache.org/en/option.html#grid)
|
7506 | * , or `radius`, and `angle` for
|
7507 | * [polar coordinates](https://echarts.apache.org/en/option.html#polar)
|
7508 | * .
|
7509 | *
|
7510 | * **Notice:** For axis with
|
7511 | * [axis.type](https://echarts.apache.org/en/option.html#xAixs.type)
|
7512 | * `'category'`:
|
7513 | *
|
7514 | * + If coord value is `number`, it represents index
|
7515 | * of
|
7516 | * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
|
7517 | * .
|
7518 | * + If coord value is `string`, it represents concrete
|
7519 | * value in
|
7520 | * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
|
7521 | *
|
7522 | *
|
7523 | * Please notice that in this case `xAxis.data`
|
7524 | * must not be written as \[number, number,
|
7525 | *
|
7526 | *
|
7527 | *
|
7528 | * \], but can only be written \[string, string,
|
7529 | *
|
7530 | *
|
7531 | *
|
7532 | * \].
|
7533 | * Otherwise it is not able to be located by markPoint
|
7534 | * / markLine.
|
7535 | *
|
7536 | * For example:
|
7537 | *
|
7538 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1)
|
7539 | *
|
7540 | *
|
7541 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.coord
|
7542 | */
|
7543 | coord?: any[] | undefined;
|
7544 |
|
7545 | /**
|
7546 | * Name of the marker, which will display as a label.
|
7547 | *
|
7548 | *
|
7549 | * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markLine.data.1.name
|
7550 | */
|
7551 | name?: string | undefined;
|
7552 |
|
7553 | /**
|
7554 | * X position according to container, in pixel.
|
7555 | *
|
7556 | *
|
7557 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.x
|
7558 | */
|
7559 | x?: number | undefined;
|
7560 |
|
7561 | /**
|
7562 | * Y position according to container, in pixel.
|
7563 | *
|
7564 | *
|
7565 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.y
|
7566 | */
|
7567 | y?: number | undefined;
|
7568 |
|
7569 | /**
|
7570 | * Label value, which can be ignored.
|
7571 | *
|
7572 | *
|
7573 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.value
|
7574 | */
|
7575 | value?: number | undefined;
|
7576 |
|
7577 | /**
|
7578 | * Symbol of ending point.
|
7579 | *
|
7580 | * Icon types provided by ECharts includes `'circle'`,
|
7581 | * `'rect'`, `'roundRect'`, `'triangle'`, `'diamond'`,
|
7582 | * `'pin'`, `'arrow'`, `'none'`
|
7583 | *
|
7584 | * It can be set to an image with `'image://url'` ,
|
7585 | * in which URL is the link to an image, or `dataURI`
|
7586 | * of an image.
|
7587 | *
|
7588 | * An image URL example:
|
7589 | *
|
7590 | * ```
|
7591 | * 'image://http://xxx.xxx.xxx/a/b.png'
|
7592 | *
|
7593 | * ```
|
7594 | *
|
7595 | * A `dataURI` example:
|
7596 | *
|
7597 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1)
|
7598 | *
|
7599 | * Icons can be set to arbitrary vector path via `'path://'`
|
7600 | * in ECharts.
|
7601 | * As compared with raster image, vector paths prevent
|
7602 | * from jagging and blurring when scaled, and have a
|
7603 | * better control over changing colors.
|
7604 | * Size of vectoer icon will be adapted automatically.
|
7605 | * Refer to
|
7606 | * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
|
7607 | * for more information about format of path.
|
7608 | * You may export vector paths from tools like Adobe
|
7609 | * Illustrator.
|
7610 | *
|
7611 | * For example:
|
7612 | *
|
7613 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1)
|
7614 | *
|
7615 | *
|
7616 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbol
|
7617 | */
|
7618 | symbol?: string | undefined;
|
7619 |
|
7620 | /**
|
7621 | * ending point symbol size.
|
7622 | * It can be set to single numbers like `10`, or use
|
7623 | * an array to represent width and height.
|
7624 | * For example, `[20, 10]` means symbol width is `20`,
|
7625 | * and height is`10`.
|
7626 | *
|
7627 | *
|
7628 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolSize
|
7629 | */
|
7630 | symbolSize?: any[] | number | undefined;
|
7631 |
|
7632 | /**
|
7633 | * Rotate degree of ending point symbol.
|
7634 | * Note that when `symbol` is set to be `'arrow'` in
|
7635 | * `markLine`, `symbolRotate` value will be ignored,
|
7636 | * and compulsively use tangent angle.
|
7637 | *
|
7638 | *
|
7639 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolRotate
|
7640 | */
|
7641 | symbolRotate?: number | undefined;
|
7642 |
|
7643 | /**
|
7644 | * Whether to keep aspect for symbols in the form of
|
7645 | * `path://`.
|
7646 | *
|
7647 | *
|
7648 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolKeepAspect
|
7649 | */
|
7650 | symbolKeepAspect?: boolean | undefined;
|
7651 |
|
7652 | /**
|
7653 | * Offset of ending point symbol relative to original
|
7654 | * position.
|
7655 | * By default, symbol will be put in the center position
|
7656 | * of data.
|
7657 | * But if symbol is from user-defined vector path or
|
7658 | * image, you may not expect symbol to be in center.
|
7659 | * In this case, you may use this attribute to set offset
|
7660 | * to default position.
|
7661 | * It can be in absolute pixel value, or in relative
|
7662 | * percentage value.
|
7663 | *
|
7664 | * For example, `[0, '50%']` means to move upside side
|
7665 | * position of symbol height.
|
7666 | * It can be used to make the arrow in the bottom to
|
7667 | * be at data position when symbol is pin.
|
7668 | *
|
7669 | *
|
7670 | * @default
|
7671 | * [0, 0]
|
7672 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolOffset
|
7673 | */
|
7674 | symbolOffset?: any[] | undefined;
|
7675 |
|
7676 | /**
|
7677 | * Line style of this data item, which will be merged
|
7678 | * with `lineStyle` of starting point and ending point.
|
7679 | *
|
7680 | *
|
7681 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle
|
7682 | */
|
7683 | lineStyle?: {
|
7684 | /**
|
7685 | * Line color.
|
7686 | *
|
7687 | * > Color can be represented in RGB, for example
|
7688 | * `'rgb(128, 128, 128)'`.
|
7689 | * RGBA can be used when you need alpha channel,
|
7690 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
7691 | * You may also use hexadecimal format, for example
|
7692 | * `'#ccc'`.
|
7693 | * Gradient color and texture are also supported
|
7694 | * besides single colors.
|
7695 | * >
|
7696 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle)
|
7697 | *
|
7698 | *
|
7699 | * @default
|
7700 | * "#000"
|
7701 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.color
|
7702 | */
|
7703 | color?: EChartOption.Color | undefined;
|
7704 |
|
7705 | /**
|
7706 | * line width.
|
7707 | *
|
7708 | *
|
7709 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.width
|
7710 | */
|
7711 | width?: number | undefined;
|
7712 |
|
7713 | /**
|
7714 | * line type.
|
7715 | *
|
7716 | * Options are:
|
7717 | *
|
7718 | * + `'solid'`
|
7719 | * + `'dashed'`
|
7720 | * + `'dotted'`
|
7721 | *
|
7722 | *
|
7723 | * @default
|
7724 | * "solid"
|
7725 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.type
|
7726 | */
|
7727 | type?: string | undefined;
|
7728 |
|
7729 | /**
|
7730 | * Size of shadow blur.
|
7731 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
7732 | * `shadowOffsetY` to set shadow to component.
|
7733 | *
|
7734 | * For example:
|
7735 | *
|
7736 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle)
|
7737 | *
|
7738 | *
|
7739 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowBlur
|
7740 | */
|
7741 | shadowBlur?: number | undefined;
|
7742 |
|
7743 | /**
|
7744 | * Shadow color. Support same format as `color`.
|
7745 | *
|
7746 | *
|
7747 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowColor
|
7748 | */
|
7749 | shadowColor?: EChartOption.Color | undefined;
|
7750 |
|
7751 | /**
|
7752 | * Offset distance on the horizontal direction of
|
7753 | * shadow.
|
7754 | *
|
7755 | *
|
7756 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowOffsetX
|
7757 | */
|
7758 | shadowOffsetX?: number | undefined;
|
7759 |
|
7760 | /**
|
7761 | * Offset distance on the vertical direction of
|
7762 | * shadow.
|
7763 | *
|
7764 | *
|
7765 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowOffsetY
|
7766 | */
|
7767 | shadowOffsetY?: number | undefined;
|
7768 |
|
7769 | /**
|
7770 | * Opacity of the component.
|
7771 | * Supports value from 0 to 1, and the component
|
7772 | * will not be drawn when set to 0.
|
7773 | *
|
7774 | *
|
7775 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.opacity
|
7776 | */
|
7777 | opacity?: number | undefined;
|
7778 |
|
7779 | /**
|
7780 | * Edge curvature, which supports value from 0 to
|
7781 | * 1.
|
7782 | * The larger the value, the greater the curvature.
|
7783 | *
|
7784 | *
|
7785 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.curveness
|
7786 | */
|
7787 | curveness?: number | undefined;
|
7788 |
|
7789 | /**
|
7790 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis
|
7791 | */
|
7792 | emphasis?: {
|
7793 | /**
|
7794 | * Line color.
|
7795 | *
|
7796 | * > Color can be represented in RGB, for example
|
7797 | * `'rgb(128, 128, 128)'`.
|
7798 | * RGBA can be used when you need alpha channel,
|
7799 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
7800 | * You may also use hexadecimal format, for
|
7801 | * example `'#ccc'`.
|
7802 | * Gradient color and texture are also supported
|
7803 | * besides single colors.
|
7804 | * >
|
7805 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle.emphasis)
|
7806 | *
|
7807 | *
|
7808 | * @default
|
7809 | * "#000"
|
7810 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.color
|
7811 | */
|
7812 | color?: EChartOption.Color | undefined;
|
7813 |
|
7814 | /**
|
7815 | * line width.
|
7816 | *
|
7817 | *
|
7818 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.width
|
7819 | */
|
7820 | width?: number | undefined;
|
7821 |
|
7822 | /**
|
7823 | * line type.
|
7824 | *
|
7825 | * Options are:
|
7826 | *
|
7827 | * + `'solid'`
|
7828 | * + `'dashed'`
|
7829 | * + `'dotted'`
|
7830 | *
|
7831 | *
|
7832 | * @default
|
7833 | * "solid"
|
7834 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.type
|
7835 | */
|
7836 | type?: string | undefined;
|
7837 |
|
7838 | /**
|
7839 | * Size of shadow blur.
|
7840 | * This attribute should be used along with
|
7841 | * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
|
7842 | * to set shadow to component.
|
7843 | *
|
7844 | * For example:
|
7845 | *
|
7846 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle.emphasis)
|
7847 | *
|
7848 | *
|
7849 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowBlur
|
7850 | */
|
7851 | shadowBlur?: number | undefined;
|
7852 |
|
7853 | /**
|
7854 | * Shadow color.
|
7855 | * Support same format as `color`.
|
7856 | *
|
7857 | *
|
7858 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowColor
|
7859 | */
|
7860 | shadowColor?: EChartOption.Color | undefined;
|
7861 |
|
7862 | /**
|
7863 | * Offset distance on the horizontal direction
|
7864 | * of shadow.
|
7865 | *
|
7866 | *
|
7867 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowOffsetX
|
7868 | */
|
7869 | shadowOffsetX?: number | undefined;
|
7870 |
|
7871 | /**
|
7872 | * Offset distance on the vertical direction
|
7873 | * of shadow.
|
7874 | *
|
7875 | *
|
7876 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowOffsetY
|
7877 | */
|
7878 | shadowOffsetY?: number | undefined;
|
7879 |
|
7880 | /**
|
7881 | * Opacity of the component.
|
7882 | * Supports value from 0 to 1, and the component
|
7883 | * will not be drawn when set to 0.
|
7884 | *
|
7885 | *
|
7886 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.opacity
|
7887 | */
|
7888 | opacity?: number | undefined;
|
7889 |
|
7890 | /**
|
7891 | * Edge curvature, which supports value from
|
7892 | * 0 to 1.
|
7893 | * The larger the value, the greater the curvature.
|
7894 | *
|
7895 | *
|
7896 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.curveness
|
7897 | */
|
7898 | curveness?: number | undefined;
|
7899 | } | undefined;
|
7900 | } | undefined;
|
7901 |
|
7902 | /**
|
7903 | * Label of this data item, which will be merged with
|
7904 | * `label` of starting point and ending point.
|
7905 | *
|
7906 | *
|
7907 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label
|
7908 | */
|
7909 | label?: {
|
7910 | /**
|
7911 | * Whether show label or not.
|
7912 | *
|
7913 | *
|
7914 | * @default
|
7915 | * "true"
|
7916 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.show
|
7917 | */
|
7918 | show?: boolean | undefined;
|
7919 |
|
7920 | /**
|
7921 | * Positions of labels can be:
|
7922 | *
|
7923 | * + `'start'` starting point of the line.
|
7924 | * + `'middle'` middle point of the line.
|
7925 | * + `'end'` ending point of the line.
|
7926 | *
|
7927 | *
|
7928 | * @default
|
7929 | * "end"
|
7930 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.position
|
7931 | */
|
7932 | position?: string | undefined;
|
7933 |
|
7934 | /**
|
7935 | * Data label formatter, which supports string template
|
7936 | * and callback function.
|
7937 | * In either form, `\n` is supported to represent
|
7938 | * a new line.
|
7939 | *
|
7940 | * **String template**
|
7941 | *
|
7942 | * Model variation includes:
|
7943 | *
|
7944 | * + `{a}`: series name.
|
7945 | * + `{b}`: the name of a data item.
|
7946 | * + `{c}`: the value of a data item.
|
7947 | * + `{d}`: the percent.
|
7948 | * + `{@xxx}: the value of a dimension named`'xxx'`,
|
7949 | * for example,`{@product}`refers the value of`'product'\`
|
7950 | * dimension。
|
7951 | * + `{@[n]}: the value of a dimension at the index
|
7952 | * of`n`, for example,`{@\[3\]}\` refers the value
|
7953 | * at dimensions\[3\].
|
7954 | *
|
7955 | * **example:**
|
7956 | *
|
7957 | * ```
|
7958 | * formatter: '{b}: {d}'
|
7959 | *
|
7960 | * ```
|
7961 | *
|
7962 | * **Callback function**
|
7963 | *
|
7964 | * Callback function is in form of:
|
7965 | *
|
7966 | * ```
|
7967 | * (params: Object|Array) => string
|
7968 | *
|
7969 | * ```
|
7970 | *
|
7971 | * where `params` is the single dataset needed by
|
7972 | * formatter, which is formed as:
|
7973 | *
|
7974 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.label)
|
7975 | *
|
7976 | *
|
7977 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.formatter
|
7978 | */
|
7979 | formatter?: Function | string | undefined;
|
7980 |
|
7981 | /**
|
7982 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis
|
7983 | */
|
7984 | emphasis?: {
|
7985 | /**
|
7986 | * Whether show label or not.
|
7987 | *
|
7988 | *
|
7989 | * @default
|
7990 | * "true"
|
7991 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis.show
|
7992 | */
|
7993 | show?: boolean | undefined;
|
7994 |
|
7995 | /**
|
7996 | * Positions of labels can be:
|
7997 | *
|
7998 | * + `'start'` starting point of the line.
|
7999 | * + `'middle'` middle point of the line.
|
8000 | * + `'end'` ending point of the line.
|
8001 | *
|
8002 | *
|
8003 | * @default
|
8004 | * "end"
|
8005 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis.position
|
8006 | */
|
8007 | position?: string | undefined;
|
8008 |
|
8009 | /**
|
8010 | * Data label formatter, which supports string
|
8011 | * template and callback function.
|
8012 | * In either form, `\n` is supported to represent
|
8013 | * a new line.
|
8014 | *
|
8015 | * **String template**
|
8016 | *
|
8017 | * Model variation includes:
|
8018 | *
|
8019 | * + `{a}`: series name.
|
8020 | * + `{b}`: the name of a data item.
|
8021 | * + `{c}`: the value of a data item.
|
8022 | * + `{d}`: the percent.
|
8023 | * + `{@xxx}: the value of a dimension named`'xxx'`,
|
8024 | * for example,`{@product}`refers the value
|
8025 | * of`'product'\` dimension。
|
8026 | * + `{@[n]}: the value of a dimension at the
|
8027 | * index of`n`, for example,`{@\[3\]}\` refers
|
8028 | * the value at dimensions\[3\].
|
8029 | *
|
8030 | * **example:**
|
8031 | *
|
8032 | * ```
|
8033 | * formatter: '{b}: {d}'
|
8034 | *
|
8035 | * ```
|
8036 | *
|
8037 | * **Callback function**
|
8038 | *
|
8039 | * Callback function is in form of:
|
8040 | *
|
8041 | * ```
|
8042 | * (params: Object|Array) => string
|
8043 | *
|
8044 | * ```
|
8045 | *
|
8046 | * where `params` is the single dataset needed
|
8047 | * by formatter, which is formed as:
|
8048 | *
|
8049 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.label.emphasis)
|
8050 | *
|
8051 | *
|
8052 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis.formatter
|
8053 | */
|
8054 | formatter?: Function | string | undefined;
|
8055 | } | undefined;
|
8056 | } | undefined;
|
8057 | } | undefined;
|
8058 | } | undefined;
|
8059 |
|
8060 | /**
|
8061 | * Whether to enable animation.
|
8062 | *
|
8063 | *
|
8064 | * @default
|
8065 | * "true"
|
8066 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animation
|
8067 | */
|
8068 | animation?: boolean | undefined;
|
8069 |
|
8070 | /**
|
8071 | * Whether to set graphic number threshold to animation.
|
8072 | * Animation will be disabled when graphic number is larger
|
8073 | * than threshold.
|
8074 | *
|
8075 | *
|
8076 | * @default
|
8077 | * 2000
|
8078 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationThreshold
|
8079 | */
|
8080 | animationThreshold?: number | undefined;
|
8081 |
|
8082 | /**
|
8083 | * Duration of the first animation, which supports callback
|
8084 | * function for different data to have different animation effect:
|
8085 | *
|
8086 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
|
8087 | *
|
8088 | *
|
8089 | * @default
|
8090 | * 1000
|
8091 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDuration
|
8092 | */
|
8093 | animationDuration?: Function | number | undefined;
|
8094 |
|
8095 | /**
|
8096 | * Easing method used for the first animation.
|
8097 | * Varied easing effects can be found at
|
8098 | * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
|
8099 | * .
|
8100 | *
|
8101 | *
|
8102 | * @default
|
8103 | * "cubicOut"
|
8104 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationEasing
|
8105 | */
|
8106 | animationEasing?: string | undefined;
|
8107 |
|
8108 | /**
|
8109 | * Delay before updating the first animation, which supports
|
8110 | * callback function for different data to have different animation
|
8111 | * effect.
|
8112 | *
|
8113 | * For example:
|
8114 | *
|
8115 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
|
8116 | *
|
8117 | * See
|
8118 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
8119 | * for more information.
|
8120 | *
|
8121 | *
|
8122 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDelay
|
8123 | */
|
8124 | animationDelay?: Function | number | undefined;
|
8125 |
|
8126 | /**
|
8127 | * Time for animation to complete, which supports callback function
|
8128 | * for different data to have different animation effect:
|
8129 | *
|
8130 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
|
8131 | *
|
8132 | *
|
8133 | * @default
|
8134 | * 300
|
8135 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDurationUpdate
|
8136 | */
|
8137 | animationDurationUpdate?: Function | number | undefined;
|
8138 |
|
8139 | /**
|
8140 | * Easing method used for animation.
|
8141 | *
|
8142 | *
|
8143 | * @default
|
8144 | * "cubicOut"
|
8145 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationEasingUpdate
|
8146 | */
|
8147 | animationEasingUpdate?: string | undefined;
|
8148 |
|
8149 | /**
|
8150 | * Delay before updating animation, which supports callback
|
8151 | * function for different data to have different animation effect.
|
8152 | *
|
8153 | * For example:
|
8154 | *
|
8155 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
|
8156 | *
|
8157 | * See
|
8158 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
8159 | * for more information.
|
8160 | *
|
8161 | *
|
8162 | * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDelayUpdate
|
8163 | */
|
8164 | animationDelayUpdate?: Function | number | undefined;
|
8165 | } | undefined;
|
8166 |
|
8167 | /**
|
8168 | * Used to mark an area in chart.
|
8169 | * For example, mark a time interval.
|
8170 | *
|
8171 | *
|
8172 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea
|
8173 | */
|
8174 | markArea?: {
|
8175 | /**
|
8176 | * Whether to ignore mouse events.
|
8177 | * Default value is false, for triggering and responding to
|
8178 | * mouse events.
|
8179 | *
|
8180 | *
|
8181 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.silent
|
8182 | */
|
8183 | silent?: boolean | undefined;
|
8184 |
|
8185 | /**
|
8186 | * Label in mark area.
|
8187 | *
|
8188 | *
|
8189 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label
|
8190 | */
|
8191 | label?: {
|
8192 | /**
|
8193 | * Whether to show label.
|
8194 | *
|
8195 | *
|
8196 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.show
|
8197 | */
|
8198 | show?: boolean | undefined;
|
8199 |
|
8200 | /**
|
8201 | * Label position.
|
8202 | *
|
8203 | * **Followings are the options:**
|
8204 | *
|
8205 | * + \[x, y\]
|
8206 | *
|
8207 | * Use relative percentage, or absolute pixel values to
|
8208 | * represent position of label relative to top-left corner
|
8209 | * of bounding box. For example:
|
8210 | *
|
8211 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
|
8212 | *
|
8213 | * + 'top'
|
8214 | *
|
8215 | * + 'left'
|
8216 | * + 'right'
|
8217 | * + 'bottom'
|
8218 | * + 'inside'
|
8219 | * + 'insideLeft'
|
8220 | * + 'insideRight'
|
8221 | * + 'insideTop'
|
8222 | * + 'insideBottom'
|
8223 | * + 'insideTopLeft'
|
8224 | * + 'insideBottomLeft'
|
8225 | * + 'insideTopRight'
|
8226 | * + 'insideBottomRight'
|
8227 | *
|
8228 | * See:
|
8229 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
8230 | * .
|
8231 | *
|
8232 | *
|
8233 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.position
|
8234 | */
|
8235 | position?: any[] | string | undefined;
|
8236 |
|
8237 | /**
|
8238 | * Distance to the host graphic element.
|
8239 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
8240 | *
|
8241 | * See:
|
8242 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
8243 | * .
|
8244 | *
|
8245 | *
|
8246 | * @default
|
8247 | * 5
|
8248 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.distance
|
8249 | */
|
8250 | distance?: number | undefined;
|
8251 |
|
8252 | /**
|
8253 | * Rotate label, from -90 degree to 90, positive value represents
|
8254 | * rotate anti-clockwise.
|
8255 | *
|
8256 | * See:
|
8257 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
8258 | * .
|
8259 | *
|
8260 | *
|
8261 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rotate
|
8262 | */
|
8263 | rotate?: number | undefined;
|
8264 |
|
8265 | /**
|
8266 | * Whether to move text slightly.
|
8267 | * For example: `[30, 40]` means move `30` horizontally
|
8268 | * and move `40` vertically.
|
8269 | *
|
8270 | *
|
8271 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.offset
|
8272 | */
|
8273 | offset?: any[] | undefined;
|
8274 |
|
8275 | /**
|
8276 | * text color.
|
8277 | *
|
8278 | * If set as `'auto'`, the color will assigned as visual
|
8279 | * color, such as series color.
|
8280 | *
|
8281 | *
|
8282 | * @default
|
8283 | * ""#fff""
|
8284 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.color
|
8285 | */
|
8286 | color?: string | undefined;
|
8287 |
|
8288 | /**
|
8289 | * font style
|
8290 | *
|
8291 | * Options are:
|
8292 | *
|
8293 | * + `'normal'`
|
8294 | * + `'italic'`
|
8295 | * + `'oblique'`
|
8296 | *
|
8297 | *
|
8298 | * @default
|
8299 | * "normal"
|
8300 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontStyle
|
8301 | */
|
8302 | fontStyle?: string | undefined;
|
8303 |
|
8304 | /**
|
8305 | * font thick weight
|
8306 | *
|
8307 | * Options are:
|
8308 | *
|
8309 | * + `'normal'`
|
8310 | * + `'bold'`
|
8311 | * + `'bolder'`
|
8312 | * + `'lighter'`
|
8313 | * + 100 | 200 | 300 | 400...
|
8314 | *
|
8315 | *
|
8316 | * @default
|
8317 | * "normal"
|
8318 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontWeight
|
8319 | */
|
8320 | fontWeight?: string | number | undefined;
|
8321 |
|
8322 | /**
|
8323 | * font family
|
8324 | *
|
8325 | * Can also be 'serif' , 'monospace', ...
|
8326 | *
|
8327 | *
|
8328 | * @default
|
8329 | * "sans-serif"
|
8330 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontFamily
|
8331 | */
|
8332 | fontFamily?: string | undefined;
|
8333 |
|
8334 | /**
|
8335 | * font size
|
8336 | *
|
8337 | *
|
8338 | * @default
|
8339 | * 12
|
8340 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontSize
|
8341 | */
|
8342 | fontSize?: number | undefined;
|
8343 |
|
8344 | /**
|
8345 | * Horizontal alignment of text, automatic by default.
|
8346 | *
|
8347 | * Options are:
|
8348 | *
|
8349 | * + `'left'`
|
8350 | * + `'center'`
|
8351 | * + `'right'`
|
8352 | *
|
8353 | * If `align` is not set in `rich`, `align` in parent level
|
8354 | * will be used. For example:
|
8355 | *
|
8356 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
|
8357 | *
|
8358 | *
|
8359 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.align
|
8360 | */
|
8361 | align?: string | undefined;
|
8362 |
|
8363 | /**
|
8364 | * Vertical alignment of text, automatic by default.
|
8365 | *
|
8366 | * Options are:
|
8367 | *
|
8368 | * + `'top'`
|
8369 | * + `'middle'`
|
8370 | * + `'bottom'`
|
8371 | *
|
8372 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
8373 | * in parent level will be used. For example:
|
8374 | *
|
8375 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
|
8376 | *
|
8377 | *
|
8378 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.verticalAlign
|
8379 | */
|
8380 | verticalAlign?: string | undefined;
|
8381 |
|
8382 | /**
|
8383 | * Line height of the text fregment.
|
8384 | *
|
8385 | * If `lineHeight` is not set in `rich`, `lineHeight` in
|
8386 | * parent level will be used. For example:
|
8387 | *
|
8388 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
|
8389 | *
|
8390 | *
|
8391 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.lineHeight
|
8392 | */
|
8393 | lineHeight?: number | undefined;
|
8394 |
|
8395 | /**
|
8396 | * Background color of the text fregment.
|
8397 | *
|
8398 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
8399 | *
|
8400 | * Or image can be used, for example:
|
8401 | *
|
8402 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
|
8403 | *
|
8404 | * `width` or `height` can be specified when using background
|
8405 | * image, or auto adapted by default.
|
8406 | *
|
8407 | * If set as `'auto'`, the color will assigned as visual
|
8408 | * color, such as series color.
|
8409 | *
|
8410 | *
|
8411 | * @default
|
8412 | * "transparent"
|
8413 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.backgroundColor
|
8414 | */
|
8415 | backgroundColor?: object | string | undefined;
|
8416 |
|
8417 | /**
|
8418 | * Border color of the text fregment.
|
8419 | *
|
8420 | * If set as `'auto'`, the color will assigned as visual
|
8421 | * color, such as series color.
|
8422 | *
|
8423 | *
|
8424 | * @default
|
8425 | * "transparent"
|
8426 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.borderColor
|
8427 | */
|
8428 | borderColor?: string | undefined;
|
8429 |
|
8430 | /**
|
8431 | * Border width of the text fregment.
|
8432 | *
|
8433 | *
|
8434 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.borderWidth
|
8435 | */
|
8436 | borderWidth?: number | undefined;
|
8437 |
|
8438 | /**
|
8439 | * Border radius of the text fregment.
|
8440 | *
|
8441 | *
|
8442 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.borderRadius
|
8443 | */
|
8444 | borderRadius?: number | undefined;
|
8445 |
|
8446 | /**
|
8447 | * Padding of the text fregment, for example:
|
8448 | *
|
8449 | * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
|
8450 | * right, bottom, left]`.
|
8451 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
8452 | * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
|
8453 | *
|
8454 | * Notice, `width` and `height` specifies the width and
|
8455 | * height of the content, without `padding`.
|
8456 | *
|
8457 | *
|
8458 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.padding
|
8459 | */
|
8460 | padding?: any[] | number | undefined;
|
8461 |
|
8462 | /**
|
8463 | * Shadow color of the text block.
|
8464 | *
|
8465 | *
|
8466 | * @default
|
8467 | * "transparent"
|
8468 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowColor
|
8469 | */
|
8470 | shadowColor?: string | undefined;
|
8471 |
|
8472 | /**
|
8473 | * Show blur of the text block.
|
8474 | *
|
8475 | *
|
8476 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowBlur
|
8477 | */
|
8478 | shadowBlur?: number | undefined;
|
8479 |
|
8480 | /**
|
8481 | * Shadow X offset of the text block.
|
8482 | *
|
8483 | *
|
8484 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowOffsetX
|
8485 | */
|
8486 | shadowOffsetX?: number | undefined;
|
8487 |
|
8488 | /**
|
8489 | * Shadow Y offset of the text block.
|
8490 | *
|
8491 | *
|
8492 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowOffsetY
|
8493 | */
|
8494 | shadowOffsetY?: number | undefined;
|
8495 |
|
8496 | /**
|
8497 | * Width of the text block.
|
8498 | * It is the width of the text by default.
|
8499 | * In most cases, there is no need to specify it.
|
8500 | * You may want to use it in some cases like make simple
|
8501 | * table or using background image (see `backgroundColor`).
|
8502 | *
|
8503 | * Notice, `width` and `height` specifies the width and
|
8504 | * height of the content, without `padding`.
|
8505 | *
|
8506 | * `width` can also be percent string, like `'100%'`, which
|
8507 | * represents the percent of `contentWidth` (that is, the
|
8508 | * width without `padding`) of its container box.
|
8509 | * It is based on `contentWidth` because that each text
|
8510 | * fregment is layout based on the `content box`, where
|
8511 | * it makes no sense that calculating width based on `outerWith`
|
8512 | * in prectice.
|
8513 | *
|
8514 | * Notice, `width` and `height` only work when `rich` specified.
|
8515 | *
|
8516 | *
|
8517 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.width
|
8518 | */
|
8519 | width?: number | string | undefined;
|
8520 |
|
8521 | /**
|
8522 | * Height of the text block.
|
8523 | * It is the width of the text by default.
|
8524 | * You may want to use it in some cases like using background
|
8525 | * image (see `backgroundColor`).
|
8526 | *
|
8527 | * Notice, `width` and `height` specifies the width and
|
8528 | * height of the content, without `padding`.
|
8529 | *
|
8530 | * Notice, `width` and `height` only work when `rich` specified.
|
8531 | *
|
8532 | *
|
8533 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.height
|
8534 | */
|
8535 | height?: number | string | undefined;
|
8536 |
|
8537 | /**
|
8538 | * Storke color of the text.
|
8539 | *
|
8540 | * If set as `'auto'`, the color will assigned as visual
|
8541 | * color, such as series color.
|
8542 | *
|
8543 | *
|
8544 | * @default
|
8545 | * "transparent"
|
8546 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textBorderColor
|
8547 | */
|
8548 | textBorderColor?: string | undefined;
|
8549 |
|
8550 | /**
|
8551 | * Storke line width of the text.
|
8552 | *
|
8553 | *
|
8554 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textBorderWidth
|
8555 | */
|
8556 | textBorderWidth?: number | undefined;
|
8557 |
|
8558 | /**
|
8559 | * Shadow color of the text itself.
|
8560 | *
|
8561 | *
|
8562 | * @default
|
8563 | * "transparent"
|
8564 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowColor
|
8565 | */
|
8566 | textShadowColor?: string | undefined;
|
8567 |
|
8568 | /**
|
8569 | * Shadow blue of the text itself.
|
8570 | *
|
8571 | *
|
8572 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowBlur
|
8573 | */
|
8574 | textShadowBlur?: number | undefined;
|
8575 |
|
8576 | /**
|
8577 | * Shadow X offset of the text itself.
|
8578 | *
|
8579 | *
|
8580 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowOffsetX
|
8581 | */
|
8582 | textShadowOffsetX?: number | undefined;
|
8583 |
|
8584 | /**
|
8585 | * Shadow Y offset of the text itself.
|
8586 | *
|
8587 | *
|
8588 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowOffsetY
|
8589 | */
|
8590 | textShadowOffsetY?: number | undefined;
|
8591 |
|
8592 | /**
|
8593 | * "Rich text styles" can be defined in this `rich` property.
|
8594 | * For example:
|
8595 | *
|
8596 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
|
8597 | *
|
8598 | * For more details, see
|
8599 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
8600 | * please.
|
8601 | *
|
8602 | *
|
8603 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich
|
8604 | */
|
8605 | rich?: {
|
8606 | /**
|
8607 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E
|
8608 | */
|
8609 | [userStyle: string]: {
|
8610 | /**
|
8611 | * text color.
|
8612 | *
|
8613 | * If set as `'auto'`, the color will assigned as
|
8614 | * visual color, such as series color.
|
8615 | *
|
8616 | *
|
8617 | * @default
|
8618 | * ""#fff""
|
8619 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
8620 | */
|
8621 | color?: string | undefined;
|
8622 |
|
8623 | /**
|
8624 | * font style
|
8625 | *
|
8626 | * Options are:
|
8627 | *
|
8628 | * + `'normal'`
|
8629 | * + `'italic'`
|
8630 | * + `'oblique'`
|
8631 | *
|
8632 | *
|
8633 | * @default
|
8634 | * "normal"
|
8635 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
8636 | */
|
8637 | fontStyle?: string | undefined;
|
8638 |
|
8639 | /**
|
8640 | * font thick weight
|
8641 | *
|
8642 | * Options are:
|
8643 | *
|
8644 | * + `'normal'`
|
8645 | * + `'bold'`
|
8646 | * + `'bolder'`
|
8647 | * + `'lighter'`
|
8648 | * + 100 | 200 | 300 | 400...
|
8649 | *
|
8650 | *
|
8651 | * @default
|
8652 | * "normal"
|
8653 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
8654 | */
|
8655 | fontWeight?: string | number | undefined;
|
8656 |
|
8657 | /**
|
8658 | * font family
|
8659 | *
|
8660 | * Can also be 'serif' , 'monospace', ...
|
8661 | *
|
8662 | *
|
8663 | * @default
|
8664 | * "sans-serif"
|
8665 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
8666 | */
|
8667 | fontFamily?: string | undefined;
|
8668 |
|
8669 | /**
|
8670 | * font size
|
8671 | *
|
8672 | *
|
8673 | * @default
|
8674 | * 12
|
8675 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
8676 | */
|
8677 | fontSize?: number | undefined;
|
8678 |
|
8679 | /**
|
8680 | * Horizontal alignment of text, automatic by default.
|
8681 | *
|
8682 | * Options are:
|
8683 | *
|
8684 | * + `'left'`
|
8685 | * + `'center'`
|
8686 | * + `'right'`
|
8687 | *
|
8688 | * If `align` is not set in `rich`, `align` in parent
|
8689 | * level will be used. For example:
|
8690 | *
|
8691 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
|
8692 | *
|
8693 | *
|
8694 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
8695 | */
|
8696 | align?: string | undefined;
|
8697 |
|
8698 | /**
|
8699 | * Vertical alignment of text, automatic by default.
|
8700 | *
|
8701 | * Options are:
|
8702 | *
|
8703 | * + `'top'`
|
8704 | * + `'middle'`
|
8705 | * + `'bottom'`
|
8706 | *
|
8707 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
8708 | * in parent level will be used. For example:
|
8709 | *
|
8710 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
|
8711 | *
|
8712 | *
|
8713 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
8714 | */
|
8715 | verticalAlign?: string | undefined;
|
8716 |
|
8717 | /**
|
8718 | * Line height of the text fregment.
|
8719 | *
|
8720 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
8721 | * in parent level will be used. For example:
|
8722 | *
|
8723 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
|
8724 | *
|
8725 | *
|
8726 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
8727 | */
|
8728 | lineHeight?: number | undefined;
|
8729 |
|
8730 | /**
|
8731 | * Background color of the text fregment.
|
8732 | *
|
8733 | * Can be color string, like `'#123234'`, `'red'`,
|
8734 | * `rgba(0,23,11,0.3)'`.
|
8735 | *
|
8736 | * Or image can be used, for example:
|
8737 | *
|
8738 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
|
8739 | *
|
8740 | * `width` or `height` can be specified when using
|
8741 | * background image, or auto adapted by default.
|
8742 | *
|
8743 | * If set as `'auto'`, the color will assigned as
|
8744 | * visual color, such as series color.
|
8745 | *
|
8746 | *
|
8747 | * @default
|
8748 | * "transparent"
|
8749 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
8750 | */
|
8751 | backgroundColor?: object | string | undefined;
|
8752 |
|
8753 | /**
|
8754 | * Border color of the text fregment.
|
8755 | *
|
8756 | * If set as `'auto'`, the color will assigned as
|
8757 | * visual color, such as series color.
|
8758 | *
|
8759 | *
|
8760 | * @default
|
8761 | * "transparent"
|
8762 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
8763 | */
|
8764 | borderColor?: string | undefined;
|
8765 |
|
8766 | /**
|
8767 | * Border width of the text fregment.
|
8768 | *
|
8769 | *
|
8770 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
8771 | */
|
8772 | borderWidth?: number | undefined;
|
8773 |
|
8774 | /**
|
8775 | * Border radius of the text fregment.
|
8776 | *
|
8777 | *
|
8778 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
8779 | */
|
8780 | borderRadius?: number | undefined;
|
8781 |
|
8782 | /**
|
8783 | * Padding of the text fregment, for example:
|
8784 | *
|
8785 | * + `padding: [3, 4, 5, 6]`: represents padding
|
8786 | * of `[top, right, bottom, left]`.
|
8787 | * + `padding: 4`: represents `padding: [4, 4, 4,
|
8788 | * 4]`.
|
8789 | * + `padding: [3, 4]`: represents `padding: [3,
|
8790 | * 4, 3, 4]`.
|
8791 | *
|
8792 | * Notice, `width` and `height` specifies the width
|
8793 | * and height of the content, without `padding`.
|
8794 | *
|
8795 | *
|
8796 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
8797 | */
|
8798 | padding?: any[] | number | undefined;
|
8799 |
|
8800 | /**
|
8801 | * Shadow color of the text block.
|
8802 | *
|
8803 | *
|
8804 | * @default
|
8805 | * "transparent"
|
8806 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
8807 | */
|
8808 | shadowColor?: string | undefined;
|
8809 |
|
8810 | /**
|
8811 | * Show blur of the text block.
|
8812 | *
|
8813 | *
|
8814 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
8815 | */
|
8816 | shadowBlur?: number | undefined;
|
8817 |
|
8818 | /**
|
8819 | * Shadow X offset of the text block.
|
8820 | *
|
8821 | *
|
8822 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
8823 | */
|
8824 | shadowOffsetX?: number | undefined;
|
8825 |
|
8826 | /**
|
8827 | * Shadow Y offset of the text block.
|
8828 | *
|
8829 | *
|
8830 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
8831 | */
|
8832 | shadowOffsetY?: number | undefined;
|
8833 |
|
8834 | /**
|
8835 | * Width of the text block.
|
8836 | * It is the width of the text by default.
|
8837 | * In most cases, there is no need to specify it.
|
8838 | * You may want to use it in some cases like make
|
8839 | * simple table or using background image (see `backgroundColor`).
|
8840 | *
|
8841 | * Notice, `width` and `height` specifies the width
|
8842 | * and height of the content, without `padding`.
|
8843 | *
|
8844 | * `width` can also be percent string, like `'100%'`,
|
8845 | * which represents the percent of `contentWidth`
|
8846 | * (that is, the width without `padding`) of its
|
8847 | * container box.
|
8848 | * It is based on `contentWidth` because that each
|
8849 | * text fregment is layout based on the `content
|
8850 | * box`, where it makes no sense that calculating
|
8851 | * width based on `outerWith` in prectice.
|
8852 | *
|
8853 | * Notice, `width` and `height` only work when `rich`
|
8854 | * specified.
|
8855 | *
|
8856 | *
|
8857 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
8858 | */
|
8859 | width?: number | string | undefined;
|
8860 |
|
8861 | /**
|
8862 | * Height of the text block.
|
8863 | * It is the width of the text by default.
|
8864 | * You may want to use it in some cases like using
|
8865 | * background image (see `backgroundColor`).
|
8866 | *
|
8867 | * Notice, `width` and `height` specifies the width
|
8868 | * and height of the content, without `padding`.
|
8869 | *
|
8870 | * Notice, `width` and `height` only work when `rich`
|
8871 | * specified.
|
8872 | *
|
8873 | *
|
8874 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
8875 | */
|
8876 | height?: number | string | undefined;
|
8877 |
|
8878 | /**
|
8879 | * Storke color of the text.
|
8880 | *
|
8881 | * If set as `'auto'`, the color will assigned as
|
8882 | * visual color, such as series color.
|
8883 | *
|
8884 | *
|
8885 | * @default
|
8886 | * "transparent"
|
8887 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
8888 | */
|
8889 | textBorderColor?: string | undefined;
|
8890 |
|
8891 | /**
|
8892 | * Storke line width of the text.
|
8893 | *
|
8894 | *
|
8895 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
8896 | */
|
8897 | textBorderWidth?: number | undefined;
|
8898 |
|
8899 | /**
|
8900 | * Shadow color of the text itself.
|
8901 | *
|
8902 | *
|
8903 | * @default
|
8904 | * "transparent"
|
8905 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
8906 | */
|
8907 | textShadowColor?: string | undefined;
|
8908 |
|
8909 | /**
|
8910 | * Shadow blue of the text itself.
|
8911 | *
|
8912 | *
|
8913 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
8914 | */
|
8915 | textShadowBlur?: number | undefined;
|
8916 |
|
8917 | /**
|
8918 | * Shadow X offset of the text itself.
|
8919 | *
|
8920 | *
|
8921 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
8922 | */
|
8923 | textShadowOffsetX?: number | undefined;
|
8924 |
|
8925 | /**
|
8926 | * Shadow Y offset of the text itself.
|
8927 | *
|
8928 | *
|
8929 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
8930 | */
|
8931 | textShadowOffsetY?: number | undefined;
|
8932 | };
|
8933 | } | undefined;
|
8934 |
|
8935 | /**
|
8936 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis
|
8937 | */
|
8938 | emphasis?: {
|
8939 | /**
|
8940 | * Whether to show label.
|
8941 | *
|
8942 | *
|
8943 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.show
|
8944 | */
|
8945 | show?: boolean | undefined;
|
8946 |
|
8947 | /**
|
8948 | * Label position.
|
8949 | *
|
8950 | * **Followings are the options:**
|
8951 | *
|
8952 | * + \[x, y\]
|
8953 | *
|
8954 | * Use relative percentage, or absolute pixel values
|
8955 | * to represent position of label relative to top-left
|
8956 | * corner of bounding box. For example:
|
8957 | *
|
8958 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
|
8959 | *
|
8960 | * + 'top'
|
8961 | *
|
8962 | * + 'left'
|
8963 | * + 'right'
|
8964 | * + 'bottom'
|
8965 | * + 'inside'
|
8966 | * + 'insideLeft'
|
8967 | * + 'insideRight'
|
8968 | * + 'insideTop'
|
8969 | * + 'insideBottom'
|
8970 | * + 'insideTopLeft'
|
8971 | * + 'insideBottomLeft'
|
8972 | * + 'insideTopRight'
|
8973 | * + 'insideBottomRight'
|
8974 | *
|
8975 | * See:
|
8976 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
8977 | * .
|
8978 | *
|
8979 | *
|
8980 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.position
|
8981 | */
|
8982 | position?: any[] | string | undefined;
|
8983 |
|
8984 | /**
|
8985 | * Distance to the host graphic element.
|
8986 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
8987 | *
|
8988 | * See:
|
8989 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
8990 | * .
|
8991 | *
|
8992 | *
|
8993 | * @default
|
8994 | * 5
|
8995 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.distance
|
8996 | */
|
8997 | distance?: number | undefined;
|
8998 |
|
8999 | /**
|
9000 | * Rotate label, from -90 degree to 90, positive value
|
9001 | * represents rotate anti-clockwise.
|
9002 | *
|
9003 | * See:
|
9004 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
9005 | * .
|
9006 | *
|
9007 | *
|
9008 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rotate
|
9009 | */
|
9010 | rotate?: number | undefined;
|
9011 |
|
9012 | /**
|
9013 | * Whether to move text slightly.
|
9014 | * For example: `[30, 40]` means move `30` horizontally
|
9015 | * and move `40` vertically.
|
9016 | *
|
9017 | *
|
9018 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.offset
|
9019 | */
|
9020 | offset?: any[] | undefined;
|
9021 |
|
9022 | /**
|
9023 | * text color.
|
9024 | *
|
9025 | * If set as `'auto'`, the color will assigned as visual
|
9026 | * color, such as series color.
|
9027 | *
|
9028 | *
|
9029 | * @default
|
9030 | * ""#fff""
|
9031 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.color
|
9032 | */
|
9033 | color?: string | undefined;
|
9034 |
|
9035 | /**
|
9036 | * font style
|
9037 | *
|
9038 | * Options are:
|
9039 | *
|
9040 | * + `'normal'`
|
9041 | * + `'italic'`
|
9042 | * + `'oblique'`
|
9043 | *
|
9044 | *
|
9045 | * @default
|
9046 | * "normal"
|
9047 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontStyle
|
9048 | */
|
9049 | fontStyle?: string | undefined;
|
9050 |
|
9051 | /**
|
9052 | * font thick weight
|
9053 | *
|
9054 | * Options are:
|
9055 | *
|
9056 | * + `'normal'`
|
9057 | * + `'bold'`
|
9058 | * + `'bolder'`
|
9059 | * + `'lighter'`
|
9060 | * + 100 | 200 | 300 | 400...
|
9061 | *
|
9062 | *
|
9063 | * @default
|
9064 | * "normal"
|
9065 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontWeight
|
9066 | */
|
9067 | fontWeight?: string | number | undefined;
|
9068 |
|
9069 | /**
|
9070 | * font family
|
9071 | *
|
9072 | * Can also be 'serif' , 'monospace', ...
|
9073 | *
|
9074 | *
|
9075 | * @default
|
9076 | * "sans-serif"
|
9077 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontFamily
|
9078 | */
|
9079 | fontFamily?: string | undefined;
|
9080 |
|
9081 | /**
|
9082 | * font size
|
9083 | *
|
9084 | *
|
9085 | * @default
|
9086 | * 12
|
9087 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontSize
|
9088 | */
|
9089 | fontSize?: number | undefined;
|
9090 |
|
9091 | /**
|
9092 | * Horizontal alignment of text, automatic by default.
|
9093 | *
|
9094 | * Options are:
|
9095 | *
|
9096 | * + `'left'`
|
9097 | * + `'center'`
|
9098 | * + `'right'`
|
9099 | *
|
9100 | * If `align` is not set in `rich`, `align` in parent
|
9101 | * level will be used. For example:
|
9102 | *
|
9103 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
|
9104 | *
|
9105 | *
|
9106 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.align
|
9107 | */
|
9108 | align?: string | undefined;
|
9109 |
|
9110 | /**
|
9111 | * Vertical alignment of text, automatic by default.
|
9112 | *
|
9113 | * Options are:
|
9114 | *
|
9115 | * + `'top'`
|
9116 | * + `'middle'`
|
9117 | * + `'bottom'`
|
9118 | *
|
9119 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
9120 | * in parent level will be used. For example:
|
9121 | *
|
9122 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
|
9123 | *
|
9124 | *
|
9125 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.verticalAlign
|
9126 | */
|
9127 | verticalAlign?: string | undefined;
|
9128 |
|
9129 | /**
|
9130 | * Line height of the text fregment.
|
9131 | *
|
9132 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
9133 | * in parent level will be used. For example:
|
9134 | *
|
9135 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
|
9136 | *
|
9137 | *
|
9138 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.lineHeight
|
9139 | */
|
9140 | lineHeight?: number | undefined;
|
9141 |
|
9142 | /**
|
9143 | * Background color of the text fregment.
|
9144 | *
|
9145 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
9146 | *
|
9147 | * Or image can be used, for example:
|
9148 | *
|
9149 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
|
9150 | *
|
9151 | * `width` or `height` can be specified when using background
|
9152 | * image, or auto adapted by default.
|
9153 | *
|
9154 | * If set as `'auto'`, the color will assigned as visual
|
9155 | * color, such as series color.
|
9156 | *
|
9157 | *
|
9158 | * @default
|
9159 | * "transparent"
|
9160 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.backgroundColor
|
9161 | */
|
9162 | backgroundColor?: object | string | undefined;
|
9163 |
|
9164 | /**
|
9165 | * Border color of the text fregment.
|
9166 | *
|
9167 | * If set as `'auto'`, the color will assigned as visual
|
9168 | * color, such as series color.
|
9169 | *
|
9170 | *
|
9171 | * @default
|
9172 | * "transparent"
|
9173 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.borderColor
|
9174 | */
|
9175 | borderColor?: string | undefined;
|
9176 |
|
9177 | /**
|
9178 | * Border width of the text fregment.
|
9179 | *
|
9180 | *
|
9181 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.borderWidth
|
9182 | */
|
9183 | borderWidth?: number | undefined;
|
9184 |
|
9185 | /**
|
9186 | * Border radius of the text fregment.
|
9187 | *
|
9188 | *
|
9189 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.borderRadius
|
9190 | */
|
9191 | borderRadius?: number | undefined;
|
9192 |
|
9193 | /**
|
9194 | * Padding of the text fregment, for example:
|
9195 | *
|
9196 | * + `padding: [3, 4, 5, 6]`: represents padding of
|
9197 | * `[top, right, bottom, left]`.
|
9198 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
9199 | * + `padding: [3, 4]`: represents `padding: [3, 4,
|
9200 | * 3, 4]`.
|
9201 | *
|
9202 | * Notice, `width` and `height` specifies the width
|
9203 | * and height of the content, without `padding`.
|
9204 | *
|
9205 | *
|
9206 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.padding
|
9207 | */
|
9208 | padding?: any[] | number | undefined;
|
9209 |
|
9210 | /**
|
9211 | * Shadow color of the text block.
|
9212 | *
|
9213 | *
|
9214 | * @default
|
9215 | * "transparent"
|
9216 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowColor
|
9217 | */
|
9218 | shadowColor?: string | undefined;
|
9219 |
|
9220 | /**
|
9221 | * Show blur of the text block.
|
9222 | *
|
9223 | *
|
9224 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowBlur
|
9225 | */
|
9226 | shadowBlur?: number | undefined;
|
9227 |
|
9228 | /**
|
9229 | * Shadow X offset of the text block.
|
9230 | *
|
9231 | *
|
9232 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowOffsetX
|
9233 | */
|
9234 | shadowOffsetX?: number | undefined;
|
9235 |
|
9236 | /**
|
9237 | * Shadow Y offset of the text block.
|
9238 | *
|
9239 | *
|
9240 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowOffsetY
|
9241 | */
|
9242 | shadowOffsetY?: number | undefined;
|
9243 |
|
9244 | /**
|
9245 | * Width of the text block.
|
9246 | * It is the width of the text by default.
|
9247 | * In most cases, there is no need to specify it.
|
9248 | * You may want to use it in some cases like make simple
|
9249 | * table or using background image (see `backgroundColor`).
|
9250 | *
|
9251 | * Notice, `width` and `height` specifies the width
|
9252 | * and height of the content, without `padding`.
|
9253 | *
|
9254 | * `width` can also be percent string, like `'100%'`,
|
9255 | * which represents the percent of `contentWidth` (that
|
9256 | * is, the width without `padding`) of its container
|
9257 | * box.
|
9258 | * It is based on `contentWidth` because that each text
|
9259 | * fregment is layout based on the `content box`, where
|
9260 | * it makes no sense that calculating width based on
|
9261 | * `outerWith` in prectice.
|
9262 | *
|
9263 | * Notice, `width` and `height` only work when `rich`
|
9264 | * specified.
|
9265 | *
|
9266 | *
|
9267 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.width
|
9268 | */
|
9269 | width?: number | string | undefined;
|
9270 |
|
9271 | /**
|
9272 | * Height of the text block.
|
9273 | * It is the width of the text by default.
|
9274 | * You may want to use it in some cases like using background
|
9275 | * image (see `backgroundColor`).
|
9276 | *
|
9277 | * Notice, `width` and `height` specifies the width
|
9278 | * and height of the content, without `padding`.
|
9279 | *
|
9280 | * Notice, `width` and `height` only work when `rich`
|
9281 | * specified.
|
9282 | *
|
9283 | *
|
9284 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.height
|
9285 | */
|
9286 | height?: number | string | undefined;
|
9287 |
|
9288 | /**
|
9289 | * Storke color of the text.
|
9290 | *
|
9291 | * If set as `'auto'`, the color will assigned as visual
|
9292 | * color, such as series color.
|
9293 | *
|
9294 | *
|
9295 | * @default
|
9296 | * "transparent"
|
9297 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textBorderColor
|
9298 | */
|
9299 | textBorderColor?: string | undefined;
|
9300 |
|
9301 | /**
|
9302 | * Storke line width of the text.
|
9303 | *
|
9304 | *
|
9305 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textBorderWidth
|
9306 | */
|
9307 | textBorderWidth?: number | undefined;
|
9308 |
|
9309 | /**
|
9310 | * Shadow color of the text itself.
|
9311 | *
|
9312 | *
|
9313 | * @default
|
9314 | * "transparent"
|
9315 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowColor
|
9316 | */
|
9317 | textShadowColor?: string | undefined;
|
9318 |
|
9319 | /**
|
9320 | * Shadow blue of the text itself.
|
9321 | *
|
9322 | *
|
9323 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowBlur
|
9324 | */
|
9325 | textShadowBlur?: number | undefined;
|
9326 |
|
9327 | /**
|
9328 | * Shadow X offset of the text itself.
|
9329 | *
|
9330 | *
|
9331 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowOffsetX
|
9332 | */
|
9333 | textShadowOffsetX?: number | undefined;
|
9334 |
|
9335 | /**
|
9336 | * Shadow Y offset of the text itself.
|
9337 | *
|
9338 | *
|
9339 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowOffsetY
|
9340 | */
|
9341 | textShadowOffsetY?: number | undefined;
|
9342 |
|
9343 | /**
|
9344 | * "Rich text styles" can be defined in this `rich`
|
9345 | * property. For example:
|
9346 | *
|
9347 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
|
9348 | *
|
9349 | * For more details, see
|
9350 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
9351 | * please.
|
9352 | *
|
9353 | *
|
9354 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich
|
9355 | */
|
9356 | rich?: {
|
9357 | /**
|
9358 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
|
9359 | */
|
9360 | [userStyle: string]: {
|
9361 | /**
|
9362 | * text color.
|
9363 | *
|
9364 | * If set as `'auto'`, the color will assigned
|
9365 | * as visual color, such as series color.
|
9366 | *
|
9367 | *
|
9368 | * @default
|
9369 | * ""#fff""
|
9370 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
|
9371 | */
|
9372 | color?: string | undefined;
|
9373 |
|
9374 | /**
|
9375 | * font style
|
9376 | *
|
9377 | * Options are:
|
9378 | *
|
9379 | * + `'normal'`
|
9380 | * + `'italic'`
|
9381 | * + `'oblique'`
|
9382 | *
|
9383 | *
|
9384 | * @default
|
9385 | * "normal"
|
9386 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
9387 | */
|
9388 | fontStyle?: string | undefined;
|
9389 |
|
9390 | /**
|
9391 | * font thick weight
|
9392 | *
|
9393 | * Options are:
|
9394 | *
|
9395 | * + `'normal'`
|
9396 | * + `'bold'`
|
9397 | * + `'bolder'`
|
9398 | * + `'lighter'`
|
9399 | * + 100 | 200 | 300 | 400...
|
9400 | *
|
9401 | *
|
9402 | * @default
|
9403 | * "normal"
|
9404 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
9405 | */
|
9406 | fontWeight?: string | number | undefined;
|
9407 |
|
9408 | /**
|
9409 | * font family
|
9410 | *
|
9411 | * Can also be 'serif' , 'monospace', ...
|
9412 | *
|
9413 | *
|
9414 | * @default
|
9415 | * "sans-serif"
|
9416 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
9417 | */
|
9418 | fontFamily?: string | undefined;
|
9419 |
|
9420 | /**
|
9421 | * font size
|
9422 | *
|
9423 | *
|
9424 | * @default
|
9425 | * 12
|
9426 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
9427 | */
|
9428 | fontSize?: number | undefined;
|
9429 |
|
9430 | /**
|
9431 | * Horizontal alignment of text, automatic by
|
9432 | * default.
|
9433 | *
|
9434 | * Options are:
|
9435 | *
|
9436 | * + `'left'`
|
9437 | * + `'center'`
|
9438 | * + `'right'`
|
9439 | *
|
9440 | * If `align` is not set in `rich`, `align`
|
9441 | * in parent level will be used.
|
9442 | * For example:
|
9443 | *
|
9444 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
9445 | *
|
9446 | *
|
9447 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
|
9448 | */
|
9449 | align?: string | undefined;
|
9450 |
|
9451 | /**
|
9452 | * Vertical alignment of text, automatic by
|
9453 | * default.
|
9454 | *
|
9455 | * Options are:
|
9456 | *
|
9457 | * + `'top'`
|
9458 | * + `'middle'`
|
9459 | * + `'bottom'`
|
9460 | *
|
9461 | * If `verticalAlign` is not set in `rich`,
|
9462 | * `verticalAlign` in parent level will be used.
|
9463 | * For example:
|
9464 | *
|
9465 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
9466 | *
|
9467 | *
|
9468 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
9469 | */
|
9470 | verticalAlign?: string | undefined;
|
9471 |
|
9472 | /**
|
9473 | * Line height of the text fregment.
|
9474 | *
|
9475 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
9476 | * in parent level will be used.
|
9477 | * For example:
|
9478 | *
|
9479 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
9480 | *
|
9481 | *
|
9482 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
9483 | */
|
9484 | lineHeight?: number | undefined;
|
9485 |
|
9486 | /**
|
9487 | * Background color of the text fregment.
|
9488 | *
|
9489 | * Can be color string, like `'#123234'`, `'red'`,
|
9490 | * `rgba(0,23,11,0.3)'`.
|
9491 | *
|
9492 | * Or image can be used, for example:
|
9493 | *
|
9494 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
9495 | *
|
9496 | * `width` or `height` can be specified when
|
9497 | * using background image, or auto adapted by
|
9498 | * default.
|
9499 | *
|
9500 | * If set as `'auto'`, the color will assigned
|
9501 | * as visual color, such as series color.
|
9502 | *
|
9503 | *
|
9504 | * @default
|
9505 | * "transparent"
|
9506 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
9507 | */
|
9508 | backgroundColor?: object | string | undefined;
|
9509 |
|
9510 | /**
|
9511 | * Border color of the text fregment.
|
9512 | *
|
9513 | * If set as `'auto'`, the color will assigned
|
9514 | * as visual color, such as series color.
|
9515 | *
|
9516 | *
|
9517 | * @default
|
9518 | * "transparent"
|
9519 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
9520 | */
|
9521 | borderColor?: string | undefined;
|
9522 |
|
9523 | /**
|
9524 | * Border width of the text fregment.
|
9525 | *
|
9526 | *
|
9527 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
9528 | */
|
9529 | borderWidth?: number | undefined;
|
9530 |
|
9531 | /**
|
9532 | * Border radius of the text fregment.
|
9533 | *
|
9534 | *
|
9535 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
9536 | */
|
9537 | borderRadius?: number | undefined;
|
9538 |
|
9539 | /**
|
9540 | * Padding of the text fregment, for example:
|
9541 | *
|
9542 | * + `padding: [3, 4, 5, 6]`: represents padding
|
9543 | * of `[top, right, bottom, left]`.
|
9544 | * + `padding: 4`: represents `padding: [4,
|
9545 | * 4, 4, 4]`.
|
9546 | * + `padding: [3, 4]`: represents `padding:
|
9547 | * [3, 4, 3, 4]`.
|
9548 | *
|
9549 | * Notice, `width` and `height` specifies the
|
9550 | * width and height of the content, without
|
9551 | * `padding`.
|
9552 | *
|
9553 | *
|
9554 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
|
9555 | */
|
9556 | padding?: any[] | number | undefined;
|
9557 |
|
9558 | /**
|
9559 | * Shadow color of the text block.
|
9560 | *
|
9561 | *
|
9562 | * @default
|
9563 | * "transparent"
|
9564 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
9565 | */
|
9566 | shadowColor?: string | undefined;
|
9567 |
|
9568 | /**
|
9569 | * Show blur of the text block.
|
9570 | *
|
9571 | *
|
9572 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
9573 | */
|
9574 | shadowBlur?: number | undefined;
|
9575 |
|
9576 | /**
|
9577 | * Shadow X offset of the text block.
|
9578 | *
|
9579 | *
|
9580 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
9581 | */
|
9582 | shadowOffsetX?: number | undefined;
|
9583 |
|
9584 | /**
|
9585 | * Shadow Y offset of the text block.
|
9586 | *
|
9587 | *
|
9588 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
9589 | */
|
9590 | shadowOffsetY?: number | undefined;
|
9591 |
|
9592 | /**
|
9593 | * Width of the text block.
|
9594 | * It is the width of the text by default.
|
9595 | * In most cases, there is no need to specify
|
9596 | * it.
|
9597 | * You may want to use it in some cases like
|
9598 | * make simple table or using background image
|
9599 | * (see `backgroundColor`).
|
9600 | *
|
9601 | * Notice, `width` and `height` specifies the
|
9602 | * width and height of the content, without
|
9603 | * `padding`.
|
9604 | *
|
9605 | * `width` can also be percent string, like
|
9606 | * `'100%'`, which represents the percent of
|
9607 | * `contentWidth` (that is, the width without
|
9608 | * `padding`) of its container box.
|
9609 | * It is based on `contentWidth` because that
|
9610 | * each text fregment is layout based on the
|
9611 | * `content box`, where it makes no sense that
|
9612 | * calculating width based on `outerWith` in
|
9613 | * prectice.
|
9614 | *
|
9615 | * Notice, `width` and `height` only work when
|
9616 | * `rich` specified.
|
9617 | *
|
9618 | *
|
9619 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
|
9620 | */
|
9621 | width?: number | string | undefined;
|
9622 |
|
9623 | /**
|
9624 | * Height of the text block.
|
9625 | * It is the width of the text by default.
|
9626 | * You may want to use it in some cases like
|
9627 | * using background image (see `backgroundColor`).
|
9628 | *
|
9629 | * Notice, `width` and `height` specifies the
|
9630 | * width and height of the content, without
|
9631 | * `padding`.
|
9632 | *
|
9633 | * Notice, `width` and `height` only work when
|
9634 | * `rich` specified.
|
9635 | *
|
9636 | *
|
9637 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
|
9638 | */
|
9639 | height?: number | string | undefined;
|
9640 |
|
9641 | /**
|
9642 | * Storke color of the text.
|
9643 | *
|
9644 | * If set as `'auto'`, the color will assigned
|
9645 | * as visual color, such as series color.
|
9646 | *
|
9647 | *
|
9648 | * @default
|
9649 | * "transparent"
|
9650 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
9651 | */
|
9652 | textBorderColor?: string | undefined;
|
9653 |
|
9654 | /**
|
9655 | * Storke line width of the text.
|
9656 | *
|
9657 | *
|
9658 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
9659 | */
|
9660 | textBorderWidth?: number | undefined;
|
9661 |
|
9662 | /**
|
9663 | * Shadow color of the text itself.
|
9664 | *
|
9665 | *
|
9666 | * @default
|
9667 | * "transparent"
|
9668 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
9669 | */
|
9670 | textShadowColor?: string | undefined;
|
9671 |
|
9672 | /**
|
9673 | * Shadow blue of the text itself.
|
9674 | *
|
9675 | *
|
9676 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
9677 | */
|
9678 | textShadowBlur?: number | undefined;
|
9679 |
|
9680 | /**
|
9681 | * Shadow X offset of the text itself.
|
9682 | *
|
9683 | *
|
9684 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
9685 | */
|
9686 | textShadowOffsetX?: number | undefined;
|
9687 |
|
9688 | /**
|
9689 | * Shadow Y offset of the text itself.
|
9690 | *
|
9691 | *
|
9692 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
9693 | */
|
9694 | textShadowOffsetY?: number | undefined;
|
9695 | };
|
9696 | } | undefined;
|
9697 | } | undefined;
|
9698 | } | undefined;
|
9699 |
|
9700 | /**
|
9701 | * Style of the mark area.
|
9702 | *
|
9703 | *
|
9704 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle
|
9705 | */
|
9706 | itemStyle?: {
|
9707 | /**
|
9708 | * color.
|
9709 | *
|
9710 | * > Color can be represented in RGB, for example `'rgb(128,
|
9711 | * 128, 128)'`.
|
9712 | * RGBA can be used when you need alpha channel, for example
|
9713 | * `'rgba(128, 128, 128, 0.5)'`.
|
9714 | * You may also use hexadecimal format, for example `'#ccc'`.
|
9715 | * Gradient color and texture are also supported besides
|
9716 | * single colors.
|
9717 | * >
|
9718 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle)
|
9719 | *
|
9720 | *
|
9721 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.color
|
9722 | */
|
9723 | color?: EChartOption.Color | undefined;
|
9724 |
|
9725 | /**
|
9726 | * border color, whose format is similar to that of `color`.
|
9727 | *
|
9728 | *
|
9729 | * @default
|
9730 | * "#000"
|
9731 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.borderColor
|
9732 | */
|
9733 | borderColor?: EChartOption.Color | undefined;
|
9734 |
|
9735 | /**
|
9736 | * border width. No border when it is set to be 0.
|
9737 | *
|
9738 | *
|
9739 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.borderWidth
|
9740 | */
|
9741 | borderWidth?: number | undefined;
|
9742 |
|
9743 | /**
|
9744 | * Border type, which can be `'solid'`, `'dashed'`, or `'dotted'`.
|
9745 | * `'solid'` by default.
|
9746 | *
|
9747 | *
|
9748 | * @default
|
9749 | * "solid"
|
9750 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.borderType
|
9751 | */
|
9752 | borderType?: string | undefined;
|
9753 |
|
9754 | /**
|
9755 | * Size of shadow blur.
|
9756 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
9757 | * `shadowOffsetY` to set shadow to component.
|
9758 | *
|
9759 | * For example:
|
9760 | *
|
9761 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle)
|
9762 | *
|
9763 | *
|
9764 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowBlur
|
9765 | */
|
9766 | shadowBlur?: number | undefined;
|
9767 |
|
9768 | /**
|
9769 | * Shadow color. Support same format as `color`.
|
9770 | *
|
9771 | *
|
9772 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowColor
|
9773 | */
|
9774 | shadowColor?: EChartOption.Color | undefined;
|
9775 |
|
9776 | /**
|
9777 | * Offset distance on the horizontal direction of shadow.
|
9778 | *
|
9779 | *
|
9780 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowOffsetX
|
9781 | */
|
9782 | shadowOffsetX?: number | undefined;
|
9783 |
|
9784 | /**
|
9785 | * Offset distance on the vertical direction of shadow.
|
9786 | *
|
9787 | *
|
9788 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowOffsetY
|
9789 | */
|
9790 | shadowOffsetY?: number | undefined;
|
9791 |
|
9792 | /**
|
9793 | * Opacity of the component.
|
9794 | * Supports value from 0 to 1, and the component will not
|
9795 | * be drawn when set to 0.
|
9796 | *
|
9797 | *
|
9798 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.opacity
|
9799 | */
|
9800 | opacity?: number | undefined;
|
9801 |
|
9802 | /**
|
9803 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis
|
9804 | */
|
9805 | emphasis?: {
|
9806 | /**
|
9807 | * color.
|
9808 | *
|
9809 | * > Color can be represented in RGB, for example `'rgb(128,
|
9810 | * 128, 128)'`.
|
9811 | * RGBA can be used when you need alpha channel, for
|
9812 | * example `'rgba(128, 128, 128, 0.5)'`.
|
9813 | * You may also use hexadecimal format, for example
|
9814 | * `'#ccc'`.
|
9815 | * Gradient color and texture are also supported besides
|
9816 | * single colors.
|
9817 | * >
|
9818 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle.emphasis)
|
9819 | *
|
9820 | *
|
9821 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.color
|
9822 | */
|
9823 | color?: EChartOption.Color | undefined;
|
9824 |
|
9825 | /**
|
9826 | * border color, whose format is similar to that of
|
9827 | * `color`.
|
9828 | *
|
9829 | *
|
9830 | * @default
|
9831 | * "#000"
|
9832 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.borderColor
|
9833 | */
|
9834 | borderColor?: EChartOption.Color | undefined;
|
9835 |
|
9836 | /**
|
9837 | * border width. No border when it is set to be 0.
|
9838 | *
|
9839 | *
|
9840 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.borderWidth
|
9841 | */
|
9842 | borderWidth?: number | undefined;
|
9843 |
|
9844 | /**
|
9845 | * Border type, which can be `'solid'`, `'dashed'`,
|
9846 | * or `'dotted'`. `'solid'` by default.
|
9847 | *
|
9848 | *
|
9849 | * @default
|
9850 | * "solid"
|
9851 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.borderType
|
9852 | */
|
9853 | borderType?: string | undefined;
|
9854 |
|
9855 | /**
|
9856 | * Size of shadow blur.
|
9857 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
9858 | * `shadowOffsetY` to set shadow to component.
|
9859 | *
|
9860 | * For example:
|
9861 | *
|
9862 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle.emphasis)
|
9863 | *
|
9864 | *
|
9865 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowBlur
|
9866 | */
|
9867 | shadowBlur?: number | undefined;
|
9868 |
|
9869 | /**
|
9870 | * Shadow color. Support same format as `color`.
|
9871 | *
|
9872 | *
|
9873 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowColor
|
9874 | */
|
9875 | shadowColor?: EChartOption.Color | undefined;
|
9876 |
|
9877 | /**
|
9878 | * Offset distance on the horizontal direction of shadow.
|
9879 | *
|
9880 | *
|
9881 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowOffsetX
|
9882 | */
|
9883 | shadowOffsetX?: number | undefined;
|
9884 |
|
9885 | /**
|
9886 | * Offset distance on the vertical direction of shadow.
|
9887 | *
|
9888 | *
|
9889 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowOffsetY
|
9890 | */
|
9891 | shadowOffsetY?: number | undefined;
|
9892 |
|
9893 | /**
|
9894 | * Opacity of the component.
|
9895 | * Supports value from 0 to 1, and the component will
|
9896 | * not be drawn when set to 0.
|
9897 | *
|
9898 | *
|
9899 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.opacity
|
9900 | */
|
9901 | opacity?: number | undefined;
|
9902 | } | undefined;
|
9903 | } | undefined;
|
9904 |
|
9905 | /**
|
9906 | * The scope of the area is defined by `data`, which is an array
|
9907 | * with two item, representing the left-top point and the right-bottom
|
9908 | * point of rectangle area.
|
9909 | * Each item can be defined as follows:
|
9910 | *
|
9911 | * 1.
|
9912 | * Specify the coordinate in screen coordinate system using
|
9913 | * [x](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.x)
|
9914 | * ,
|
9915 | * [y](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.y)
|
9916 | * , where the unit is pixel (e.g.,
|
9917 | * the value is `5`), or percent (e.g.,
|
9918 | * the value is `'35%'`).
|
9919 | *
|
9920 | * 2.
|
9921 | * Specify the coordinate in data coordinate system (i.e.,
|
9922 | * cartesian) using
|
9923 | * [coord](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.coord)
|
9924 | * , which can be also set as `'min'`, `'max'`, `'average'`
|
9925 | * (e.g,
|
9926 | * `coord: [23, 'min']`, or `coord: ['average', 'max']`)。
|
9927 | *
|
9928 | * 1.
|
9929 | * Locate the point on the min value or max value of `series.data`
|
9930 | * using
|
9931 | * [type](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.type)
|
9932 | * , where
|
9933 | * [valueIndex](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.valueIndex)
|
9934 | * or
|
9935 | * [valueDim](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.0.valueDim)
|
9936 | * can be used to specify the dimension on which the min, max
|
9937 | * or average are calculated.
|
9938 | * 2.
|
9939 | * If in cartesian, you can only specify `xAxis` or `yAxis`
|
9940 | * to define a mark area based on only X or Y axis, see sample
|
9941 | * [scatter-weight](https://echarts.apache.org/examples/en/editor.html?c=scatter-weight)
|
9942 | *
|
9943 | * The priority follows as above if more than one above definition
|
9944 | * used.
|
9945 | *
|
9946 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
|
9947 | *
|
9948 | *
|
9949 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data
|
9950 | */
|
9951 | data?: {
|
9952 | /**
|
9953 | * Specify the left-top point.
|
9954 | *
|
9955 | *
|
9956 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0
|
9957 | */
|
9958 | 0?: {
|
9959 | /**
|
9960 | * Specify this item is on min or max or average value.
|
9961 | *
|
9962 | * **Options:**
|
9963 | *
|
9964 | * + `'min'` max value。
|
9965 | * + `'max'` min value。
|
9966 | * + `'average'` average value。
|
9967 | *
|
9968 | *
|
9969 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.type
|
9970 | */
|
9971 | type?: string | undefined;
|
9972 |
|
9973 | /**
|
9974 | * Specify the dimension on which min, max, average
|
9975 | * are calculated, available when
|
9976 | * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
|
9977 | * used.
|
9978 | * The value can be `0` (means xAxis, radiusAxis) or
|
9979 | * `1` (means yAxis, angleAxis), using the dimension
|
9980 | * of the first axis by default.
|
9981 | *
|
9982 | *
|
9983 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.valueIndex
|
9984 | */
|
9985 | valueIndex?: number | undefined;
|
9986 |
|
9987 | /**
|
9988 | * Specify the dimension on which min, max, average
|
9989 | * are calculated, available when
|
9990 | * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
|
9991 | * used.
|
9992 | * The value can be the name of the dimension (for example,
|
9993 | * the value can be `x`, `angle` in line chart, and
|
9994 | * `open`, `close` in candlestick).
|
9995 | *
|
9996 | *
|
9997 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.valueDim
|
9998 | */
|
9999 | valueDim?: string | undefined;
|
10000 |
|
10001 | /**
|
10002 | * The format is \[start coordinate, end coordinate\],
|
10003 | * where the coordinate system can be `x`, `y` on
|
10004 | * [cartesian](https://echarts.apache.org/en/option.html#grid)
|
10005 | * , or `radius`, `angle` on
|
10006 | * [polar](https://echarts.apache.org/en/option.html#polar)
|
10007 | * .
|
10008 | *
|
10009 | *
|
10010 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.coord
|
10011 | */
|
10012 | coord?: any[] | undefined;
|
10013 |
|
10014 | /**
|
10015 | * Name of the marker, which will display as a label.
|
10016 | *
|
10017 | *
|
10018 | * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markArea.data.0.name
|
10019 | */
|
10020 | name?: string | undefined;
|
10021 |
|
10022 | /**
|
10023 | * x value on screen coordinate system, can be pixel
|
10024 | * number (like `5`), or percent value (like `'20%'`).
|
10025 | *
|
10026 | *
|
10027 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.x
|
10028 | */
|
10029 | x?: number | undefined;
|
10030 |
|
10031 | /**
|
10032 | * y value on screen coordinate system, can be pixel
|
10033 | * number (like `5`), or percent value (like `'20%'`).
|
10034 | *
|
10035 | *
|
10036 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.y
|
10037 | */
|
10038 | y?: number | undefined;
|
10039 |
|
10040 | /**
|
10041 | * value of the item, not necessary.
|
10042 | *
|
10043 | *
|
10044 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.value
|
10045 | */
|
10046 | value?: number | undefined;
|
10047 |
|
10048 | /**
|
10049 | * Style of the item.
|
10050 | * `itemStyle` of start point and end point will be
|
10051 | * merged together.
|
10052 | *
|
10053 | *
|
10054 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle
|
10055 | */
|
10056 | itemStyle?: {
|
10057 | /**
|
10058 | * color.
|
10059 | *
|
10060 | * > Color can be represented in RGB, for example
|
10061 | * `'rgb(128, 128, 128)'`.
|
10062 | * RGBA can be used when you need alpha channel,
|
10063 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
10064 | * You may also use hexadecimal format, for example
|
10065 | * `'#ccc'`.
|
10066 | * Gradient color and texture are also supported
|
10067 | * besides single colors.
|
10068 | * >
|
10069 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle)
|
10070 | *
|
10071 | *
|
10072 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.color
|
10073 | */
|
10074 | color?: EChartOption.Color | undefined;
|
10075 |
|
10076 | /**
|
10077 | * border color, whose format is similar to that
|
10078 | * of `color`.
|
10079 | *
|
10080 | *
|
10081 | * @default
|
10082 | * "#000"
|
10083 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.borderColor
|
10084 | */
|
10085 | borderColor?: EChartOption.Color | undefined;
|
10086 |
|
10087 | /**
|
10088 | * border width.
|
10089 | * No border when it is set to be 0.
|
10090 | *
|
10091 | *
|
10092 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.borderWidth
|
10093 | */
|
10094 | borderWidth?: number | undefined;
|
10095 |
|
10096 | /**
|
10097 | * Border type, which can be `'solid'`, `'dashed'`,
|
10098 | * or `'dotted'`. `'solid'` by default.
|
10099 | *
|
10100 | *
|
10101 | * @default
|
10102 | * "solid"
|
10103 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.borderType
|
10104 | */
|
10105 | borderType?: string | undefined;
|
10106 |
|
10107 | /**
|
10108 | * Size of shadow blur.
|
10109 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
10110 | * `shadowOffsetY` to set shadow to component.
|
10111 | *
|
10112 | * For example:
|
10113 | *
|
10114 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle)
|
10115 | *
|
10116 | *
|
10117 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowBlur
|
10118 | */
|
10119 | shadowBlur?: number | undefined;
|
10120 |
|
10121 | /**
|
10122 | * Shadow color. Support same format as `color`.
|
10123 | *
|
10124 | *
|
10125 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowColor
|
10126 | */
|
10127 | shadowColor?: EChartOption.Color | undefined;
|
10128 |
|
10129 | /**
|
10130 | * Offset distance on the horizontal direction of
|
10131 | * shadow.
|
10132 | *
|
10133 | *
|
10134 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowOffsetX
|
10135 | */
|
10136 | shadowOffsetX?: number | undefined;
|
10137 |
|
10138 | /**
|
10139 | * Offset distance on the vertical direction of
|
10140 | * shadow.
|
10141 | *
|
10142 | *
|
10143 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowOffsetY
|
10144 | */
|
10145 | shadowOffsetY?: number | undefined;
|
10146 |
|
10147 | /**
|
10148 | * Opacity of the component.
|
10149 | * Supports value from 0 to 1, and the component
|
10150 | * will not be drawn when set to 0.
|
10151 | *
|
10152 | *
|
10153 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.opacity
|
10154 | */
|
10155 | opacity?: number | undefined;
|
10156 |
|
10157 | /**
|
10158 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis
|
10159 | */
|
10160 | emphasis?: {
|
10161 | /**
|
10162 | * color.
|
10163 | *
|
10164 | * > Color can be represented in RGB, for example
|
10165 | * `'rgb(128, 128, 128)'`.
|
10166 | * RGBA can be used when you need alpha channel,
|
10167 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
10168 | * You may also use hexadecimal format, for
|
10169 | * example `'#ccc'`.
|
10170 | * Gradient color and texture are also supported
|
10171 | * besides single colors.
|
10172 | * >
|
10173 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle.emphasis)
|
10174 | *
|
10175 | *
|
10176 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.color
|
10177 | */
|
10178 | color?: EChartOption.Color | undefined;
|
10179 |
|
10180 | /**
|
10181 | * border color, whose format is similar to
|
10182 | * that of `color`.
|
10183 | *
|
10184 | *
|
10185 | * @default
|
10186 | * "#000"
|
10187 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.borderColor
|
10188 | */
|
10189 | borderColor?: EChartOption.Color | undefined;
|
10190 |
|
10191 | /**
|
10192 | * border width.
|
10193 | * No border when it is set to be 0.
|
10194 | *
|
10195 | *
|
10196 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.borderWidth
|
10197 | */
|
10198 | borderWidth?: number | undefined;
|
10199 |
|
10200 | /**
|
10201 | * Border type, which can be `'solid'`, `'dashed'`,
|
10202 | * or `'dotted'`. `'solid'` by default.
|
10203 | *
|
10204 | *
|
10205 | * @default
|
10206 | * "solid"
|
10207 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.borderType
|
10208 | */
|
10209 | borderType?: string | undefined;
|
10210 |
|
10211 | /**
|
10212 | * Size of shadow blur.
|
10213 | * This attribute should be used along with
|
10214 | * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
|
10215 | * to set shadow to component.
|
10216 | *
|
10217 | * For example:
|
10218 | *
|
10219 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle.emphasis)
|
10220 | *
|
10221 | *
|
10222 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowBlur
|
10223 | */
|
10224 | shadowBlur?: number | undefined;
|
10225 |
|
10226 | /**
|
10227 | * Shadow color.
|
10228 | * Support same format as `color`.
|
10229 | *
|
10230 | *
|
10231 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowColor
|
10232 | */
|
10233 | shadowColor?: EChartOption.Color | undefined;
|
10234 |
|
10235 | /**
|
10236 | * Offset distance on the horizontal direction
|
10237 | * of shadow.
|
10238 | *
|
10239 | *
|
10240 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowOffsetX
|
10241 | */
|
10242 | shadowOffsetX?: number | undefined;
|
10243 |
|
10244 | /**
|
10245 | * Offset distance on the vertical direction
|
10246 | * of shadow.
|
10247 | *
|
10248 | *
|
10249 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowOffsetY
|
10250 | */
|
10251 | shadowOffsetY?: number | undefined;
|
10252 |
|
10253 | /**
|
10254 | * Opacity of the component.
|
10255 | * Supports value from 0 to 1, and the component
|
10256 | * will not be drawn when set to 0.
|
10257 | *
|
10258 | *
|
10259 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.opacity
|
10260 | */
|
10261 | opacity?: number | undefined;
|
10262 | } | undefined;
|
10263 | } | undefined;
|
10264 |
|
10265 | /**
|
10266 | * Label style of the item.
|
10267 | * Label style of start point and end point will be
|
10268 | * merged together.
|
10269 | *
|
10270 | *
|
10271 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label
|
10272 | */
|
10273 | label?: {
|
10274 | /**
|
10275 | * Whether to show label.
|
10276 | *
|
10277 | *
|
10278 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.show
|
10279 | */
|
10280 | show?: boolean | undefined;
|
10281 |
|
10282 | /**
|
10283 | * Label position.
|
10284 | *
|
10285 | * **Followings are the options:**
|
10286 | *
|
10287 | * + \[x, y\]
|
10288 | *
|
10289 | * Use relative percentage, or absolute pixel values
|
10290 | * to represent position of label relative to top-left
|
10291 | * corner of bounding box. For example:
|
10292 | *
|
10293 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
|
10294 | *
|
10295 | * + 'top'
|
10296 | *
|
10297 | * + 'left'
|
10298 | * + 'right'
|
10299 | * + 'bottom'
|
10300 | * + 'inside'
|
10301 | * + 'insideLeft'
|
10302 | * + 'insideRight'
|
10303 | * + 'insideTop'
|
10304 | * + 'insideBottom'
|
10305 | * + 'insideTopLeft'
|
10306 | * + 'insideBottomLeft'
|
10307 | * + 'insideTopRight'
|
10308 | * + 'insideBottomRight'
|
10309 | *
|
10310 | * See:
|
10311 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
10312 | * .
|
10313 | *
|
10314 | *
|
10315 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.position
|
10316 | */
|
10317 | position?: any[] | string | undefined;
|
10318 |
|
10319 | /**
|
10320 | * Distance to the host graphic element.
|
10321 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
10322 | *
|
10323 | * See:
|
10324 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
10325 | * .
|
10326 | *
|
10327 | *
|
10328 | * @default
|
10329 | * 5
|
10330 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.distance
|
10331 | */
|
10332 | distance?: number | undefined;
|
10333 |
|
10334 | /**
|
10335 | * Rotate label, from -90 degree to 90, positive
|
10336 | * value represents rotate anti-clockwise.
|
10337 | *
|
10338 | * See:
|
10339 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
10340 | * .
|
10341 | *
|
10342 | *
|
10343 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rotate
|
10344 | */
|
10345 | rotate?: number | undefined;
|
10346 |
|
10347 | /**
|
10348 | * Whether to move text slightly.
|
10349 | * For example: `[30, 40]` means move `30` horizontally
|
10350 | * and move `40` vertically.
|
10351 | *
|
10352 | *
|
10353 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.offset
|
10354 | */
|
10355 | offset?: any[] | undefined;
|
10356 |
|
10357 | /**
|
10358 | * text color.
|
10359 | *
|
10360 | * If set as `'auto'`, the color will assigned as
|
10361 | * visual color, such as series color.
|
10362 | *
|
10363 | *
|
10364 | * @default
|
10365 | * ""#fff""
|
10366 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.color
|
10367 | */
|
10368 | color?: string | undefined;
|
10369 |
|
10370 | /**
|
10371 | * font style
|
10372 | *
|
10373 | * Options are:
|
10374 | *
|
10375 | * + `'normal'`
|
10376 | * + `'italic'`
|
10377 | * + `'oblique'`
|
10378 | *
|
10379 | *
|
10380 | * @default
|
10381 | * "normal"
|
10382 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontStyle
|
10383 | */
|
10384 | fontStyle?: string | undefined;
|
10385 |
|
10386 | /**
|
10387 | * font thick weight
|
10388 | *
|
10389 | * Options are:
|
10390 | *
|
10391 | * + `'normal'`
|
10392 | * + `'bold'`
|
10393 | * + `'bolder'`
|
10394 | * + `'lighter'`
|
10395 | * + 100 | 200 | 300 | 400...
|
10396 | *
|
10397 | *
|
10398 | * @default
|
10399 | * "normal"
|
10400 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontWeight
|
10401 | */
|
10402 | fontWeight?: string | number | undefined;
|
10403 |
|
10404 | /**
|
10405 | * font family
|
10406 | *
|
10407 | * Can also be 'serif' , 'monospace', ...
|
10408 | *
|
10409 | *
|
10410 | * @default
|
10411 | * "sans-serif"
|
10412 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontFamily
|
10413 | */
|
10414 | fontFamily?: string | undefined;
|
10415 |
|
10416 | /**
|
10417 | * font size
|
10418 | *
|
10419 | *
|
10420 | * @default
|
10421 | * 12
|
10422 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontSize
|
10423 | */
|
10424 | fontSize?: number | undefined;
|
10425 |
|
10426 | /**
|
10427 | * Horizontal alignment of text, automatic by default.
|
10428 | *
|
10429 | * Options are:
|
10430 | *
|
10431 | * + `'left'`
|
10432 | * + `'center'`
|
10433 | * + `'right'`
|
10434 | *
|
10435 | * If `align` is not set in `rich`, `align` in parent
|
10436 | * level will be used. For example:
|
10437 | *
|
10438 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
|
10439 | *
|
10440 | *
|
10441 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.align
|
10442 | */
|
10443 | align?: string | undefined;
|
10444 |
|
10445 | /**
|
10446 | * Vertical alignment of text, automatic by default.
|
10447 | *
|
10448 | * Options are:
|
10449 | *
|
10450 | * + `'top'`
|
10451 | * + `'middle'`
|
10452 | * + `'bottom'`
|
10453 | *
|
10454 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
10455 | * in parent level will be used. For example:
|
10456 | *
|
10457 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
|
10458 | *
|
10459 | *
|
10460 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.verticalAlign
|
10461 | */
|
10462 | verticalAlign?: string | undefined;
|
10463 |
|
10464 | /**
|
10465 | * Line height of the text fregment.
|
10466 | *
|
10467 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
10468 | * in parent level will be used. For example:
|
10469 | *
|
10470 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
|
10471 | *
|
10472 | *
|
10473 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.lineHeight
|
10474 | */
|
10475 | lineHeight?: number | undefined;
|
10476 |
|
10477 | /**
|
10478 | * Background color of the text fregment.
|
10479 | *
|
10480 | * Can be color string, like `'#123234'`, `'red'`,
|
10481 | * `rgba(0,23,11,0.3)'`.
|
10482 | *
|
10483 | * Or image can be used, for example:
|
10484 | *
|
10485 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
|
10486 | *
|
10487 | * `width` or `height` can be specified when using
|
10488 | * background image, or auto adapted by default.
|
10489 | *
|
10490 | * If set as `'auto'`, the color will assigned as
|
10491 | * visual color, such as series color.
|
10492 | *
|
10493 | *
|
10494 | * @default
|
10495 | * "transparent"
|
10496 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.backgroundColor
|
10497 | */
|
10498 | backgroundColor?: object | string | undefined;
|
10499 |
|
10500 | /**
|
10501 | * Border color of the text fregment.
|
10502 | *
|
10503 | * If set as `'auto'`, the color will assigned as
|
10504 | * visual color, such as series color.
|
10505 | *
|
10506 | *
|
10507 | * @default
|
10508 | * "transparent"
|
10509 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.borderColor
|
10510 | */
|
10511 | borderColor?: string | undefined;
|
10512 |
|
10513 | /**
|
10514 | * Border width of the text fregment.
|
10515 | *
|
10516 | *
|
10517 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.borderWidth
|
10518 | */
|
10519 | borderWidth?: number | undefined;
|
10520 |
|
10521 | /**
|
10522 | * Border radius of the text fregment.
|
10523 | *
|
10524 | *
|
10525 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.borderRadius
|
10526 | */
|
10527 | borderRadius?: number | undefined;
|
10528 |
|
10529 | /**
|
10530 | * Padding of the text fregment, for example:
|
10531 | *
|
10532 | * + `padding: [3, 4, 5, 6]`: represents padding
|
10533 | * of `[top, right, bottom, left]`.
|
10534 | * + `padding: 4`: represents `padding: [4, 4, 4,
|
10535 | * 4]`.
|
10536 | * + `padding: [3, 4]`: represents `padding: [3,
|
10537 | * 4, 3, 4]`.
|
10538 | *
|
10539 | * Notice, `width` and `height` specifies the width
|
10540 | * and height of the content, without `padding`.
|
10541 | *
|
10542 | *
|
10543 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.padding
|
10544 | */
|
10545 | padding?: any[] | number | undefined;
|
10546 |
|
10547 | /**
|
10548 | * Shadow color of the text block.
|
10549 | *
|
10550 | *
|
10551 | * @default
|
10552 | * "transparent"
|
10553 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowColor
|
10554 | */
|
10555 | shadowColor?: string | undefined;
|
10556 |
|
10557 | /**
|
10558 | * Show blur of the text block.
|
10559 | *
|
10560 | *
|
10561 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowBlur
|
10562 | */
|
10563 | shadowBlur?: number | undefined;
|
10564 |
|
10565 | /**
|
10566 | * Shadow X offset of the text block.
|
10567 | *
|
10568 | *
|
10569 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowOffsetX
|
10570 | */
|
10571 | shadowOffsetX?: number | undefined;
|
10572 |
|
10573 | /**
|
10574 | * Shadow Y offset of the text block.
|
10575 | *
|
10576 | *
|
10577 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowOffsetY
|
10578 | */
|
10579 | shadowOffsetY?: number | undefined;
|
10580 |
|
10581 | /**
|
10582 | * Width of the text block.
|
10583 | * It is the width of the text by default.
|
10584 | * In most cases, there is no need to specify it.
|
10585 | * You may want to use it in some cases like make
|
10586 | * simple table or using background image (see `backgroundColor`).
|
10587 | *
|
10588 | * Notice, `width` and `height` specifies the width
|
10589 | * and height of the content, without `padding`.
|
10590 | *
|
10591 | * `width` can also be percent string, like `'100%'`,
|
10592 | * which represents the percent of `contentWidth`
|
10593 | * (that is, the width without `padding`) of its
|
10594 | * container box.
|
10595 | * It is based on `contentWidth` because that each
|
10596 | * text fregment is layout based on the `content
|
10597 | * box`, where it makes no sense that calculating
|
10598 | * width based on `outerWith` in prectice.
|
10599 | *
|
10600 | * Notice, `width` and `height` only work when `rich`
|
10601 | * specified.
|
10602 | *
|
10603 | *
|
10604 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.width
|
10605 | */
|
10606 | width?: number | string | undefined;
|
10607 |
|
10608 | /**
|
10609 | * Height of the text block.
|
10610 | * It is the width of the text by default.
|
10611 | * You may want to use it in some cases like using
|
10612 | * background image (see `backgroundColor`).
|
10613 | *
|
10614 | * Notice, `width` and `height` specifies the width
|
10615 | * and height of the content, without `padding`.
|
10616 | *
|
10617 | * Notice, `width` and `height` only work when `rich`
|
10618 | * specified.
|
10619 | *
|
10620 | *
|
10621 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.height
|
10622 | */
|
10623 | height?: number | string | undefined;
|
10624 |
|
10625 | /**
|
10626 | * Storke color of the text.
|
10627 | *
|
10628 | * If set as `'auto'`, the color will assigned as
|
10629 | * visual color, such as series color.
|
10630 | *
|
10631 | *
|
10632 | * @default
|
10633 | * "transparent"
|
10634 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textBorderColor
|
10635 | */
|
10636 | textBorderColor?: string | undefined;
|
10637 |
|
10638 | /**
|
10639 | * Storke line width of the text.
|
10640 | *
|
10641 | *
|
10642 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textBorderWidth
|
10643 | */
|
10644 | textBorderWidth?: number | undefined;
|
10645 |
|
10646 | /**
|
10647 | * Shadow color of the text itself.
|
10648 | *
|
10649 | *
|
10650 | * @default
|
10651 | * "transparent"
|
10652 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowColor
|
10653 | */
|
10654 | textShadowColor?: string | undefined;
|
10655 |
|
10656 | /**
|
10657 | * Shadow blue of the text itself.
|
10658 | *
|
10659 | *
|
10660 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowBlur
|
10661 | */
|
10662 | textShadowBlur?: number | undefined;
|
10663 |
|
10664 | /**
|
10665 | * Shadow X offset of the text itself.
|
10666 | *
|
10667 | *
|
10668 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowOffsetX
|
10669 | */
|
10670 | textShadowOffsetX?: number | undefined;
|
10671 |
|
10672 | /**
|
10673 | * Shadow Y offset of the text itself.
|
10674 | *
|
10675 | *
|
10676 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowOffsetY
|
10677 | */
|
10678 | textShadowOffsetY?: number | undefined;
|
10679 |
|
10680 | /**
|
10681 | * "Rich text styles" can be defined in this `rich`
|
10682 | * property. For example:
|
10683 | *
|
10684 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
|
10685 | *
|
10686 | * For more details, see
|
10687 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
10688 | * please.
|
10689 | *
|
10690 | *
|
10691 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich
|
10692 | */
|
10693 | rich?: {
|
10694 | /**
|
10695 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E
|
10696 | */
|
10697 | [userStyle: string]: {
|
10698 | /**
|
10699 | * text color.
|
10700 | *
|
10701 | * If set as `'auto'`, the color will assigned
|
10702 | * as visual color, such as series color.
|
10703 | *
|
10704 | *
|
10705 | * @default
|
10706 | * ""#fff""
|
10707 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
10708 | */
|
10709 | color?: string | undefined;
|
10710 |
|
10711 | /**
|
10712 | * font style
|
10713 | *
|
10714 | * Options are:
|
10715 | *
|
10716 | * + `'normal'`
|
10717 | * + `'italic'`
|
10718 | * + `'oblique'`
|
10719 | *
|
10720 | *
|
10721 | * @default
|
10722 | * "normal"
|
10723 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
10724 | */
|
10725 | fontStyle?: string | undefined;
|
10726 |
|
10727 | /**
|
10728 | * font thick weight
|
10729 | *
|
10730 | * Options are:
|
10731 | *
|
10732 | * + `'normal'`
|
10733 | * + `'bold'`
|
10734 | * + `'bolder'`
|
10735 | * + `'lighter'`
|
10736 | * + 100 | 200 | 300 | 400...
|
10737 | *
|
10738 | *
|
10739 | * @default
|
10740 | * "normal"
|
10741 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
10742 | */
|
10743 | fontWeight?: string | number | undefined;
|
10744 |
|
10745 | /**
|
10746 | * font family
|
10747 | *
|
10748 | * Can also be 'serif' , 'monospace',
|
10749 | * ...
|
10750 | *
|
10751 | *
|
10752 | * @default
|
10753 | * "sans-serif"
|
10754 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
10755 | */
|
10756 | fontFamily?: string | undefined;
|
10757 |
|
10758 | /**
|
10759 | * font size
|
10760 | *
|
10761 | *
|
10762 | * @default
|
10763 | * 12
|
10764 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
10765 | */
|
10766 | fontSize?: number | undefined;
|
10767 |
|
10768 | /**
|
10769 | * Horizontal alignment of text, automatic
|
10770 | * by default.
|
10771 | *
|
10772 | * Options are:
|
10773 | *
|
10774 | * + `'left'`
|
10775 | * + `'center'`
|
10776 | * + `'right'`
|
10777 | *
|
10778 | * If `align` is not set in `rich`, `align`
|
10779 | * in parent level will be used.
|
10780 | * For example:
|
10781 | *
|
10782 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
|
10783 | *
|
10784 | *
|
10785 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
10786 | */
|
10787 | align?: string | undefined;
|
10788 |
|
10789 | /**
|
10790 | * Vertical alignment of text, automatic
|
10791 | * by default.
|
10792 | *
|
10793 | * Options are:
|
10794 | *
|
10795 | * + `'top'`
|
10796 | * + `'middle'`
|
10797 | * + `'bottom'`
|
10798 | *
|
10799 | * If `verticalAlign` is not set in `rich`,
|
10800 | * `verticalAlign` in parent level will
|
10801 | * be used. For example:
|
10802 | *
|
10803 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
|
10804 | *
|
10805 | *
|
10806 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
10807 | */
|
10808 | verticalAlign?: string | undefined;
|
10809 |
|
10810 | /**
|
10811 | * Line height of the text fregment.
|
10812 | *
|
10813 | * If `lineHeight` is not set in `rich`,
|
10814 | * `lineHeight` in parent level will be
|
10815 | * used. For example:
|
10816 | *
|
10817 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
|
10818 | *
|
10819 | *
|
10820 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
10821 | */
|
10822 | lineHeight?: number | undefined;
|
10823 |
|
10824 | /**
|
10825 | * Background color of the text fregment.
|
10826 | *
|
10827 | * Can be color string, like `'#123234'`,
|
10828 | * `'red'`, `rgba(0,23,11,0.3)'`.
|
10829 | *
|
10830 | * Or image can be used, for example:
|
10831 | *
|
10832 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
|
10833 | *
|
10834 | * `width` or `height` can be specified
|
10835 | * when using background image, or auto
|
10836 | * adapted by default.
|
10837 | *
|
10838 | * If set as `'auto'`, the color will assigned
|
10839 | * as visual color, such as series color.
|
10840 | *
|
10841 | *
|
10842 | * @default
|
10843 | * "transparent"
|
10844 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
10845 | */
|
10846 | backgroundColor?: object | string | undefined;
|
10847 |
|
10848 | /**
|
10849 | * Border color of the text fregment.
|
10850 | *
|
10851 | * If set as `'auto'`, the color will assigned
|
10852 | * as visual color, such as series color.
|
10853 | *
|
10854 | *
|
10855 | * @default
|
10856 | * "transparent"
|
10857 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
10858 | */
|
10859 | borderColor?: string | undefined;
|
10860 |
|
10861 | /**
|
10862 | * Border width of the text fregment.
|
10863 | *
|
10864 | *
|
10865 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
10866 | */
|
10867 | borderWidth?: number | undefined;
|
10868 |
|
10869 | /**
|
10870 | * Border radius of the text fregment.
|
10871 | *
|
10872 | *
|
10873 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
10874 | */
|
10875 | borderRadius?: number | undefined;
|
10876 |
|
10877 | /**
|
10878 | * Padding of the text fregment, for example:
|
10879 | *
|
10880 | * + `padding: [3, 4, 5, 6]`: represents
|
10881 | * padding of `[top, right, bottom, left]`.
|
10882 | * + `padding: 4`: represents `padding:
|
10883 | * [4, 4, 4, 4]`.
|
10884 | * + `padding: [3, 4]`: represents `padding:
|
10885 | * [3, 4, 3, 4]`.
|
10886 | *
|
10887 | * Notice, `width` and `height` specifies
|
10888 | * the width and height of the content,
|
10889 | * without `padding`.
|
10890 | *
|
10891 | *
|
10892 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
10893 | */
|
10894 | padding?: any[] | number | undefined;
|
10895 |
|
10896 | /**
|
10897 | * Shadow color of the text block.
|
10898 | *
|
10899 | *
|
10900 | * @default
|
10901 | * "transparent"
|
10902 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
10903 | */
|
10904 | shadowColor?: string | undefined;
|
10905 |
|
10906 | /**
|
10907 | * Show blur of the text block.
|
10908 | *
|
10909 | *
|
10910 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
10911 | */
|
10912 | shadowBlur?: number | undefined;
|
10913 |
|
10914 | /**
|
10915 | * Shadow X offset of the text block.
|
10916 | *
|
10917 | *
|
10918 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
10919 | */
|
10920 | shadowOffsetX?: number | undefined;
|
10921 |
|
10922 | /**
|
10923 | * Shadow Y offset of the text block.
|
10924 | *
|
10925 | *
|
10926 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
10927 | */
|
10928 | shadowOffsetY?: number | undefined;
|
10929 |
|
10930 | /**
|
10931 | * Width of the text block.
|
10932 | * It is the width of the text by default.
|
10933 | * In most cases, there is no need to specify
|
10934 | * it.
|
10935 | * You may want to use it in some cases
|
10936 | * like make simple table or using background
|
10937 | * image (see `backgroundColor`).
|
10938 | *
|
10939 | * Notice, `width` and `height` specifies
|
10940 | * the width and height of the content,
|
10941 | * without `padding`.
|
10942 | *
|
10943 | * `width` can also be percent string, like
|
10944 | * `'100%'`, which represents the percent
|
10945 | * of `contentWidth` (that is, the width
|
10946 | * without `padding`) of its container box.
|
10947 | * It is based on `contentWidth` because
|
10948 | * that each text fregment is layout based
|
10949 | * on the `content box`, where it makes
|
10950 | * no sense that calculating width based
|
10951 | * on `outerWith` in prectice.
|
10952 | *
|
10953 | * Notice, `width` and `height` only work
|
10954 | * when `rich` specified.
|
10955 | *
|
10956 | *
|
10957 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
10958 | */
|
10959 | width?: number | string | undefined;
|
10960 |
|
10961 | /**
|
10962 | * Height of the text block.
|
10963 | * It is the width of the text by default.
|
10964 | * You may want to use it in some cases
|
10965 | * like using background image (see `backgroundColor`).
|
10966 | *
|
10967 | * Notice, `width` and `height` specifies
|
10968 | * the width and height of the content,
|
10969 | * without `padding`.
|
10970 | *
|
10971 | * Notice, `width` and `height` only work
|
10972 | * when `rich` specified.
|
10973 | *
|
10974 | *
|
10975 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
10976 | */
|
10977 | height?: number | string | undefined;
|
10978 |
|
10979 | /**
|
10980 | * Storke color of the text.
|
10981 | *
|
10982 | * If set as `'auto'`, the color will assigned
|
10983 | * as visual color, such as series color.
|
10984 | *
|
10985 | *
|
10986 | * @default
|
10987 | * "transparent"
|
10988 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
10989 | */
|
10990 | textBorderColor?: string | undefined;
|
10991 |
|
10992 | /**
|
10993 | * Storke line width of the text.
|
10994 | *
|
10995 | *
|
10996 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
10997 | */
|
10998 | textBorderWidth?: number | undefined;
|
10999 |
|
11000 | /**
|
11001 | * Shadow color of the text itself.
|
11002 | *
|
11003 | *
|
11004 | * @default
|
11005 | * "transparent"
|
11006 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
11007 | */
|
11008 | textShadowColor?: string | undefined;
|
11009 |
|
11010 | /**
|
11011 | * Shadow blue of the text itself.
|
11012 | *
|
11013 | *
|
11014 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
11015 | */
|
11016 | textShadowBlur?: number | undefined;
|
11017 |
|
11018 | /**
|
11019 | * Shadow X offset of the text itself.
|
11020 | *
|
11021 | *
|
11022 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
11023 | */
|
11024 | textShadowOffsetX?: number | undefined;
|
11025 |
|
11026 | /**
|
11027 | * Shadow Y offset of the text itself.
|
11028 | *
|
11029 | *
|
11030 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
11031 | */
|
11032 | textShadowOffsetY?: number | undefined;
|
11033 | };
|
11034 | } | undefined;
|
11035 |
|
11036 | /**
|
11037 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis
|
11038 | */
|
11039 | emphasis?: {
|
11040 | /**
|
11041 | * Whether to show label.
|
11042 | *
|
11043 | *
|
11044 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.show
|
11045 | */
|
11046 | show?: boolean | undefined;
|
11047 |
|
11048 | /**
|
11049 | * Label position.
|
11050 | *
|
11051 | * **Followings are the options:**
|
11052 | *
|
11053 | * + \[x, y\]
|
11054 | *
|
11055 | * Use relative percentage, or absolute pixel
|
11056 | * values to represent position of label relative
|
11057 | * to top-left corner of bounding box.
|
11058 | * For example:
|
11059 | *
|
11060 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
|
11061 | *
|
11062 | * + 'top'
|
11063 | *
|
11064 | * + 'left'
|
11065 | * + 'right'
|
11066 | * + 'bottom'
|
11067 | * + 'inside'
|
11068 | * + 'insideLeft'
|
11069 | * + 'insideRight'
|
11070 | * + 'insideTop'
|
11071 | * + 'insideBottom'
|
11072 | * + 'insideTopLeft'
|
11073 | * + 'insideBottomLeft'
|
11074 | * + 'insideTopRight'
|
11075 | * + 'insideBottomRight'
|
11076 | *
|
11077 | * See:
|
11078 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
11079 | * .
|
11080 | *
|
11081 | *
|
11082 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.position
|
11083 | */
|
11084 | position?: any[] | string | undefined;
|
11085 |
|
11086 | /**
|
11087 | * Distance to the host graphic element.
|
11088 | * Works when position is string value (like
|
11089 | * `'top'`、`'insideRight'`).
|
11090 | *
|
11091 | * See:
|
11092 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
11093 | * .
|
11094 | *
|
11095 | *
|
11096 | * @default
|
11097 | * 5
|
11098 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.distance
|
11099 | */
|
11100 | distance?: number | undefined;
|
11101 |
|
11102 | /**
|
11103 | * Rotate label, from -90 degree to 90, positive
|
11104 | * value represents rotate anti-clockwise.
|
11105 | *
|
11106 | * See:
|
11107 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
11108 | * .
|
11109 | *
|
11110 | *
|
11111 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rotate
|
11112 | */
|
11113 | rotate?: number | undefined;
|
11114 |
|
11115 | /**
|
11116 | * Whether to move text slightly.
|
11117 | * For example: `[30, 40]` means move `30` horizontally
|
11118 | * and move `40` vertically.
|
11119 | *
|
11120 | *
|
11121 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.offset
|
11122 | */
|
11123 | offset?: any[] | undefined;
|
11124 |
|
11125 | /**
|
11126 | * text color.
|
11127 | *
|
11128 | * If set as `'auto'`, the color will assigned
|
11129 | * as visual color, such as series color.
|
11130 | *
|
11131 | *
|
11132 | * @default
|
11133 | * ""#fff""
|
11134 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.color
|
11135 | */
|
11136 | color?: string | undefined;
|
11137 |
|
11138 | /**
|
11139 | * font style
|
11140 | *
|
11141 | * Options are:
|
11142 | *
|
11143 | * + `'normal'`
|
11144 | * + `'italic'`
|
11145 | * + `'oblique'`
|
11146 | *
|
11147 | *
|
11148 | * @default
|
11149 | * "normal"
|
11150 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontStyle
|
11151 | */
|
11152 | fontStyle?: string | undefined;
|
11153 |
|
11154 | /**
|
11155 | * font thick weight
|
11156 | *
|
11157 | * Options are:
|
11158 | *
|
11159 | * + `'normal'`
|
11160 | * + `'bold'`
|
11161 | * + `'bolder'`
|
11162 | * + `'lighter'`
|
11163 | * + 100 | 200 | 300 | 400...
|
11164 | *
|
11165 | *
|
11166 | * @default
|
11167 | * "normal"
|
11168 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontWeight
|
11169 | */
|
11170 | fontWeight?: string | number | undefined;
|
11171 |
|
11172 | /**
|
11173 | * font family
|
11174 | *
|
11175 | * Can also be 'serif' , 'monospace', ...
|
11176 | *
|
11177 | *
|
11178 | * @default
|
11179 | * "sans-serif"
|
11180 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontFamily
|
11181 | */
|
11182 | fontFamily?: string | undefined;
|
11183 |
|
11184 | /**
|
11185 | * font size
|
11186 | *
|
11187 | *
|
11188 | * @default
|
11189 | * 12
|
11190 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontSize
|
11191 | */
|
11192 | fontSize?: number | undefined;
|
11193 |
|
11194 | /**
|
11195 | * Horizontal alignment of text, automatic by
|
11196 | * default.
|
11197 | *
|
11198 | * Options are:
|
11199 | *
|
11200 | * + `'left'`
|
11201 | * + `'center'`
|
11202 | * + `'right'`
|
11203 | *
|
11204 | * If `align` is not set in `rich`, `align`
|
11205 | * in parent level will be used.
|
11206 | * For example:
|
11207 | *
|
11208 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
|
11209 | *
|
11210 | *
|
11211 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.align
|
11212 | */
|
11213 | align?: string | undefined;
|
11214 |
|
11215 | /**
|
11216 | * Vertical alignment of text, automatic by
|
11217 | * default.
|
11218 | *
|
11219 | * Options are:
|
11220 | *
|
11221 | * + `'top'`
|
11222 | * + `'middle'`
|
11223 | * + `'bottom'`
|
11224 | *
|
11225 | * If `verticalAlign` is not set in `rich`,
|
11226 | * `verticalAlign` in parent level will be used.
|
11227 | * For example:
|
11228 | *
|
11229 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
|
11230 | *
|
11231 | *
|
11232 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.verticalAlign
|
11233 | */
|
11234 | verticalAlign?: string | undefined;
|
11235 |
|
11236 | /**
|
11237 | * Line height of the text fregment.
|
11238 | *
|
11239 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
11240 | * in parent level will be used.
|
11241 | * For example:
|
11242 | *
|
11243 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
|
11244 | *
|
11245 | *
|
11246 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.lineHeight
|
11247 | */
|
11248 | lineHeight?: number | undefined;
|
11249 |
|
11250 | /**
|
11251 | * Background color of the text fregment.
|
11252 | *
|
11253 | * Can be color string, like `'#123234'`, `'red'`,
|
11254 | * `rgba(0,23,11,0.3)'`.
|
11255 | *
|
11256 | * Or image can be used, for example:
|
11257 | *
|
11258 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
|
11259 | *
|
11260 | * `width` or `height` can be specified when
|
11261 | * using background image, or auto adapted by
|
11262 | * default.
|
11263 | *
|
11264 | * If set as `'auto'`, the color will assigned
|
11265 | * as visual color, such as series color.
|
11266 | *
|
11267 | *
|
11268 | * @default
|
11269 | * "transparent"
|
11270 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.backgroundColor
|
11271 | */
|
11272 | backgroundColor?: object | string | undefined;
|
11273 |
|
11274 | /**
|
11275 | * Border color of the text fregment.
|
11276 | *
|
11277 | * If set as `'auto'`, the color will assigned
|
11278 | * as visual color, such as series color.
|
11279 | *
|
11280 | *
|
11281 | * @default
|
11282 | * "transparent"
|
11283 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.borderColor
|
11284 | */
|
11285 | borderColor?: string | undefined;
|
11286 |
|
11287 | /**
|
11288 | * Border width of the text fregment.
|
11289 | *
|
11290 | *
|
11291 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.borderWidth
|
11292 | */
|
11293 | borderWidth?: number | undefined;
|
11294 |
|
11295 | /**
|
11296 | * Border radius of the text fregment.
|
11297 | *
|
11298 | *
|
11299 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.borderRadius
|
11300 | */
|
11301 | borderRadius?: number | undefined;
|
11302 |
|
11303 | /**
|
11304 | * Padding of the text fregment, for example:
|
11305 | *
|
11306 | * + `padding: [3, 4, 5, 6]`: represents padding
|
11307 | * of `[top, right, bottom, left]`.
|
11308 | * + `padding: 4`: represents `padding: [4,
|
11309 | * 4, 4, 4]`.
|
11310 | * + `padding: [3, 4]`: represents `padding:
|
11311 | * [3, 4, 3, 4]`.
|
11312 | *
|
11313 | * Notice, `width` and `height` specifies the
|
11314 | * width and height of the content, without
|
11315 | * `padding`.
|
11316 | *
|
11317 | *
|
11318 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.padding
|
11319 | */
|
11320 | padding?: any[] | number | undefined;
|
11321 |
|
11322 | /**
|
11323 | * Shadow color of the text block.
|
11324 | *
|
11325 | *
|
11326 | * @default
|
11327 | * "transparent"
|
11328 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowColor
|
11329 | */
|
11330 | shadowColor?: string | undefined;
|
11331 |
|
11332 | /**
|
11333 | * Show blur of the text block.
|
11334 | *
|
11335 | *
|
11336 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowBlur
|
11337 | */
|
11338 | shadowBlur?: number | undefined;
|
11339 |
|
11340 | /**
|
11341 | * Shadow X offset of the text block.
|
11342 | *
|
11343 | *
|
11344 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowOffsetX
|
11345 | */
|
11346 | shadowOffsetX?: number | undefined;
|
11347 |
|
11348 | /**
|
11349 | * Shadow Y offset of the text block.
|
11350 | *
|
11351 | *
|
11352 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowOffsetY
|
11353 | */
|
11354 | shadowOffsetY?: number | undefined;
|
11355 |
|
11356 | /**
|
11357 | * Width of the text block.
|
11358 | * It is the width of the text by default.
|
11359 | * In most cases, there is no need to specify
|
11360 | * it.
|
11361 | * You may want to use it in some cases like
|
11362 | * make simple table or using background image
|
11363 | * (see `backgroundColor`).
|
11364 | *
|
11365 | * Notice, `width` and `height` specifies the
|
11366 | * width and height of the content, without
|
11367 | * `padding`.
|
11368 | *
|
11369 | * `width` can also be percent string, like
|
11370 | * `'100%'`, which represents the percent of
|
11371 | * `contentWidth` (that is, the width without
|
11372 | * `padding`) of its container box.
|
11373 | * It is based on `contentWidth` because that
|
11374 | * each text fregment is layout based on the
|
11375 | * `content box`, where it makes no sense that
|
11376 | * calculating width based on `outerWith` in
|
11377 | * prectice.
|
11378 | *
|
11379 | * Notice, `width` and `height` only work when
|
11380 | * `rich` specified.
|
11381 | *
|
11382 | *
|
11383 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.width
|
11384 | */
|
11385 | width?: number | string | undefined;
|
11386 |
|
11387 | /**
|
11388 | * Height of the text block.
|
11389 | * It is the width of the text by default.
|
11390 | * You may want to use it in some cases like
|
11391 | * using background image (see `backgroundColor`).
|
11392 | *
|
11393 | * Notice, `width` and `height` specifies the
|
11394 | * width and height of the content, without
|
11395 | * `padding`.
|
11396 | *
|
11397 | * Notice, `width` and `height` only work when
|
11398 | * `rich` specified.
|
11399 | *
|
11400 | *
|
11401 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.height
|
11402 | */
|
11403 | height?: number | string | undefined;
|
11404 |
|
11405 | /**
|
11406 | * Storke color of the text.
|
11407 | *
|
11408 | * If set as `'auto'`, the color will assigned
|
11409 | * as visual color, such as series color.
|
11410 | *
|
11411 | *
|
11412 | * @default
|
11413 | * "transparent"
|
11414 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textBorderColor
|
11415 | */
|
11416 | textBorderColor?: string | undefined;
|
11417 |
|
11418 | /**
|
11419 | * Storke line width of the text.
|
11420 | *
|
11421 | *
|
11422 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textBorderWidth
|
11423 | */
|
11424 | textBorderWidth?: number | undefined;
|
11425 |
|
11426 | /**
|
11427 | * Shadow color of the text itself.
|
11428 | *
|
11429 | *
|
11430 | * @default
|
11431 | * "transparent"
|
11432 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowColor
|
11433 | */
|
11434 | textShadowColor?: string | undefined;
|
11435 |
|
11436 | /**
|
11437 | * Shadow blue of the text itself.
|
11438 | *
|
11439 | *
|
11440 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowBlur
|
11441 | */
|
11442 | textShadowBlur?: number | undefined;
|
11443 |
|
11444 | /**
|
11445 | * Shadow X offset of the text itself.
|
11446 | *
|
11447 | *
|
11448 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowOffsetX
|
11449 | */
|
11450 | textShadowOffsetX?: number | undefined;
|
11451 |
|
11452 | /**
|
11453 | * Shadow Y offset of the text itself.
|
11454 | *
|
11455 | *
|
11456 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowOffsetY
|
11457 | */
|
11458 | textShadowOffsetY?: number | undefined;
|
11459 |
|
11460 | /**
|
11461 | * "Rich text styles" can be defined in this
|
11462 | * `rich` property. For example:
|
11463 | *
|
11464 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
|
11465 | *
|
11466 | * For more details, see
|
11467 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
11468 | * please.
|
11469 | *
|
11470 | *
|
11471 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich
|
11472 | */
|
11473 | rich?: {
|
11474 | /**
|
11475 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
|
11476 | */
|
11477 | [userStyle: string]: {
|
11478 | /**
|
11479 | * text color.
|
11480 | *
|
11481 | * If set as `'auto'`, the color will
|
11482 | * assigned as visual color, such as
|
11483 | * series color.
|
11484 | *
|
11485 | *
|
11486 | * @default
|
11487 | * ""#fff""
|
11488 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
|
11489 | */
|
11490 | color?: string | undefined;
|
11491 |
|
11492 | /**
|
11493 | * font style
|
11494 | *
|
11495 | * Options are:
|
11496 | *
|
11497 | * + `'normal'`
|
11498 | * + `'italic'`
|
11499 | * + `'oblique'`
|
11500 | *
|
11501 | *
|
11502 | * @default
|
11503 | * "normal"
|
11504 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
11505 | */
|
11506 | fontStyle?: string | undefined;
|
11507 |
|
11508 | /**
|
11509 | * font thick weight
|
11510 | *
|
11511 | * Options are:
|
11512 | *
|
11513 | * + `'normal'`
|
11514 | * + `'bold'`
|
11515 | * + `'bolder'`
|
11516 | * + `'lighter'`
|
11517 | * + 100 | 200 | 300 | 400...
|
11518 | *
|
11519 | *
|
11520 | * @default
|
11521 | * "normal"
|
11522 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
11523 | */
|
11524 | fontWeight?: string | number | undefined;
|
11525 |
|
11526 | /**
|
11527 | * font family
|
11528 | *
|
11529 | * Can also be 'serif' , 'monospace',
|
11530 | * ...
|
11531 | *
|
11532 | *
|
11533 | * @default
|
11534 | * "sans-serif"
|
11535 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
11536 | */
|
11537 | fontFamily?: string | undefined;
|
11538 |
|
11539 | /**
|
11540 | * font size
|
11541 | *
|
11542 | *
|
11543 | * @default
|
11544 | * 12
|
11545 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
11546 | */
|
11547 | fontSize?: number | undefined;
|
11548 |
|
11549 | /**
|
11550 | * Horizontal alignment of text, automatic
|
11551 | * by default.
|
11552 | *
|
11553 | * Options are:
|
11554 | *
|
11555 | * + `'left'`
|
11556 | * + `'center'`
|
11557 | * + `'right'`
|
11558 | *
|
11559 | * If `align` is not set in `rich`,
|
11560 | * `align` in parent level will be used.
|
11561 | * For example:
|
11562 | *
|
11563 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
11564 | *
|
11565 | *
|
11566 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
|
11567 | */
|
11568 | align?: string | undefined;
|
11569 |
|
11570 | /**
|
11571 | * Vertical alignment of text, automatic
|
11572 | * by default.
|
11573 | *
|
11574 | * Options are:
|
11575 | *
|
11576 | * + `'top'`
|
11577 | * + `'middle'`
|
11578 | * + `'bottom'`
|
11579 | *
|
11580 | * If `verticalAlign` is not set in
|
11581 | * `rich`, `verticalAlign` in parent
|
11582 | * level will be used. For example:
|
11583 | *
|
11584 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
11585 | *
|
11586 | *
|
11587 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
11588 | */
|
11589 | verticalAlign?: string | undefined;
|
11590 |
|
11591 | /**
|
11592 | * Line height of the text fregment.
|
11593 | *
|
11594 | * If `lineHeight` is not set in `rich`,
|
11595 | * `lineHeight` in parent level will
|
11596 | * be used. For example:
|
11597 | *
|
11598 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
11599 | *
|
11600 | *
|
11601 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
11602 | */
|
11603 | lineHeight?: number | undefined;
|
11604 |
|
11605 | /**
|
11606 | * Background color of the text fregment.
|
11607 | *
|
11608 | * Can be color string, like `'#123234'`,
|
11609 | * `'red'`, `rgba(0,23,11,0.3)'`.
|
11610 | *
|
11611 | * Or image can be used, for example:
|
11612 | *
|
11613 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
11614 | *
|
11615 | * `width` or `height` can be specified
|
11616 | * when using background image, or auto
|
11617 | * adapted by default.
|
11618 | *
|
11619 | * If set as `'auto'`, the color will
|
11620 | * assigned as visual color, such as
|
11621 | * series color.
|
11622 | *
|
11623 | *
|
11624 | * @default
|
11625 | * "transparent"
|
11626 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
11627 | */
|
11628 | backgroundColor?: object | string | undefined;
|
11629 |
|
11630 | /**
|
11631 | * Border color of the text fregment.
|
11632 | *
|
11633 | * If set as `'auto'`, the color will
|
11634 | * assigned as visual color, such as
|
11635 | * series color.
|
11636 | *
|
11637 | *
|
11638 | * @default
|
11639 | * "transparent"
|
11640 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
11641 | */
|
11642 | borderColor?: string | undefined;
|
11643 |
|
11644 | /**
|
11645 | * Border width of the text fregment.
|
11646 | *
|
11647 | *
|
11648 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
11649 | */
|
11650 | borderWidth?: number | undefined;
|
11651 |
|
11652 | /**
|
11653 | * Border radius of the text fregment.
|
11654 | *
|
11655 | *
|
11656 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
11657 | */
|
11658 | borderRadius?: number | undefined;
|
11659 |
|
11660 | /**
|
11661 | * Padding of the text fregment, for
|
11662 | * example:
|
11663 | *
|
11664 | * + `padding: [3, 4, 5, 6]`: represents
|
11665 | * padding of `[top, right, bottom,
|
11666 | * left]`.
|
11667 | * + `padding: 4`: represents `padding:
|
11668 | * [4, 4, 4, 4]`.
|
11669 | * + `padding: [3, 4]`: represents `padding:
|
11670 | * [3, 4, 3, 4]`.
|
11671 | *
|
11672 | * Notice, `width` and `height` specifies
|
11673 | * the width and height of the content,
|
11674 | * without `padding`.
|
11675 | *
|
11676 | *
|
11677 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
|
11678 | */
|
11679 | padding?: any[] | number | undefined;
|
11680 |
|
11681 | /**
|
11682 | * Shadow color of the text block.
|
11683 | *
|
11684 | *
|
11685 | * @default
|
11686 | * "transparent"
|
11687 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
11688 | */
|
11689 | shadowColor?: string | undefined;
|
11690 |
|
11691 | /**
|
11692 | * Show blur of the text block.
|
11693 | *
|
11694 | *
|
11695 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
11696 | */
|
11697 | shadowBlur?: number | undefined;
|
11698 |
|
11699 | /**
|
11700 | * Shadow X offset of the text block.
|
11701 | *
|
11702 | *
|
11703 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
11704 | */
|
11705 | shadowOffsetX?: number | undefined;
|
11706 |
|
11707 | /**
|
11708 | * Shadow Y offset of the text block.
|
11709 | *
|
11710 | *
|
11711 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
11712 | */
|
11713 | shadowOffsetY?: number | undefined;
|
11714 |
|
11715 | /**
|
11716 | * Width of the text block.
|
11717 | * It is the width of the text by default.
|
11718 | * In most cases, there is no need to
|
11719 | * specify it.
|
11720 | * You may want to use it in some cases
|
11721 | * like make simple table or using background
|
11722 | * image (see `backgroundColor`).
|
11723 | *
|
11724 | * Notice, `width` and `height` specifies
|
11725 | * the width and height of the content,
|
11726 | * without `padding`.
|
11727 | *
|
11728 | * `width` can also be percent string,
|
11729 | * like `'100%'`, which represents the
|
11730 | * percent of `contentWidth` (that is,
|
11731 | * the width without `padding`) of its
|
11732 | * container box.
|
11733 | * It is based on `contentWidth` because
|
11734 | * that each text fregment is layout
|
11735 | * based on the `content box`, where
|
11736 | * it makes no sense that calculating
|
11737 | * width based on `outerWith` in prectice.
|
11738 | *
|
11739 | * Notice, `width` and `height` only
|
11740 | * work when `rich` specified.
|
11741 | *
|
11742 | *
|
11743 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
|
11744 | */
|
11745 | width?: number | string | undefined;
|
11746 |
|
11747 | /**
|
11748 | * Height of the text block.
|
11749 | * It is the width of the text by default.
|
11750 | * You may want to use it in some cases
|
11751 | * like using background image (see
|
11752 | * `backgroundColor`).
|
11753 | *
|
11754 | * Notice, `width` and `height` specifies
|
11755 | * the width and height of the content,
|
11756 | * without `padding`.
|
11757 | *
|
11758 | * Notice, `width` and `height` only
|
11759 | * work when `rich` specified.
|
11760 | *
|
11761 | *
|
11762 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
|
11763 | */
|
11764 | height?: number | string | undefined;
|
11765 |
|
11766 | /**
|
11767 | * Storke color of the text.
|
11768 | *
|
11769 | * If set as `'auto'`, the color will
|
11770 | * assigned as visual color, such as
|
11771 | * series color.
|
11772 | *
|
11773 | *
|
11774 | * @default
|
11775 | * "transparent"
|
11776 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
11777 | */
|
11778 | textBorderColor?: string | undefined;
|
11779 |
|
11780 | /**
|
11781 | * Storke line width of the text.
|
11782 | *
|
11783 | *
|
11784 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
11785 | */
|
11786 | textBorderWidth?: number | undefined;
|
11787 |
|
11788 | /**
|
11789 | * Shadow color of the text itself.
|
11790 | *
|
11791 | *
|
11792 | * @default
|
11793 | * "transparent"
|
11794 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
11795 | */
|
11796 | textShadowColor?: string | undefined;
|
11797 |
|
11798 | /**
|
11799 | * Shadow blue of the text itself.
|
11800 | *
|
11801 | *
|
11802 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
11803 | */
|
11804 | textShadowBlur?: number | undefined;
|
11805 |
|
11806 | /**
|
11807 | * Shadow X offset of the text itself.
|
11808 | *
|
11809 | *
|
11810 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
11811 | */
|
11812 | textShadowOffsetX?: number | undefined;
|
11813 |
|
11814 | /**
|
11815 | * Shadow Y offset of the text itself.
|
11816 | *
|
11817 | *
|
11818 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
11819 | */
|
11820 | textShadowOffsetY?: number | undefined;
|
11821 | };
|
11822 | } | undefined;
|
11823 | } | undefined;
|
11824 | } | undefined;
|
11825 | } | undefined;
|
11826 |
|
11827 | /**
|
11828 | * Specify the right-bottom point.
|
11829 | *
|
11830 | *
|
11831 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1
|
11832 | */
|
11833 | 1?: {
|
11834 | /**
|
11835 | * Specify this item is on min or max or average value.
|
11836 | *
|
11837 | * **Options:**
|
11838 | *
|
11839 | * + `'min'` max value。
|
11840 | * + `'max'` min value。
|
11841 | * + `'average'` average value。
|
11842 | *
|
11843 | *
|
11844 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.type
|
11845 | */
|
11846 | type?: string | undefined;
|
11847 |
|
11848 | /**
|
11849 | * Specify the dimension on which min, max, average
|
11850 | * are calculated, available when
|
11851 | * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
|
11852 | * used.
|
11853 | * The value can be `0` (means xAxis, radiusAxis) or
|
11854 | * `1` (means yAxis, angleAxis), using the dimension
|
11855 | * of the first axis by default.
|
11856 | *
|
11857 | *
|
11858 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.valueIndex
|
11859 | */
|
11860 | valueIndex?: number | undefined;
|
11861 |
|
11862 | /**
|
11863 | * Specify the dimension on which min, max, average
|
11864 | * are calculated, available when
|
11865 | * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
|
11866 | * used.
|
11867 | * The value can be the name of the dimension (for example,
|
11868 | * the value can be `x`, `angle` in line chart, and
|
11869 | * `open`, `close` in candlestick).
|
11870 | *
|
11871 | *
|
11872 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.valueDim
|
11873 | */
|
11874 | valueDim?: string | undefined;
|
11875 |
|
11876 | /**
|
11877 | * The format is \[start coordinate, end coordinate\],
|
11878 | * where the coordinate system can be `x`, `y` on
|
11879 | * [cartesian](https://echarts.apache.org/en/option.html#grid)
|
11880 | * , or `radius`, `angle` on
|
11881 | * [polar](https://echarts.apache.org/en/option.html#polar)
|
11882 | * .
|
11883 | *
|
11884 | *
|
11885 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.coord
|
11886 | */
|
11887 | coord?: any[] | undefined;
|
11888 |
|
11889 | /**
|
11890 | * Name of the marker, which will display as a label.
|
11891 | *
|
11892 | *
|
11893 | * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markArea.data.1.name
|
11894 | */
|
11895 | name?: string | undefined;
|
11896 |
|
11897 | /**
|
11898 | * x value on screen coordinate system, can be pixel
|
11899 | * number (like `5`), or percent value (like `'20%'`).
|
11900 | *
|
11901 | *
|
11902 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.x
|
11903 | */
|
11904 | x?: number | undefined;
|
11905 |
|
11906 | /**
|
11907 | * y value on screen coordinate system, can be pixel
|
11908 | * number (like `5`), or percent value (like `'20%'`).
|
11909 | *
|
11910 | *
|
11911 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.y
|
11912 | */
|
11913 | y?: number | undefined;
|
11914 |
|
11915 | /**
|
11916 | * value of the item, not necessary.
|
11917 | *
|
11918 | *
|
11919 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.value
|
11920 | */
|
11921 | value?: number | undefined;
|
11922 |
|
11923 | /**
|
11924 | * Style of the item.
|
11925 | * `itemStyle` of start point and end point will be
|
11926 | * merged together.
|
11927 | *
|
11928 | *
|
11929 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle
|
11930 | */
|
11931 | itemStyle?: {
|
11932 | /**
|
11933 | * color.
|
11934 | *
|
11935 | * > Color can be represented in RGB, for example
|
11936 | * `'rgb(128, 128, 128)'`.
|
11937 | * RGBA can be used when you need alpha channel,
|
11938 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
11939 | * You may also use hexadecimal format, for example
|
11940 | * `'#ccc'`.
|
11941 | * Gradient color and texture are also supported
|
11942 | * besides single colors.
|
11943 | * >
|
11944 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle)
|
11945 | *
|
11946 | *
|
11947 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.color
|
11948 | */
|
11949 | color?: EChartOption.Color | undefined;
|
11950 |
|
11951 | /**
|
11952 | * border color, whose format is similar to that
|
11953 | * of `color`.
|
11954 | *
|
11955 | *
|
11956 | * @default
|
11957 | * "#000"
|
11958 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.borderColor
|
11959 | */
|
11960 | borderColor?: EChartOption.Color | undefined;
|
11961 |
|
11962 | /**
|
11963 | * border width.
|
11964 | * No border when it is set to be 0.
|
11965 | *
|
11966 | *
|
11967 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.borderWidth
|
11968 | */
|
11969 | borderWidth?: number | undefined;
|
11970 |
|
11971 | /**
|
11972 | * Border type, which can be `'solid'`, `'dashed'`,
|
11973 | * or `'dotted'`. `'solid'` by default.
|
11974 | *
|
11975 | *
|
11976 | * @default
|
11977 | * "solid"
|
11978 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.borderType
|
11979 | */
|
11980 | borderType?: string | undefined;
|
11981 |
|
11982 | /**
|
11983 | * Size of shadow blur.
|
11984 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
11985 | * `shadowOffsetY` to set shadow to component.
|
11986 | *
|
11987 | * For example:
|
11988 | *
|
11989 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle)
|
11990 | *
|
11991 | *
|
11992 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowBlur
|
11993 | */
|
11994 | shadowBlur?: number | undefined;
|
11995 |
|
11996 | /**
|
11997 | * Shadow color. Support same format as `color`.
|
11998 | *
|
11999 | *
|
12000 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowColor
|
12001 | */
|
12002 | shadowColor?: EChartOption.Color | undefined;
|
12003 |
|
12004 | /**
|
12005 | * Offset distance on the horizontal direction of
|
12006 | * shadow.
|
12007 | *
|
12008 | *
|
12009 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowOffsetX
|
12010 | */
|
12011 | shadowOffsetX?: number | undefined;
|
12012 |
|
12013 | /**
|
12014 | * Offset distance on the vertical direction of
|
12015 | * shadow.
|
12016 | *
|
12017 | *
|
12018 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowOffsetY
|
12019 | */
|
12020 | shadowOffsetY?: number | undefined;
|
12021 |
|
12022 | /**
|
12023 | * Opacity of the component.
|
12024 | * Supports value from 0 to 1, and the component
|
12025 | * will not be drawn when set to 0.
|
12026 | *
|
12027 | *
|
12028 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.opacity
|
12029 | */
|
12030 | opacity?: number | undefined;
|
12031 |
|
12032 | /**
|
12033 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis
|
12034 | */
|
12035 | emphasis?: {
|
12036 | /**
|
12037 | * color.
|
12038 | *
|
12039 | * > Color can be represented in RGB, for example
|
12040 | * `'rgb(128, 128, 128)'`.
|
12041 | * RGBA can be used when you need alpha channel,
|
12042 | * for example `'rgba(128, 128, 128, 0.5)'`.
|
12043 | * You may also use hexadecimal format, for
|
12044 | * example `'#ccc'`.
|
12045 | * Gradient color and texture are also supported
|
12046 | * besides single colors.
|
12047 | * >
|
12048 | * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle.emphasis)
|
12049 | *
|
12050 | *
|
12051 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.color
|
12052 | */
|
12053 | color?: EChartOption.Color | undefined;
|
12054 |
|
12055 | /**
|
12056 | * border color, whose format is similar to
|
12057 | * that of `color`.
|
12058 | *
|
12059 | *
|
12060 | * @default
|
12061 | * "#000"
|
12062 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.borderColor
|
12063 | */
|
12064 | borderColor?: EChartOption.Color | undefined;
|
12065 |
|
12066 | /**
|
12067 | * border width.
|
12068 | * No border when it is set to be 0.
|
12069 | *
|
12070 | *
|
12071 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.borderWidth
|
12072 | */
|
12073 | borderWidth?: number | undefined;
|
12074 |
|
12075 | /**
|
12076 | * Border type, which can be `'solid'`, `'dashed'`,
|
12077 | * or `'dotted'`. `'solid'` by default.
|
12078 | *
|
12079 | *
|
12080 | * @default
|
12081 | * "solid"
|
12082 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.borderType
|
12083 | */
|
12084 | borderType?: string | undefined;
|
12085 |
|
12086 | /**
|
12087 | * Size of shadow blur.
|
12088 | * This attribute should be used along with
|
12089 | * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
|
12090 | * to set shadow to component.
|
12091 | *
|
12092 | * For example:
|
12093 | *
|
12094 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle.emphasis)
|
12095 | *
|
12096 | *
|
12097 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowBlur
|
12098 | */
|
12099 | shadowBlur?: number | undefined;
|
12100 |
|
12101 | /**
|
12102 | * Shadow color.
|
12103 | * Support same format as `color`.
|
12104 | *
|
12105 | *
|
12106 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowColor
|
12107 | */
|
12108 | shadowColor?: EChartOption.Color | undefined;
|
12109 |
|
12110 | /**
|
12111 | * Offset distance on the horizontal direction
|
12112 | * of shadow.
|
12113 | *
|
12114 | *
|
12115 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowOffsetX
|
12116 | */
|
12117 | shadowOffsetX?: number | undefined;
|
12118 |
|
12119 | /**
|
12120 | * Offset distance on the vertical direction
|
12121 | * of shadow.
|
12122 | *
|
12123 | *
|
12124 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowOffsetY
|
12125 | */
|
12126 | shadowOffsetY?: number | undefined;
|
12127 |
|
12128 | /**
|
12129 | * Opacity of the component.
|
12130 | * Supports value from 0 to 1, and the component
|
12131 | * will not be drawn when set to 0.
|
12132 | *
|
12133 | *
|
12134 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.opacity
|
12135 | */
|
12136 | opacity?: number | undefined;
|
12137 | } | undefined;
|
12138 | } | undefined;
|
12139 |
|
12140 | /**
|
12141 | * Label style of the item.
|
12142 | * Label style of start point and end point will be
|
12143 | * merged together.
|
12144 | *
|
12145 | *
|
12146 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label
|
12147 | */
|
12148 | label?: {
|
12149 | /**
|
12150 | * Whether to show label.
|
12151 | *
|
12152 | *
|
12153 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.show
|
12154 | */
|
12155 | show?: boolean | undefined;
|
12156 |
|
12157 | /**
|
12158 | * Label position.
|
12159 | *
|
12160 | * **Followings are the options:**
|
12161 | *
|
12162 | * + \[x, y\]
|
12163 | *
|
12164 | * Use relative percentage, or absolute pixel values
|
12165 | * to represent position of label relative to top-left
|
12166 | * corner of bounding box. For example:
|
12167 | *
|
12168 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
|
12169 | *
|
12170 | * + 'top'
|
12171 | *
|
12172 | * + 'left'
|
12173 | * + 'right'
|
12174 | * + 'bottom'
|
12175 | * + 'inside'
|
12176 | * + 'insideLeft'
|
12177 | * + 'insideRight'
|
12178 | * + 'insideTop'
|
12179 | * + 'insideBottom'
|
12180 | * + 'insideTopLeft'
|
12181 | * + 'insideBottomLeft'
|
12182 | * + 'insideTopRight'
|
12183 | * + 'insideBottomRight'
|
12184 | *
|
12185 | * See:
|
12186 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
12187 | * .
|
12188 | *
|
12189 | *
|
12190 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.position
|
12191 | */
|
12192 | position?: any[] | string | undefined;
|
12193 |
|
12194 | /**
|
12195 | * Distance to the host graphic element.
|
12196 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
12197 | *
|
12198 | * See:
|
12199 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
12200 | * .
|
12201 | *
|
12202 | *
|
12203 | * @default
|
12204 | * 5
|
12205 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.distance
|
12206 | */
|
12207 | distance?: number | undefined;
|
12208 |
|
12209 | /**
|
12210 | * Rotate label, from -90 degree to 90, positive
|
12211 | * value represents rotate anti-clockwise.
|
12212 | *
|
12213 | * See:
|
12214 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
12215 | * .
|
12216 | *
|
12217 | *
|
12218 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rotate
|
12219 | */
|
12220 | rotate?: number | undefined;
|
12221 |
|
12222 | /**
|
12223 | * Whether to move text slightly.
|
12224 | * For example: `[30, 40]` means move `30` horizontally
|
12225 | * and move `40` vertically.
|
12226 | *
|
12227 | *
|
12228 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.offset
|
12229 | */
|
12230 | offset?: any[] | undefined;
|
12231 |
|
12232 | /**
|
12233 | * text color.
|
12234 | *
|
12235 | * If set as `'auto'`, the color will assigned as
|
12236 | * visual color, such as series color.
|
12237 | *
|
12238 | *
|
12239 | * @default
|
12240 | * ""#fff""
|
12241 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.color
|
12242 | */
|
12243 | color?: string | undefined;
|
12244 |
|
12245 | /**
|
12246 | * font style
|
12247 | *
|
12248 | * Options are:
|
12249 | *
|
12250 | * + `'normal'`
|
12251 | * + `'italic'`
|
12252 | * + `'oblique'`
|
12253 | *
|
12254 | *
|
12255 | * @default
|
12256 | * "normal"
|
12257 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontStyle
|
12258 | */
|
12259 | fontStyle?: string | undefined;
|
12260 |
|
12261 | /**
|
12262 | * font thick weight
|
12263 | *
|
12264 | * Options are:
|
12265 | *
|
12266 | * + `'normal'`
|
12267 | * + `'bold'`
|
12268 | * + `'bolder'`
|
12269 | * + `'lighter'`
|
12270 | * + 100 | 200 | 300 | 400...
|
12271 | *
|
12272 | *
|
12273 | * @default
|
12274 | * "normal"
|
12275 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontWeight
|
12276 | */
|
12277 | fontWeight?: string | number | undefined;
|
12278 |
|
12279 | /**
|
12280 | * font family
|
12281 | *
|
12282 | * Can also be 'serif' , 'monospace', ...
|
12283 | *
|
12284 | *
|
12285 | * @default
|
12286 | * "sans-serif"
|
12287 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontFamily
|
12288 | */
|
12289 | fontFamily?: string | undefined;
|
12290 |
|
12291 | /**
|
12292 | * font size
|
12293 | *
|
12294 | *
|
12295 | * @default
|
12296 | * 12
|
12297 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontSize
|
12298 | */
|
12299 | fontSize?: number | undefined;
|
12300 |
|
12301 | /**
|
12302 | * Horizontal alignment of text, automatic by default.
|
12303 | *
|
12304 | * Options are:
|
12305 | *
|
12306 | * + `'left'`
|
12307 | * + `'center'`
|
12308 | * + `'right'`
|
12309 | *
|
12310 | * If `align` is not set in `rich`, `align` in parent
|
12311 | * level will be used. For example:
|
12312 | *
|
12313 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
|
12314 | *
|
12315 | *
|
12316 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.align
|
12317 | */
|
12318 | align?: string | undefined;
|
12319 |
|
12320 | /**
|
12321 | * Vertical alignment of text, automatic by default.
|
12322 | *
|
12323 | * Options are:
|
12324 | *
|
12325 | * + `'top'`
|
12326 | * + `'middle'`
|
12327 | * + `'bottom'`
|
12328 | *
|
12329 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
12330 | * in parent level will be used. For example:
|
12331 | *
|
12332 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
|
12333 | *
|
12334 | *
|
12335 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.verticalAlign
|
12336 | */
|
12337 | verticalAlign?: string | undefined;
|
12338 |
|
12339 | /**
|
12340 | * Line height of the text fregment.
|
12341 | *
|
12342 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
12343 | * in parent level will be used. For example:
|
12344 | *
|
12345 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
|
12346 | *
|
12347 | *
|
12348 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.lineHeight
|
12349 | */
|
12350 | lineHeight?: number | undefined;
|
12351 |
|
12352 | /**
|
12353 | * Background color of the text fregment.
|
12354 | *
|
12355 | * Can be color string, like `'#123234'`, `'red'`,
|
12356 | * `rgba(0,23,11,0.3)'`.
|
12357 | *
|
12358 | * Or image can be used, for example:
|
12359 | *
|
12360 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
|
12361 | *
|
12362 | * `width` or `height` can be specified when using
|
12363 | * background image, or auto adapted by default.
|
12364 | *
|
12365 | * If set as `'auto'`, the color will assigned as
|
12366 | * visual color, such as series color.
|
12367 | *
|
12368 | *
|
12369 | * @default
|
12370 | * "transparent"
|
12371 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.backgroundColor
|
12372 | */
|
12373 | backgroundColor?: object | string | undefined;
|
12374 |
|
12375 | /**
|
12376 | * Border color of the text fregment.
|
12377 | *
|
12378 | * If set as `'auto'`, the color will assigned as
|
12379 | * visual color, such as series color.
|
12380 | *
|
12381 | *
|
12382 | * @default
|
12383 | * "transparent"
|
12384 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.borderColor
|
12385 | */
|
12386 | borderColor?: string | undefined;
|
12387 |
|
12388 | /**
|
12389 | * Border width of the text fregment.
|
12390 | *
|
12391 | *
|
12392 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.borderWidth
|
12393 | */
|
12394 | borderWidth?: number | undefined;
|
12395 |
|
12396 | /**
|
12397 | * Border radius of the text fregment.
|
12398 | *
|
12399 | *
|
12400 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.borderRadius
|
12401 | */
|
12402 | borderRadius?: number | undefined;
|
12403 |
|
12404 | /**
|
12405 | * Padding of the text fregment, for example:
|
12406 | *
|
12407 | * + `padding: [3, 4, 5, 6]`: represents padding
|
12408 | * of `[top, right, bottom, left]`.
|
12409 | * + `padding: 4`: represents `padding: [4, 4, 4,
|
12410 | * 4]`.
|
12411 | * + `padding: [3, 4]`: represents `padding: [3,
|
12412 | * 4, 3, 4]`.
|
12413 | *
|
12414 | * Notice, `width` and `height` specifies the width
|
12415 | * and height of the content, without `padding`.
|
12416 | *
|
12417 | *
|
12418 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.padding
|
12419 | */
|
12420 | padding?: any[] | number | undefined;
|
12421 |
|
12422 | /**
|
12423 | * Shadow color of the text block.
|
12424 | *
|
12425 | *
|
12426 | * @default
|
12427 | * "transparent"
|
12428 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowColor
|
12429 | */
|
12430 | shadowColor?: string | undefined;
|
12431 |
|
12432 | /**
|
12433 | * Show blur of the text block.
|
12434 | *
|
12435 | *
|
12436 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowBlur
|
12437 | */
|
12438 | shadowBlur?: number | undefined;
|
12439 |
|
12440 | /**
|
12441 | * Shadow X offset of the text block.
|
12442 | *
|
12443 | *
|
12444 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowOffsetX
|
12445 | */
|
12446 | shadowOffsetX?: number | undefined;
|
12447 |
|
12448 | /**
|
12449 | * Shadow Y offset of the text block.
|
12450 | *
|
12451 | *
|
12452 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowOffsetY
|
12453 | */
|
12454 | shadowOffsetY?: number | undefined;
|
12455 |
|
12456 | /**
|
12457 | * Width of the text block.
|
12458 | * It is the width of the text by default.
|
12459 | * In most cases, there is no need to specify it.
|
12460 | * You may want to use it in some cases like make
|
12461 | * simple table or using background image (see `backgroundColor`).
|
12462 | *
|
12463 | * Notice, `width` and `height` specifies the width
|
12464 | * and height of the content, without `padding`.
|
12465 | *
|
12466 | * `width` can also be percent string, like `'100%'`,
|
12467 | * which represents the percent of `contentWidth`
|
12468 | * (that is, the width without `padding`) of its
|
12469 | * container box.
|
12470 | * It is based on `contentWidth` because that each
|
12471 | * text fregment is layout based on the `content
|
12472 | * box`, where it makes no sense that calculating
|
12473 | * width based on `outerWith` in prectice.
|
12474 | *
|
12475 | * Notice, `width` and `height` only work when `rich`
|
12476 | * specified.
|
12477 | *
|
12478 | *
|
12479 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.width
|
12480 | */
|
12481 | width?: number | string | undefined;
|
12482 |
|
12483 | /**
|
12484 | * Height of the text block.
|
12485 | * It is the width of the text by default.
|
12486 | * You may want to use it in some cases like using
|
12487 | * background image (see `backgroundColor`).
|
12488 | *
|
12489 | * Notice, `width` and `height` specifies the width
|
12490 | * and height of the content, without `padding`.
|
12491 | *
|
12492 | * Notice, `width` and `height` only work when `rich`
|
12493 | * specified.
|
12494 | *
|
12495 | *
|
12496 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.height
|
12497 | */
|
12498 | height?: number | string | undefined;
|
12499 |
|
12500 | /**
|
12501 | * Storke color of the text.
|
12502 | *
|
12503 | * If set as `'auto'`, the color will assigned as
|
12504 | * visual color, such as series color.
|
12505 | *
|
12506 | *
|
12507 | * @default
|
12508 | * "transparent"
|
12509 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textBorderColor
|
12510 | */
|
12511 | textBorderColor?: string | undefined;
|
12512 |
|
12513 | /**
|
12514 | * Storke line width of the text.
|
12515 | *
|
12516 | *
|
12517 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textBorderWidth
|
12518 | */
|
12519 | textBorderWidth?: number | undefined;
|
12520 |
|
12521 | /**
|
12522 | * Shadow color of the text itself.
|
12523 | *
|
12524 | *
|
12525 | * @default
|
12526 | * "transparent"
|
12527 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowColor
|
12528 | */
|
12529 | textShadowColor?: string | undefined;
|
12530 |
|
12531 | /**
|
12532 | * Shadow blue of the text itself.
|
12533 | *
|
12534 | *
|
12535 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowBlur
|
12536 | */
|
12537 | textShadowBlur?: number | undefined;
|
12538 |
|
12539 | /**
|
12540 | * Shadow X offset of the text itself.
|
12541 | *
|
12542 | *
|
12543 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowOffsetX
|
12544 | */
|
12545 | textShadowOffsetX?: number | undefined;
|
12546 |
|
12547 | /**
|
12548 | * Shadow Y offset of the text itself.
|
12549 | *
|
12550 | *
|
12551 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowOffsetY
|
12552 | */
|
12553 | textShadowOffsetY?: number | undefined;
|
12554 |
|
12555 | /**
|
12556 | * "Rich text styles" can be defined in this `rich`
|
12557 | * property. For example:
|
12558 | *
|
12559 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
|
12560 | *
|
12561 | * For more details, see
|
12562 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
12563 | * please.
|
12564 | *
|
12565 | *
|
12566 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich
|
12567 | */
|
12568 | rich?: {
|
12569 | /**
|
12570 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E
|
12571 | */
|
12572 | [userStyle: string]: {
|
12573 | /**
|
12574 | * text color.
|
12575 | *
|
12576 | * If set as `'auto'`, the color will assigned
|
12577 | * as visual color, such as series color.
|
12578 | *
|
12579 | *
|
12580 | * @default
|
12581 | * ""#fff""
|
12582 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
12583 | */
|
12584 | color?: string | undefined;
|
12585 |
|
12586 | /**
|
12587 | * font style
|
12588 | *
|
12589 | * Options are:
|
12590 | *
|
12591 | * + `'normal'`
|
12592 | * + `'italic'`
|
12593 | * + `'oblique'`
|
12594 | *
|
12595 | *
|
12596 | * @default
|
12597 | * "normal"
|
12598 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
12599 | */
|
12600 | fontStyle?: string | undefined;
|
12601 |
|
12602 | /**
|
12603 | * font thick weight
|
12604 | *
|
12605 | * Options are:
|
12606 | *
|
12607 | * + `'normal'`
|
12608 | * + `'bold'`
|
12609 | * + `'bolder'`
|
12610 | * + `'lighter'`
|
12611 | * + 100 | 200 | 300 | 400...
|
12612 | *
|
12613 | *
|
12614 | * @default
|
12615 | * "normal"
|
12616 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
12617 | */
|
12618 | fontWeight?: string | number | undefined;
|
12619 |
|
12620 | /**
|
12621 | * font family
|
12622 | *
|
12623 | * Can also be 'serif' , 'monospace',
|
12624 | * ...
|
12625 | *
|
12626 | *
|
12627 | * @default
|
12628 | * "sans-serif"
|
12629 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
12630 | */
|
12631 | fontFamily?: string | undefined;
|
12632 |
|
12633 | /**
|
12634 | * font size
|
12635 | *
|
12636 | *
|
12637 | * @default
|
12638 | * 12
|
12639 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
12640 | */
|
12641 | fontSize?: number | undefined;
|
12642 |
|
12643 | /**
|
12644 | * Horizontal alignment of text, automatic
|
12645 | * by default.
|
12646 | *
|
12647 | * Options are:
|
12648 | *
|
12649 | * + `'left'`
|
12650 | * + `'center'`
|
12651 | * + `'right'`
|
12652 | *
|
12653 | * If `align` is not set in `rich`, `align`
|
12654 | * in parent level will be used.
|
12655 | * For example:
|
12656 | *
|
12657 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
|
12658 | *
|
12659 | *
|
12660 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
12661 | */
|
12662 | align?: string | undefined;
|
12663 |
|
12664 | /**
|
12665 | * Vertical alignment of text, automatic
|
12666 | * by default.
|
12667 | *
|
12668 | * Options are:
|
12669 | *
|
12670 | * + `'top'`
|
12671 | * + `'middle'`
|
12672 | * + `'bottom'`
|
12673 | *
|
12674 | * If `verticalAlign` is not set in `rich`,
|
12675 | * `verticalAlign` in parent level will
|
12676 | * be used. For example:
|
12677 | *
|
12678 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
|
12679 | *
|
12680 | *
|
12681 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
12682 | */
|
12683 | verticalAlign?: string | undefined;
|
12684 |
|
12685 | /**
|
12686 | * Line height of the text fregment.
|
12687 | *
|
12688 | * If `lineHeight` is not set in `rich`,
|
12689 | * `lineHeight` in parent level will be
|
12690 | * used. For example:
|
12691 | *
|
12692 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
|
12693 | *
|
12694 | *
|
12695 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
12696 | */
|
12697 | lineHeight?: number | undefined;
|
12698 |
|
12699 | /**
|
12700 | * Background color of the text fregment.
|
12701 | *
|
12702 | * Can be color string, like `'#123234'`,
|
12703 | * `'red'`, `rgba(0,23,11,0.3)'`.
|
12704 | *
|
12705 | * Or image can be used, for example:
|
12706 | *
|
12707 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
|
12708 | *
|
12709 | * `width` or `height` can be specified
|
12710 | * when using background image, or auto
|
12711 | * adapted by default.
|
12712 | *
|
12713 | * If set as `'auto'`, the color will assigned
|
12714 | * as visual color, such as series color.
|
12715 | *
|
12716 | *
|
12717 | * @default
|
12718 | * "transparent"
|
12719 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
12720 | */
|
12721 | backgroundColor?: object | string | undefined;
|
12722 |
|
12723 | /**
|
12724 | * Border color of the text fregment.
|
12725 | *
|
12726 | * If set as `'auto'`, the color will assigned
|
12727 | * as visual color, such as series color.
|
12728 | *
|
12729 | *
|
12730 | * @default
|
12731 | * "transparent"
|
12732 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
12733 | */
|
12734 | borderColor?: string | undefined;
|
12735 |
|
12736 | /**
|
12737 | * Border width of the text fregment.
|
12738 | *
|
12739 | *
|
12740 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
12741 | */
|
12742 | borderWidth?: number | undefined;
|
12743 |
|
12744 | /**
|
12745 | * Border radius of the text fregment.
|
12746 | *
|
12747 | *
|
12748 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
12749 | */
|
12750 | borderRadius?: number | undefined;
|
12751 |
|
12752 | /**
|
12753 | * Padding of the text fregment, for example:
|
12754 | *
|
12755 | * + `padding: [3, 4, 5, 6]`: represents
|
12756 | * padding of `[top, right, bottom, left]`.
|
12757 | * + `padding: 4`: represents `padding:
|
12758 | * [4, 4, 4, 4]`.
|
12759 | * + `padding: [3, 4]`: represents `padding:
|
12760 | * [3, 4, 3, 4]`.
|
12761 | *
|
12762 | * Notice, `width` and `height` specifies
|
12763 | * the width and height of the content,
|
12764 | * without `padding`.
|
12765 | *
|
12766 | *
|
12767 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
12768 | */
|
12769 | padding?: any[] | number | undefined;
|
12770 |
|
12771 | /**
|
12772 | * Shadow color of the text block.
|
12773 | *
|
12774 | *
|
12775 | * @default
|
12776 | * "transparent"
|
12777 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
12778 | */
|
12779 | shadowColor?: string | undefined;
|
12780 |
|
12781 | /**
|
12782 | * Show blur of the text block.
|
12783 | *
|
12784 | *
|
12785 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
12786 | */
|
12787 | shadowBlur?: number | undefined;
|
12788 |
|
12789 | /**
|
12790 | * Shadow X offset of the text block.
|
12791 | *
|
12792 | *
|
12793 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
12794 | */
|
12795 | shadowOffsetX?: number | undefined;
|
12796 |
|
12797 | /**
|
12798 | * Shadow Y offset of the text block.
|
12799 | *
|
12800 | *
|
12801 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
12802 | */
|
12803 | shadowOffsetY?: number | undefined;
|
12804 |
|
12805 | /**
|
12806 | * Width of the text block.
|
12807 | * It is the width of the text by default.
|
12808 | * In most cases, there is no need to specify
|
12809 | * it.
|
12810 | * You may want to use it in some cases
|
12811 | * like make simple table or using background
|
12812 | * image (see `backgroundColor`).
|
12813 | *
|
12814 | * Notice, `width` and `height` specifies
|
12815 | * the width and height of the content,
|
12816 | * without `padding`.
|
12817 | *
|
12818 | * `width` can also be percent string, like
|
12819 | * `'100%'`, which represents the percent
|
12820 | * of `contentWidth` (that is, the width
|
12821 | * without `padding`) of its container box.
|
12822 | * It is based on `contentWidth` because
|
12823 | * that each text fregment is layout based
|
12824 | * on the `content box`, where it makes
|
12825 | * no sense that calculating width based
|
12826 | * on `outerWith` in prectice.
|
12827 | *
|
12828 | * Notice, `width` and `height` only work
|
12829 | * when `rich` specified.
|
12830 | *
|
12831 | *
|
12832 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
12833 | */
|
12834 | width?: number | string | undefined;
|
12835 |
|
12836 | /**
|
12837 | * Height of the text block.
|
12838 | * It is the width of the text by default.
|
12839 | * You may want to use it in some cases
|
12840 | * like using background image (see `backgroundColor`).
|
12841 | *
|
12842 | * Notice, `width` and `height` specifies
|
12843 | * the width and height of the content,
|
12844 | * without `padding`.
|
12845 | *
|
12846 | * Notice, `width` and `height` only work
|
12847 | * when `rich` specified.
|
12848 | *
|
12849 | *
|
12850 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
12851 | */
|
12852 | height?: number | string | undefined;
|
12853 |
|
12854 | /**
|
12855 | * Storke color of the text.
|
12856 | *
|
12857 | * If set as `'auto'`, the color will assigned
|
12858 | * as visual color, such as series color.
|
12859 | *
|
12860 | *
|
12861 | * @default
|
12862 | * "transparent"
|
12863 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
12864 | */
|
12865 | textBorderColor?: string | undefined;
|
12866 |
|
12867 | /**
|
12868 | * Storke line width of the text.
|
12869 | *
|
12870 | *
|
12871 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
12872 | */
|
12873 | textBorderWidth?: number | undefined;
|
12874 |
|
12875 | /**
|
12876 | * Shadow color of the text itself.
|
12877 | *
|
12878 | *
|
12879 | * @default
|
12880 | * "transparent"
|
12881 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
12882 | */
|
12883 | textShadowColor?: string | undefined;
|
12884 |
|
12885 | /**
|
12886 | * Shadow blue of the text itself.
|
12887 | *
|
12888 | *
|
12889 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
12890 | */
|
12891 | textShadowBlur?: number | undefined;
|
12892 |
|
12893 | /**
|
12894 | * Shadow X offset of the text itself.
|
12895 | *
|
12896 | *
|
12897 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
12898 | */
|
12899 | textShadowOffsetX?: number | undefined;
|
12900 |
|
12901 | /**
|
12902 | * Shadow Y offset of the text itself.
|
12903 | *
|
12904 | *
|
12905 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
12906 | */
|
12907 | textShadowOffsetY?: number | undefined;
|
12908 | };
|
12909 | } | undefined;
|
12910 |
|
12911 | /**
|
12912 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis
|
12913 | */
|
12914 | emphasis?: {
|
12915 | /**
|
12916 | * Whether to show label.
|
12917 | *
|
12918 | *
|
12919 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.show
|
12920 | */
|
12921 | show?: boolean | undefined;
|
12922 |
|
12923 | /**
|
12924 | * Label position.
|
12925 | *
|
12926 | * **Followings are the options:**
|
12927 | *
|
12928 | * + \[x, y\]
|
12929 | *
|
12930 | * Use relative percentage, or absolute pixel
|
12931 | * values to represent position of label relative
|
12932 | * to top-left corner of bounding box.
|
12933 | * For example:
|
12934 | *
|
12935 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
|
12936 | *
|
12937 | * + 'top'
|
12938 | *
|
12939 | * + 'left'
|
12940 | * + 'right'
|
12941 | * + 'bottom'
|
12942 | * + 'inside'
|
12943 | * + 'insideLeft'
|
12944 | * + 'insideRight'
|
12945 | * + 'insideTop'
|
12946 | * + 'insideBottom'
|
12947 | * + 'insideTopLeft'
|
12948 | * + 'insideBottomLeft'
|
12949 | * + 'insideTopRight'
|
12950 | * + 'insideBottomRight'
|
12951 | *
|
12952 | * See:
|
12953 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
12954 | * .
|
12955 | *
|
12956 | *
|
12957 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.position
|
12958 | */
|
12959 | position?: any[] | string | undefined;
|
12960 |
|
12961 | /**
|
12962 | * Distance to the host graphic element.
|
12963 | * Works when position is string value (like
|
12964 | * `'top'`、`'insideRight'`).
|
12965 | *
|
12966 | * See:
|
12967 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
12968 | * .
|
12969 | *
|
12970 | *
|
12971 | * @default
|
12972 | * 5
|
12973 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.distance
|
12974 | */
|
12975 | distance?: number | undefined;
|
12976 |
|
12977 | /**
|
12978 | * Rotate label, from -90 degree to 90, positive
|
12979 | * value represents rotate anti-clockwise.
|
12980 | *
|
12981 | * See:
|
12982 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
12983 | * .
|
12984 | *
|
12985 | *
|
12986 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rotate
|
12987 | */
|
12988 | rotate?: number | undefined;
|
12989 |
|
12990 | /**
|
12991 | * Whether to move text slightly.
|
12992 | * For example: `[30, 40]` means move `30` horizontally
|
12993 | * and move `40` vertically.
|
12994 | *
|
12995 | *
|
12996 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.offset
|
12997 | */
|
12998 | offset?: any[] | undefined;
|
12999 |
|
13000 | /**
|
13001 | * text color.
|
13002 | *
|
13003 | * If set as `'auto'`, the color will assigned
|
13004 | * as visual color, such as series color.
|
13005 | *
|
13006 | *
|
13007 | * @default
|
13008 | * ""#fff""
|
13009 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.color
|
13010 | */
|
13011 | color?: string | undefined;
|
13012 |
|
13013 | /**
|
13014 | * font style
|
13015 | *
|
13016 | * Options are:
|
13017 | *
|
13018 | * + `'normal'`
|
13019 | * + `'italic'`
|
13020 | * + `'oblique'`
|
13021 | *
|
13022 | *
|
13023 | * @default
|
13024 | * "normal"
|
13025 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontStyle
|
13026 | */
|
13027 | fontStyle?: string | undefined;
|
13028 |
|
13029 | /**
|
13030 | * font thick weight
|
13031 | *
|
13032 | * Options are:
|
13033 | *
|
13034 | * + `'normal'`
|
13035 | * + `'bold'`
|
13036 | * + `'bolder'`
|
13037 | * + `'lighter'`
|
13038 | * + 100 | 200 | 300 | 400...
|
13039 | *
|
13040 | *
|
13041 | * @default
|
13042 | * "normal"
|
13043 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontWeight
|
13044 | */
|
13045 | fontWeight?: string | number | undefined;
|
13046 |
|
13047 | /**
|
13048 | * font family
|
13049 | *
|
13050 | * Can also be 'serif' , 'monospace', ...
|
13051 | *
|
13052 | *
|
13053 | * @default
|
13054 | * "sans-serif"
|
13055 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontFamily
|
13056 | */
|
13057 | fontFamily?: string | undefined;
|
13058 |
|
13059 | /**
|
13060 | * font size
|
13061 | *
|
13062 | *
|
13063 | * @default
|
13064 | * 12
|
13065 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontSize
|
13066 | */
|
13067 | fontSize?: number | undefined;
|
13068 |
|
13069 | /**
|
13070 | * Horizontal alignment of text, automatic by
|
13071 | * default.
|
13072 | *
|
13073 | * Options are:
|
13074 | *
|
13075 | * + `'left'`
|
13076 | * + `'center'`
|
13077 | * + `'right'`
|
13078 | *
|
13079 | * If `align` is not set in `rich`, `align`
|
13080 | * in parent level will be used.
|
13081 | * For example:
|
13082 | *
|
13083 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
|
13084 | *
|
13085 | *
|
13086 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.align
|
13087 | */
|
13088 | align?: string | undefined;
|
13089 |
|
13090 | /**
|
13091 | * Vertical alignment of text, automatic by
|
13092 | * default.
|
13093 | *
|
13094 | * Options are:
|
13095 | *
|
13096 | * + `'top'`
|
13097 | * + `'middle'`
|
13098 | * + `'bottom'`
|
13099 | *
|
13100 | * If `verticalAlign` is not set in `rich`,
|
13101 | * `verticalAlign` in parent level will be used.
|
13102 | * For example:
|
13103 | *
|
13104 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
|
13105 | *
|
13106 | *
|
13107 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.verticalAlign
|
13108 | */
|
13109 | verticalAlign?: string | undefined;
|
13110 |
|
13111 | /**
|
13112 | * Line height of the text fregment.
|
13113 | *
|
13114 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
13115 | * in parent level will be used.
|
13116 | * For example:
|
13117 | *
|
13118 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
|
13119 | *
|
13120 | *
|
13121 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.lineHeight
|
13122 | */
|
13123 | lineHeight?: number | undefined;
|
13124 |
|
13125 | /**
|
13126 | * Background color of the text fregment.
|
13127 | *
|
13128 | * Can be color string, like `'#123234'`, `'red'`,
|
13129 | * `rgba(0,23,11,0.3)'`.
|
13130 | *
|
13131 | * Or image can be used, for example:
|
13132 | *
|
13133 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
|
13134 | *
|
13135 | * `width` or `height` can be specified when
|
13136 | * using background image, or auto adapted by
|
13137 | * default.
|
13138 | *
|
13139 | * If set as `'auto'`, the color will assigned
|
13140 | * as visual color, such as series color.
|
13141 | *
|
13142 | *
|
13143 | * @default
|
13144 | * "transparent"
|
13145 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.backgroundColor
|
13146 | */
|
13147 | backgroundColor?: object | string | undefined;
|
13148 |
|
13149 | /**
|
13150 | * Border color of the text fregment.
|
13151 | *
|
13152 | * If set as `'auto'`, the color will assigned
|
13153 | * as visual color, such as series color.
|
13154 | *
|
13155 | *
|
13156 | * @default
|
13157 | * "transparent"
|
13158 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.borderColor
|
13159 | */
|
13160 | borderColor?: string | undefined;
|
13161 |
|
13162 | /**
|
13163 | * Border width of the text fregment.
|
13164 | *
|
13165 | *
|
13166 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.borderWidth
|
13167 | */
|
13168 | borderWidth?: number | undefined;
|
13169 |
|
13170 | /**
|
13171 | * Border radius of the text fregment.
|
13172 | *
|
13173 | *
|
13174 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.borderRadius
|
13175 | */
|
13176 | borderRadius?: number | undefined;
|
13177 |
|
13178 | /**
|
13179 | * Padding of the text fregment, for example:
|
13180 | *
|
13181 | * + `padding: [3, 4, 5, 6]`: represents padding
|
13182 | * of `[top, right, bottom, left]`.
|
13183 | * + `padding: 4`: represents `padding: [4,
|
13184 | * 4, 4, 4]`.
|
13185 | * + `padding: [3, 4]`: represents `padding:
|
13186 | * [3, 4, 3, 4]`.
|
13187 | *
|
13188 | * Notice, `width` and `height` specifies the
|
13189 | * width and height of the content, without
|
13190 | * `padding`.
|
13191 | *
|
13192 | *
|
13193 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.padding
|
13194 | */
|
13195 | padding?: any[] | number | undefined;
|
13196 |
|
13197 | /**
|
13198 | * Shadow color of the text block.
|
13199 | *
|
13200 | *
|
13201 | * @default
|
13202 | * "transparent"
|
13203 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowColor
|
13204 | */
|
13205 | shadowColor?: string | undefined;
|
13206 |
|
13207 | /**
|
13208 | * Show blur of the text block.
|
13209 | *
|
13210 | *
|
13211 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowBlur
|
13212 | */
|
13213 | shadowBlur?: number | undefined;
|
13214 |
|
13215 | /**
|
13216 | * Shadow X offset of the text block.
|
13217 | *
|
13218 | *
|
13219 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowOffsetX
|
13220 | */
|
13221 | shadowOffsetX?: number | undefined;
|
13222 |
|
13223 | /**
|
13224 | * Shadow Y offset of the text block.
|
13225 | *
|
13226 | *
|
13227 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowOffsetY
|
13228 | */
|
13229 | shadowOffsetY?: number | undefined;
|
13230 |
|
13231 | /**
|
13232 | * Width of the text block.
|
13233 | * It is the width of the text by default.
|
13234 | * In most cases, there is no need to specify
|
13235 | * it.
|
13236 | * You may want to use it in some cases like
|
13237 | * make simple table or using background image
|
13238 | * (see `backgroundColor`).
|
13239 | *
|
13240 | * Notice, `width` and `height` specifies the
|
13241 | * width and height of the content, without
|
13242 | * `padding`.
|
13243 | *
|
13244 | * `width` can also be percent string, like
|
13245 | * `'100%'`, which represents the percent of
|
13246 | * `contentWidth` (that is, the width without
|
13247 | * `padding`) of its container box.
|
13248 | * It is based on `contentWidth` because that
|
13249 | * each text fregment is layout based on the
|
13250 | * `content box`, where it makes no sense that
|
13251 | * calculating width based on `outerWith` in
|
13252 | * prectice.
|
13253 | *
|
13254 | * Notice, `width` and `height` only work when
|
13255 | * `rich` specified.
|
13256 | *
|
13257 | *
|
13258 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.width
|
13259 | */
|
13260 | width?: number | string | undefined;
|
13261 |
|
13262 | /**
|
13263 | * Height of the text block.
|
13264 | * It is the width of the text by default.
|
13265 | * You may want to use it in some cases like
|
13266 | * using background image (see `backgroundColor`).
|
13267 | *
|
13268 | * Notice, `width` and `height` specifies the
|
13269 | * width and height of the content, without
|
13270 | * `padding`.
|
13271 | *
|
13272 | * Notice, `width` and `height` only work when
|
13273 | * `rich` specified.
|
13274 | *
|
13275 | *
|
13276 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.height
|
13277 | */
|
13278 | height?: number | string | undefined;
|
13279 |
|
13280 | /**
|
13281 | * Storke color of the text.
|
13282 | *
|
13283 | * If set as `'auto'`, the color will assigned
|
13284 | * as visual color, such as series color.
|
13285 | *
|
13286 | *
|
13287 | * @default
|
13288 | * "transparent"
|
13289 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textBorderColor
|
13290 | */
|
13291 | textBorderColor?: string | undefined;
|
13292 |
|
13293 | /**
|
13294 | * Storke line width of the text.
|
13295 | *
|
13296 | *
|
13297 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textBorderWidth
|
13298 | */
|
13299 | textBorderWidth?: number | undefined;
|
13300 |
|
13301 | /**
|
13302 | * Shadow color of the text itself.
|
13303 | *
|
13304 | *
|
13305 | * @default
|
13306 | * "transparent"
|
13307 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowColor
|
13308 | */
|
13309 | textShadowColor?: string | undefined;
|
13310 |
|
13311 | /**
|
13312 | * Shadow blue of the text itself.
|
13313 | *
|
13314 | *
|
13315 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowBlur
|
13316 | */
|
13317 | textShadowBlur?: number | undefined;
|
13318 |
|
13319 | /**
|
13320 | * Shadow X offset of the text itself.
|
13321 | *
|
13322 | *
|
13323 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowOffsetX
|
13324 | */
|
13325 | textShadowOffsetX?: number | undefined;
|
13326 |
|
13327 | /**
|
13328 | * Shadow Y offset of the text itself.
|
13329 | *
|
13330 | *
|
13331 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowOffsetY
|
13332 | */
|
13333 | textShadowOffsetY?: number | undefined;
|
13334 |
|
13335 | /**
|
13336 | * "Rich text styles" can be defined in this
|
13337 | * `rich` property. For example:
|
13338 | *
|
13339 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
|
13340 | *
|
13341 | * For more details, see
|
13342 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
13343 | * please.
|
13344 | *
|
13345 | *
|
13346 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich
|
13347 | */
|
13348 | rich?: {
|
13349 | /**
|
13350 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
|
13351 | */
|
13352 | [userStyle: string]: {
|
13353 | /**
|
13354 | * text color.
|
13355 | *
|
13356 | * If set as `'auto'`, the color will
|
13357 | * assigned as visual color, such as
|
13358 | * series color.
|
13359 | *
|
13360 | *
|
13361 | * @default
|
13362 | * ""#fff""
|
13363 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
|
13364 | */
|
13365 | color?: string | undefined;
|
13366 |
|
13367 | /**
|
13368 | * font style
|
13369 | *
|
13370 | * Options are:
|
13371 | *
|
13372 | * + `'normal'`
|
13373 | * + `'italic'`
|
13374 | * + `'oblique'`
|
13375 | *
|
13376 | *
|
13377 | * @default
|
13378 | * "normal"
|
13379 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
13380 | */
|
13381 | fontStyle?: string | undefined;
|
13382 |
|
13383 | /**
|
13384 | * font thick weight
|
13385 | *
|
13386 | * Options are:
|
13387 | *
|
13388 | * + `'normal'`
|
13389 | * + `'bold'`
|
13390 | * + `'bolder'`
|
13391 | * + `'lighter'`
|
13392 | * + 100 | 200 | 300 | 400...
|
13393 | *
|
13394 | *
|
13395 | * @default
|
13396 | * "normal"
|
13397 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
13398 | */
|
13399 | fontWeight?: string | number | undefined;
|
13400 |
|
13401 | /**
|
13402 | * font family
|
13403 | *
|
13404 | * Can also be 'serif' , 'monospace',
|
13405 | * ...
|
13406 | *
|
13407 | *
|
13408 | * @default
|
13409 | * "sans-serif"
|
13410 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
13411 | */
|
13412 | fontFamily?: string | undefined;
|
13413 |
|
13414 | /**
|
13415 | * font size
|
13416 | *
|
13417 | *
|
13418 | * @default
|
13419 | * 12
|
13420 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
13421 | */
|
13422 | fontSize?: number | undefined;
|
13423 |
|
13424 | /**
|
13425 | * Horizontal alignment of text, automatic
|
13426 | * by default.
|
13427 | *
|
13428 | * Options are:
|
13429 | *
|
13430 | * + `'left'`
|
13431 | * + `'center'`
|
13432 | * + `'right'`
|
13433 | *
|
13434 | * If `align` is not set in `rich`,
|
13435 | * `align` in parent level will be used.
|
13436 | * For example:
|
13437 | *
|
13438 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
13439 | *
|
13440 | *
|
13441 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
|
13442 | */
|
13443 | align?: string | undefined;
|
13444 |
|
13445 | /**
|
13446 | * Vertical alignment of text, automatic
|
13447 | * by default.
|
13448 | *
|
13449 | * Options are:
|
13450 | *
|
13451 | * + `'top'`
|
13452 | * + `'middle'`
|
13453 | * + `'bottom'`
|
13454 | *
|
13455 | * If `verticalAlign` is not set in
|
13456 | * `rich`, `verticalAlign` in parent
|
13457 | * level will be used. For example:
|
13458 | *
|
13459 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
13460 | *
|
13461 | *
|
13462 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
13463 | */
|
13464 | verticalAlign?: string | undefined;
|
13465 |
|
13466 | /**
|
13467 | * Line height of the text fregment.
|
13468 | *
|
13469 | * If `lineHeight` is not set in `rich`,
|
13470 | * `lineHeight` in parent level will
|
13471 | * be used. For example:
|
13472 | *
|
13473 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
13474 | *
|
13475 | *
|
13476 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
13477 | */
|
13478 | lineHeight?: number | undefined;
|
13479 |
|
13480 | /**
|
13481 | * Background color of the text fregment.
|
13482 | *
|
13483 | * Can be color string, like `'#123234'`,
|
13484 | * `'red'`, `rgba(0,23,11,0.3)'`.
|
13485 | *
|
13486 | * Or image can be used, for example:
|
13487 | *
|
13488 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
13489 | *
|
13490 | * `width` or `height` can be specified
|
13491 | * when using background image, or auto
|
13492 | * adapted by default.
|
13493 | *
|
13494 | * If set as `'auto'`, the color will
|
13495 | * assigned as visual color, such as
|
13496 | * series color.
|
13497 | *
|
13498 | *
|
13499 | * @default
|
13500 | * "transparent"
|
13501 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
13502 | */
|
13503 | backgroundColor?: object | string | undefined;
|
13504 |
|
13505 | /**
|
13506 | * Border color of the text fregment.
|
13507 | *
|
13508 | * If set as `'auto'`, the color will
|
13509 | * assigned as visual color, such as
|
13510 | * series color.
|
13511 | *
|
13512 | *
|
13513 | * @default
|
13514 | * "transparent"
|
13515 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
13516 | */
|
13517 | borderColor?: string | undefined;
|
13518 |
|
13519 | /**
|
13520 | * Border width of the text fregment.
|
13521 | *
|
13522 | *
|
13523 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
13524 | */
|
13525 | borderWidth?: number | undefined;
|
13526 |
|
13527 | /**
|
13528 | * Border radius of the text fregment.
|
13529 | *
|
13530 | *
|
13531 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
13532 | */
|
13533 | borderRadius?: number | undefined;
|
13534 |
|
13535 | /**
|
13536 | * Padding of the text fregment, for
|
13537 | * example:
|
13538 | *
|
13539 | * + `padding: [3, 4, 5, 6]`: represents
|
13540 | * padding of `[top, right, bottom,
|
13541 | * left]`.
|
13542 | * + `padding: 4`: represents `padding:
|
13543 | * [4, 4, 4, 4]`.
|
13544 | * + `padding: [3, 4]`: represents `padding:
|
13545 | * [3, 4, 3, 4]`.
|
13546 | *
|
13547 | * Notice, `width` and `height` specifies
|
13548 | * the width and height of the content,
|
13549 | * without `padding`.
|
13550 | *
|
13551 | *
|
13552 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
|
13553 | */
|
13554 | padding?: any[] | number | undefined;
|
13555 |
|
13556 | /**
|
13557 | * Shadow color of the text block.
|
13558 | *
|
13559 | *
|
13560 | * @default
|
13561 | * "transparent"
|
13562 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
13563 | */
|
13564 | shadowColor?: string | undefined;
|
13565 |
|
13566 | /**
|
13567 | * Show blur of the text block.
|
13568 | *
|
13569 | *
|
13570 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
13571 | */
|
13572 | shadowBlur?: number | undefined;
|
13573 |
|
13574 | /**
|
13575 | * Shadow X offset of the text block.
|
13576 | *
|
13577 | *
|
13578 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
13579 | */
|
13580 | shadowOffsetX?: number | undefined;
|
13581 |
|
13582 | /**
|
13583 | * Shadow Y offset of the text block.
|
13584 | *
|
13585 | *
|
13586 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
13587 | */
|
13588 | shadowOffsetY?: number | undefined;
|
13589 |
|
13590 | /**
|
13591 | * Width of the text block.
|
13592 | * It is the width of the text by default.
|
13593 | * In most cases, there is no need to
|
13594 | * specify it.
|
13595 | * You may want to use it in some cases
|
13596 | * like make simple table or using background
|
13597 | * image (see `backgroundColor`).
|
13598 | *
|
13599 | * Notice, `width` and `height` specifies
|
13600 | * the width and height of the content,
|
13601 | * without `padding`.
|
13602 | *
|
13603 | * `width` can also be percent string,
|
13604 | * like `'100%'`, which represents the
|
13605 | * percent of `contentWidth` (that is,
|
13606 | * the width without `padding`) of its
|
13607 | * container box.
|
13608 | * It is based on `contentWidth` because
|
13609 | * that each text fregment is layout
|
13610 | * based on the `content box`, where
|
13611 | * it makes no sense that calculating
|
13612 | * width based on `outerWith` in prectice.
|
13613 | *
|
13614 | * Notice, `width` and `height` only
|
13615 | * work when `rich` specified.
|
13616 | *
|
13617 | *
|
13618 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
|
13619 | */
|
13620 | width?: number | string | undefined;
|
13621 |
|
13622 | /**
|
13623 | * Height of the text block.
|
13624 | * It is the width of the text by default.
|
13625 | * You may want to use it in some cases
|
13626 | * like using background image (see
|
13627 | * `backgroundColor`).
|
13628 | *
|
13629 | * Notice, `width` and `height` specifies
|
13630 | * the width and height of the content,
|
13631 | * without `padding`.
|
13632 | *
|
13633 | * Notice, `width` and `height` only
|
13634 | * work when `rich` specified.
|
13635 | *
|
13636 | *
|
13637 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
|
13638 | */
|
13639 | height?: number | string | undefined;
|
13640 |
|
13641 | /**
|
13642 | * Storke color of the text.
|
13643 | *
|
13644 | * If set as `'auto'`, the color will
|
13645 | * assigned as visual color, such as
|
13646 | * series color.
|
13647 | *
|
13648 | *
|
13649 | * @default
|
13650 | * "transparent"
|
13651 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
13652 | */
|
13653 | textBorderColor?: string | undefined;
|
13654 |
|
13655 | /**
|
13656 | * Storke line width of the text.
|
13657 | *
|
13658 | *
|
13659 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
13660 | */
|
13661 | textBorderWidth?: number | undefined;
|
13662 |
|
13663 | /**
|
13664 | * Shadow color of the text itself.
|
13665 | *
|
13666 | *
|
13667 | * @default
|
13668 | * "transparent"
|
13669 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
13670 | */
|
13671 | textShadowColor?: string | undefined;
|
13672 |
|
13673 | /**
|
13674 | * Shadow blue of the text itself.
|
13675 | *
|
13676 | *
|
13677 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
13678 | */
|
13679 | textShadowBlur?: number | undefined;
|
13680 |
|
13681 | /**
|
13682 | * Shadow X offset of the text itself.
|
13683 | *
|
13684 | *
|
13685 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
13686 | */
|
13687 | textShadowOffsetX?: number | undefined;
|
13688 |
|
13689 | /**
|
13690 | * Shadow Y offset of the text itself.
|
13691 | *
|
13692 | *
|
13693 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
13694 | */
|
13695 | textShadowOffsetY?: number | undefined;
|
13696 | };
|
13697 | } | undefined;
|
13698 | } | undefined;
|
13699 | } | undefined;
|
13700 | } | undefined;
|
13701 | } | undefined;
|
13702 |
|
13703 | /**
|
13704 | * Whether to enable animation.
|
13705 | *
|
13706 | *
|
13707 | * @default
|
13708 | * "true"
|
13709 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animation
|
13710 | */
|
13711 | animation?: boolean | undefined;
|
13712 |
|
13713 | /**
|
13714 | * Whether to set graphic number threshold to animation.
|
13715 | * Animation will be disabled when graphic number is larger
|
13716 | * than threshold.
|
13717 | *
|
13718 | *
|
13719 | * @default
|
13720 | * 2000
|
13721 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationThreshold
|
13722 | */
|
13723 | animationThreshold?: number | undefined;
|
13724 |
|
13725 | /**
|
13726 | * Duration of the first animation, which supports callback
|
13727 | * function for different data to have different animation effect:
|
13728 | *
|
13729 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
|
13730 | *
|
13731 | *
|
13732 | * @default
|
13733 | * 1000
|
13734 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDuration
|
13735 | */
|
13736 | animationDuration?: Function | number | undefined;
|
13737 |
|
13738 | /**
|
13739 | * Easing method used for the first animation.
|
13740 | * Varied easing effects can be found at
|
13741 | * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
|
13742 | * .
|
13743 | *
|
13744 | *
|
13745 | * @default
|
13746 | * "cubicOut"
|
13747 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationEasing
|
13748 | */
|
13749 | animationEasing?: string | undefined;
|
13750 |
|
13751 | /**
|
13752 | * Delay before updating the first animation, which supports
|
13753 | * callback function for different data to have different animation
|
13754 | * effect.
|
13755 | *
|
13756 | * For example:
|
13757 | *
|
13758 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
|
13759 | *
|
13760 | * See
|
13761 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
13762 | * for more information.
|
13763 | *
|
13764 | *
|
13765 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDelay
|
13766 | */
|
13767 | animationDelay?: Function | number | undefined;
|
13768 |
|
13769 | /**
|
13770 | * Time for animation to complete, which supports callback function
|
13771 | * for different data to have different animation effect:
|
13772 | *
|
13773 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
|
13774 | *
|
13775 | *
|
13776 | * @default
|
13777 | * 300
|
13778 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDurationUpdate
|
13779 | */
|
13780 | animationDurationUpdate?: Function | number | undefined;
|
13781 |
|
13782 | /**
|
13783 | * Easing method used for animation.
|
13784 | *
|
13785 | *
|
13786 | * @default
|
13787 | * "cubicOut"
|
13788 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationEasingUpdate
|
13789 | */
|
13790 | animationEasingUpdate?: string | undefined;
|
13791 |
|
13792 | /**
|
13793 | * Delay before updating animation, which supports callback
|
13794 | * function for different data to have different animation effect.
|
13795 | *
|
13796 | * For example:
|
13797 | *
|
13798 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
|
13799 | *
|
13800 | * See
|
13801 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
13802 | * for more information.
|
13803 | *
|
13804 | *
|
13805 | * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDelayUpdate
|
13806 | */
|
13807 | animationDelayUpdate?: Function | number | undefined;
|
13808 | } | undefined;
|
13809 |
|
13810 | /**
|
13811 | * If clip the overflow on the coordinate system. Clip results varies between series:
|
13812 | *
|
13813 | * Scatter/EffectScatter:Ignore the symbols exceeds the coordinate system. Not clip the elements.
|
13814 | * Bar:Clip all the overflowed. With bar width kept.
|
13815 | * Line:Clip the overflowed line.
|
13816 | * Lines: Clip all the overflowed.
|
13817 | * Candlestick: Ignore the elements exceeds the coordinate system.
|
13818 | * Custom: Clip all the olverflowed.
|
13819 | *
|
13820 | * All these series have default value true except custom series. Set it to false if you don't want to clip.
|
13821 | *
|
13822 | *
|
13823 | * @see https://echarts.apache.org/en/option.html#series-bar.clip
|
13824 | */
|
13825 | clip?: boolean | undefined;
|
13826 |
|
13827 | /**
|
13828 | * `zlevel` value of all graghical elements in bar chart.
|
13829 | *
|
13830 | * `zlevel` is used to make layers with Canvas.
|
13831 | * Graphical elements with different `zlevel` values will be placed
|
13832 | * in different Canvases, which is a common optimization technique.
|
13833 | * We can put those frequently changed elements (like those with
|
13834 | * animations) to a seperate `zlevel`.
|
13835 | * Notice that too many Canvases will increase memory cost, and
|
13836 | * should be used carefully on mobile phones to avoid crash.
|
13837 | *
|
13838 | * Canvases with bigger `zlevel` will be placed on Canvases with
|
13839 | * smaller `zlevel`.
|
13840 | *
|
13841 | *
|
13842 | * @see https://echarts.apache.org/en/option.html#series-bar.zlevel
|
13843 | */
|
13844 | zlevel?: number | undefined;
|
13845 |
|
13846 | /**
|
13847 | * `z` value of all graghical elements in bar chart, which controls
|
13848 | * order of drawing graphical components.
|
13849 | * Components with smaller `z` values may be overwritten by those
|
13850 | * with larger `z` values.
|
13851 | *
|
13852 | * `z` has a lower priority to `zlevel`, and will not create new
|
13853 | * Canvas.
|
13854 | *
|
13855 | *
|
13856 | * @default
|
13857 | * 2
|
13858 | * @see https://echarts.apache.org/en/option.html#series-bar.z
|
13859 | */
|
13860 | z?: number | undefined;
|
13861 |
|
13862 | /**
|
13863 | * Whether to enable animation.
|
13864 | *
|
13865 | *
|
13866 | * @default
|
13867 | * "true"
|
13868 | * @see https://echarts.apache.org/en/option.html#series-bar.animation
|
13869 | */
|
13870 | animation?: boolean | undefined;
|
13871 |
|
13872 | /**
|
13873 | * Whether to set graphic number threshold to animation.
|
13874 | * Animation will be disabled when graphic number is larger than
|
13875 | * threshold.
|
13876 | *
|
13877 | *
|
13878 | * @default
|
13879 | * 2000
|
13880 | * @see https://echarts.apache.org/en/option.html#series-bar.animationThreshold
|
13881 | */
|
13882 | animationThreshold?: number | undefined;
|
13883 |
|
13884 | /**
|
13885 | * Duration of the first animation, which supports callback function
|
13886 | * for different data to have different animation effect:
|
13887 | *
|
13888 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
13889 | *
|
13890 | *
|
13891 | * @default
|
13892 | * 1000
|
13893 | * @see https://echarts.apache.org/en/option.html#series-bar.animationDuration
|
13894 | */
|
13895 | animationDuration?: Function | number | undefined;
|
13896 |
|
13897 | /**
|
13898 | * Easing method used for the first animation.
|
13899 | * Varied easing effects can be found at
|
13900 | * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
|
13901 | * .
|
13902 | *
|
13903 | *
|
13904 | * @default
|
13905 | * "cubicOut"
|
13906 | * @see https://echarts.apache.org/en/option.html#series-bar.animationEasing
|
13907 | */
|
13908 | animationEasing?: string | undefined;
|
13909 |
|
13910 | /**
|
13911 | * Delay before updating the first animation, which supports callback
|
13912 | * function for different data to have different animation effect.
|
13913 | *
|
13914 | * For example:
|
13915 | *
|
13916 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
13917 | *
|
13918 | * See
|
13919 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
13920 | * for more information.
|
13921 | *
|
13922 | *
|
13923 | * @see https://echarts.apache.org/en/option.html#series-bar.animationDelay
|
13924 | */
|
13925 | animationDelay?: Function | number | undefined;
|
13926 |
|
13927 | /**
|
13928 | * Time for animation to complete, which supports callback function
|
13929 | * for different data to have different animation effect:
|
13930 | *
|
13931 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
13932 | *
|
13933 | *
|
13934 | * @default
|
13935 | * 300
|
13936 | * @see https://echarts.apache.org/en/option.html#series-bar.animationDurationUpdate
|
13937 | */
|
13938 | animationDurationUpdate?: Function | number | undefined;
|
13939 |
|
13940 | /**
|
13941 | * Easing method used for animation.
|
13942 | *
|
13943 | *
|
13944 | * @default
|
13945 | * "cubicOut"
|
13946 | * @see https://echarts.apache.org/en/option.html#series-bar.animationEasingUpdate
|
13947 | */
|
13948 | animationEasingUpdate?: string | undefined;
|
13949 |
|
13950 | /**
|
13951 | * Delay before updating animation, which supports callback function
|
13952 | * for different data to have different animation effect.
|
13953 | *
|
13954 | * For example:
|
13955 | *
|
13956 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
|
13957 | *
|
13958 | * See
|
13959 | * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
|
13960 | * for more information.
|
13961 | *
|
13962 | *
|
13963 | * @see https://echarts.apache.org/en/option.html#series-bar.animationDelayUpdate
|
13964 | */
|
13965 | animationDelayUpdate?: Function | number | undefined;
|
13966 |
|
13967 | /**
|
13968 | * tooltip settings in this series.
|
13969 | *
|
13970 | *
|
13971 | * @see https://echarts.apache.org/en/option.html#series-bar.tooltip
|
13972 | */
|
13973 | tooltip?: BaseTooltip | undefined;
|
13974 | }
|
13975 |
|
13976 | namespace SeriesBar {
|
13977 | interface DataObject {
|
13978 | /**
|
13979 | * The name of data item.
|
13980 | *
|
13981 | *
|
13982 | * @see https://echarts.apache.org/en/option.html#series-bar.data.name
|
13983 | */
|
13984 | name?: string | undefined;
|
13985 |
|
13986 | /**
|
13987 | * The value of a single data item.
|
13988 | *
|
13989 | *
|
13990 | * @see https://echarts.apache.org/en/option.html#series-bar.data.value
|
13991 | */
|
13992 | value?: number | undefined;
|
13993 |
|
13994 | /**
|
13995 | * The style setting of the text label in a single bar.
|
13996 | *
|
13997 | *
|
13998 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label
|
13999 | */
|
14000 | label?: {
|
14001 | /**
|
14002 | * Whether to show label.
|
14003 | *
|
14004 | *
|
14005 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.show
|
14006 | */
|
14007 | show?: boolean | undefined;
|
14008 |
|
14009 | /**
|
14010 | * Label position.
|
14011 | *
|
14012 | * **Followings are the options:**
|
14013 | *
|
14014 | * + \[x, y\]
|
14015 | *
|
14016 | * Use relative percentage, or absolute pixel values to
|
14017 | * represent position of label relative to top-left corner
|
14018 | * of bounding box. For example:
|
14019 | *
|
14020 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
|
14021 | *
|
14022 | * + 'top'
|
14023 | *
|
14024 | * + 'left'
|
14025 | * + 'right'
|
14026 | * + 'bottom'
|
14027 | * + 'inside'
|
14028 | * + 'insideLeft'
|
14029 | * + 'insideRight'
|
14030 | * + 'insideTop'
|
14031 | * + 'insideBottom'
|
14032 | * + 'insideTopLeft'
|
14033 | * + 'insideBottomLeft'
|
14034 | * + 'insideTopRight'
|
14035 | * + 'insideBottomRight'
|
14036 | *
|
14037 | * See:
|
14038 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
14039 | * .
|
14040 | *
|
14041 | *
|
14042 | * @default
|
14043 | * "inside"
|
14044 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.position
|
14045 | */
|
14046 | position?: any[] | string | undefined;
|
14047 |
|
14048 | /**
|
14049 | * Distance to the host graphic element.
|
14050 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
14051 | *
|
14052 | * See:
|
14053 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
14054 | * .
|
14055 | *
|
14056 | *
|
14057 | * @default
|
14058 | * 5
|
14059 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.distance
|
14060 | */
|
14061 | distance?: number | undefined;
|
14062 |
|
14063 | /**
|
14064 | * Rotate label, from -90 degree to 90, positive value represents
|
14065 | * rotate anti-clockwise.
|
14066 | *
|
14067 | * See:
|
14068 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
14069 | * .
|
14070 | *
|
14071 | *
|
14072 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rotate
|
14073 | */
|
14074 | rotate?: number | undefined;
|
14075 |
|
14076 | /**
|
14077 | * Whether to move text slightly.
|
14078 | * For example: `[30, 40]` means move `30` horizontally
|
14079 | * and move `40` vertically.
|
14080 | *
|
14081 | *
|
14082 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.offset
|
14083 | */
|
14084 | offset?: any[] | undefined;
|
14085 |
|
14086 | /**
|
14087 | * text color.
|
14088 | *
|
14089 | * If set as `'auto'`, the color will assigned as visual
|
14090 | * color, such as series color.
|
14091 | *
|
14092 | *
|
14093 | * @default
|
14094 | * ""#fff""
|
14095 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.color
|
14096 | */
|
14097 | color?: string | undefined;
|
14098 |
|
14099 | /**
|
14100 | * font style
|
14101 | *
|
14102 | * Options are:
|
14103 | *
|
14104 | * + `'normal'`
|
14105 | * + `'italic'`
|
14106 | * + `'oblique'`
|
14107 | *
|
14108 | *
|
14109 | * @default
|
14110 | * "normal"
|
14111 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontStyle
|
14112 | */
|
14113 | fontStyle?: string | undefined;
|
14114 |
|
14115 | /**
|
14116 | * font thick weight
|
14117 | *
|
14118 | * Options are:
|
14119 | *
|
14120 | * + `'normal'`
|
14121 | * + `'bold'`
|
14122 | * + `'bolder'`
|
14123 | * + `'lighter'`
|
14124 | * + 100 | 200 | 300 | 400...
|
14125 | *
|
14126 | *
|
14127 | * @default
|
14128 | * "normal"
|
14129 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontWeight
|
14130 | */
|
14131 | fontWeight?: string | number | undefined;
|
14132 |
|
14133 | /**
|
14134 | * font family
|
14135 | *
|
14136 | * Can also be 'serif' , 'monospace', ...
|
14137 | *
|
14138 | *
|
14139 | * @default
|
14140 | * "sans-serif"
|
14141 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontFamily
|
14142 | */
|
14143 | fontFamily?: string | undefined;
|
14144 |
|
14145 | /**
|
14146 | * font size
|
14147 | *
|
14148 | *
|
14149 | * @default
|
14150 | * 12
|
14151 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontSize
|
14152 | */
|
14153 | fontSize?: number | undefined;
|
14154 |
|
14155 | /**
|
14156 | * Horizontal alignment of text, automatic by default.
|
14157 | *
|
14158 | * Options are:
|
14159 | *
|
14160 | * + `'left'`
|
14161 | * + `'center'`
|
14162 | * + `'right'`
|
14163 | *
|
14164 | * If `align` is not set in `rich`, `align` in parent level
|
14165 | * will be used. For example:
|
14166 | *
|
14167 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
|
14168 | *
|
14169 | *
|
14170 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.align
|
14171 | */
|
14172 | align?: string | undefined;
|
14173 |
|
14174 | /**
|
14175 | * Vertical alignment of text, automatic by default.
|
14176 | *
|
14177 | * Options are:
|
14178 | *
|
14179 | * + `'top'`
|
14180 | * + `'middle'`
|
14181 | * + `'bottom'`
|
14182 | *
|
14183 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
14184 | * in parent level will be used. For example:
|
14185 | *
|
14186 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
|
14187 | *
|
14188 | *
|
14189 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.verticalAlign
|
14190 | */
|
14191 | verticalAlign?: string | undefined;
|
14192 |
|
14193 | /**
|
14194 | * Line height of the text fregment.
|
14195 | *
|
14196 | * If `lineHeight` is not set in `rich`, `lineHeight` in
|
14197 | * parent level will be used. For example:
|
14198 | *
|
14199 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
|
14200 | *
|
14201 | *
|
14202 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.lineHeight
|
14203 | */
|
14204 | lineHeight?: number | undefined;
|
14205 |
|
14206 | /**
|
14207 | * Background color of the text fregment.
|
14208 | *
|
14209 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
14210 | *
|
14211 | * Or image can be used, for example:
|
14212 | *
|
14213 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
|
14214 | *
|
14215 | * `width` or `height` can be specified when using background
|
14216 | * image, or auto adapted by default.
|
14217 | *
|
14218 | * If set as `'auto'`, the color will assigned as visual
|
14219 | * color, such as series color.
|
14220 | *
|
14221 | *
|
14222 | * @default
|
14223 | * "transparent"
|
14224 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.backgroundColor
|
14225 | */
|
14226 | backgroundColor?: object | string | undefined;
|
14227 |
|
14228 | /**
|
14229 | * Border color of the text fregment.
|
14230 | *
|
14231 | * If set as `'auto'`, the color will assigned as visual
|
14232 | * color, such as series color.
|
14233 | *
|
14234 | *
|
14235 | * @default
|
14236 | * "transparent"
|
14237 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.borderColor
|
14238 | */
|
14239 | borderColor?: string | undefined;
|
14240 |
|
14241 | /**
|
14242 | * Border width of the text fregment.
|
14243 | *
|
14244 | *
|
14245 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.borderWidth
|
14246 | */
|
14247 | borderWidth?: number | undefined;
|
14248 |
|
14249 | /**
|
14250 | * Border radius of the text fregment.
|
14251 | *
|
14252 | *
|
14253 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.borderRadius
|
14254 | */
|
14255 | borderRadius?: number | undefined;
|
14256 |
|
14257 | /**
|
14258 | * Padding of the text fregment, for example:
|
14259 | *
|
14260 | * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
|
14261 | * right, bottom, left]`.
|
14262 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
14263 | * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
|
14264 | *
|
14265 | * Notice, `width` and `height` specifies the width and
|
14266 | * height of the content, without `padding`.
|
14267 | *
|
14268 | *
|
14269 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.padding
|
14270 | */
|
14271 | padding?: any[] | number | undefined;
|
14272 |
|
14273 | /**
|
14274 | * Shadow color of the text block.
|
14275 | *
|
14276 | *
|
14277 | * @default
|
14278 | * "transparent"
|
14279 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowColor
|
14280 | */
|
14281 | shadowColor?: string | undefined;
|
14282 |
|
14283 | /**
|
14284 | * Show blur of the text block.
|
14285 | *
|
14286 | *
|
14287 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowBlur
|
14288 | */
|
14289 | shadowBlur?: number | undefined;
|
14290 |
|
14291 | /**
|
14292 | * Shadow X offset of the text block.
|
14293 | *
|
14294 | *
|
14295 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowOffsetX
|
14296 | */
|
14297 | shadowOffsetX?: number | undefined;
|
14298 |
|
14299 | /**
|
14300 | * Shadow Y offset of the text block.
|
14301 | *
|
14302 | *
|
14303 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowOffsetY
|
14304 | */
|
14305 | shadowOffsetY?: number | undefined;
|
14306 |
|
14307 | /**
|
14308 | * Width of the text block.
|
14309 | * It is the width of the text by default.
|
14310 | * In most cases, there is no need to specify it.
|
14311 | * You may want to use it in some cases like make simple
|
14312 | * table or using background image (see `backgroundColor`).
|
14313 | *
|
14314 | * Notice, `width` and `height` specifies the width and
|
14315 | * height of the content, without `padding`.
|
14316 | *
|
14317 | * `width` can also be percent string, like `'100%'`, which
|
14318 | * represents the percent of `contentWidth` (that is, the
|
14319 | * width without `padding`) of its container box.
|
14320 | * It is based on `contentWidth` because that each text
|
14321 | * fregment is layout based on the `content box`, where
|
14322 | * it makes no sense that calculating width based on `outerWith`
|
14323 | * in prectice.
|
14324 | *
|
14325 | * Notice, `width` and `height` only work when `rich` specified.
|
14326 | *
|
14327 | *
|
14328 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.width
|
14329 | */
|
14330 | width?: number | string | undefined;
|
14331 |
|
14332 | /**
|
14333 | * Height of the text block.
|
14334 | * It is the width of the text by default.
|
14335 | * You may want to use it in some cases like using background
|
14336 | * image (see `backgroundColor`).
|
14337 | *
|
14338 | * Notice, `width` and `height` specifies the width and
|
14339 | * height of the content, without `padding`.
|
14340 | *
|
14341 | * Notice, `width` and `height` only work when `rich` specified.
|
14342 | *
|
14343 | *
|
14344 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.height
|
14345 | */
|
14346 | height?: number | string | undefined;
|
14347 |
|
14348 | /**
|
14349 | * Storke color of the text.
|
14350 | *
|
14351 | * If set as `'auto'`, the color will assigned as visual
|
14352 | * color, such as series color.
|
14353 | *
|
14354 | *
|
14355 | * @default
|
14356 | * "transparent"
|
14357 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textBorderColor
|
14358 | */
|
14359 | textBorderColor?: string | undefined;
|
14360 |
|
14361 | /**
|
14362 | * Storke line width of the text.
|
14363 | *
|
14364 | *
|
14365 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textBorderWidth
|
14366 | */
|
14367 | textBorderWidth?: number | undefined;
|
14368 |
|
14369 | /**
|
14370 | * Shadow color of the text itself.
|
14371 | *
|
14372 | *
|
14373 | * @default
|
14374 | * "transparent"
|
14375 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowColor
|
14376 | */
|
14377 | textShadowColor?: string | undefined;
|
14378 |
|
14379 | /**
|
14380 | * Shadow blue of the text itself.
|
14381 | *
|
14382 | *
|
14383 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowBlur
|
14384 | */
|
14385 | textShadowBlur?: number | undefined;
|
14386 |
|
14387 | /**
|
14388 | * Shadow X offset of the text itself.
|
14389 | *
|
14390 | *
|
14391 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowOffsetX
|
14392 | */
|
14393 | textShadowOffsetX?: number | undefined;
|
14394 |
|
14395 | /**
|
14396 | * Shadow Y offset of the text itself.
|
14397 | *
|
14398 | *
|
14399 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowOffsetY
|
14400 | */
|
14401 | textShadowOffsetY?: number | undefined;
|
14402 |
|
14403 | /**
|
14404 | * "Rich text styles" can be defined in this `rich` property.
|
14405 | * For example:
|
14406 | *
|
14407 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
|
14408 | *
|
14409 | * For more details, see
|
14410 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
14411 | * please.
|
14412 | *
|
14413 | *
|
14414 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich
|
14415 | */
|
14416 | rich?: {
|
14417 | /**
|
14418 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E
|
14419 | */
|
14420 | [userStyle: string]: {
|
14421 | /**
|
14422 | * text color.
|
14423 | *
|
14424 | * If set as `'auto'`, the color will assigned as
|
14425 | * visual color, such as series color.
|
14426 | *
|
14427 | *
|
14428 | * @default
|
14429 | * ""#fff""
|
14430 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.color
|
14431 | */
|
14432 | color?: string | undefined;
|
14433 |
|
14434 | /**
|
14435 | * font style
|
14436 | *
|
14437 | * Options are:
|
14438 | *
|
14439 | * + `'normal'`
|
14440 | * + `'italic'`
|
14441 | * + `'oblique'`
|
14442 | *
|
14443 | *
|
14444 | * @default
|
14445 | * "normal"
|
14446 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
14447 | */
|
14448 | fontStyle?: string | undefined;
|
14449 |
|
14450 | /**
|
14451 | * font thick weight
|
14452 | *
|
14453 | * Options are:
|
14454 | *
|
14455 | * + `'normal'`
|
14456 | * + `'bold'`
|
14457 | * + `'bolder'`
|
14458 | * + `'lighter'`
|
14459 | * + 100 | 200 | 300 | 400...
|
14460 | *
|
14461 | *
|
14462 | * @default
|
14463 | * "normal"
|
14464 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
14465 | */
|
14466 | fontWeight?: string | number | undefined;
|
14467 |
|
14468 | /**
|
14469 | * font family
|
14470 | *
|
14471 | * Can also be 'serif' , 'monospace', ...
|
14472 | *
|
14473 | *
|
14474 | * @default
|
14475 | * "sans-serif"
|
14476 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
14477 | */
|
14478 | fontFamily?: string | undefined;
|
14479 |
|
14480 | /**
|
14481 | * font size
|
14482 | *
|
14483 | *
|
14484 | * @default
|
14485 | * 12
|
14486 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
14487 | */
|
14488 | fontSize?: number | undefined;
|
14489 |
|
14490 | /**
|
14491 | * Horizontal alignment of text, automatic by default.
|
14492 | *
|
14493 | * Options are:
|
14494 | *
|
14495 | * + `'left'`
|
14496 | * + `'center'`
|
14497 | * + `'right'`
|
14498 | *
|
14499 | * If `align` is not set in `rich`, `align` in parent
|
14500 | * level will be used. For example:
|
14501 | *
|
14502 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
14503 | *
|
14504 | *
|
14505 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.align
|
14506 | */
|
14507 | align?: string | undefined;
|
14508 |
|
14509 | /**
|
14510 | * Vertical alignment of text, automatic by default.
|
14511 | *
|
14512 | * Options are:
|
14513 | *
|
14514 | * + `'top'`
|
14515 | * + `'middle'`
|
14516 | * + `'bottom'`
|
14517 | *
|
14518 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
14519 | * in parent level will be used. For example:
|
14520 | *
|
14521 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
14522 | *
|
14523 | *
|
14524 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
14525 | */
|
14526 | verticalAlign?: string | undefined;
|
14527 |
|
14528 | /**
|
14529 | * Line height of the text fregment.
|
14530 | *
|
14531 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
14532 | * in parent level will be used. For example:
|
14533 | *
|
14534 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
14535 | *
|
14536 | *
|
14537 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
14538 | */
|
14539 | lineHeight?: number | undefined;
|
14540 |
|
14541 | /**
|
14542 | * Background color of the text fregment.
|
14543 | *
|
14544 | * Can be color string, like `'#123234'`, `'red'`,
|
14545 | * `rgba(0,23,11,0.3)'`.
|
14546 | *
|
14547 | * Or image can be used, for example:
|
14548 | *
|
14549 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.rich.%3Cuser%20defined%20style%20name%3E)
|
14550 | *
|
14551 | * `width` or `height` can be specified when using
|
14552 | * background image, or auto adapted by default.
|
14553 | *
|
14554 | * If set as `'auto'`, the color will assigned as
|
14555 | * visual color, such as series color.
|
14556 | *
|
14557 | *
|
14558 | * @default
|
14559 | * "transparent"
|
14560 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
14561 | */
|
14562 | backgroundColor?: object | string | undefined;
|
14563 |
|
14564 | /**
|
14565 | * Border color of the text fregment.
|
14566 | *
|
14567 | * If set as `'auto'`, the color will assigned as
|
14568 | * visual color, such as series color.
|
14569 | *
|
14570 | *
|
14571 | * @default
|
14572 | * "transparent"
|
14573 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
14574 | */
|
14575 | borderColor?: string | undefined;
|
14576 |
|
14577 | /**
|
14578 | * Border width of the text fregment.
|
14579 | *
|
14580 | *
|
14581 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
14582 | */
|
14583 | borderWidth?: number | undefined;
|
14584 |
|
14585 | /**
|
14586 | * Border radius of the text fregment.
|
14587 | *
|
14588 | *
|
14589 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
14590 | */
|
14591 | borderRadius?: number | undefined;
|
14592 |
|
14593 | /**
|
14594 | * Padding of the text fregment, for example:
|
14595 | *
|
14596 | * + `padding: [3, 4, 5, 6]`: represents padding
|
14597 | * of `[top, right, bottom, left]`.
|
14598 | * + `padding: 4`: represents `padding: [4, 4, 4,
|
14599 | * 4]`.
|
14600 | * + `padding: [3, 4]`: represents `padding: [3,
|
14601 | * 4, 3, 4]`.
|
14602 | *
|
14603 | * Notice, `width` and `height` specifies the width
|
14604 | * and height of the content, without `padding`.
|
14605 | *
|
14606 | *
|
14607 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.padding
|
14608 | */
|
14609 | padding?: any[] | number | undefined;
|
14610 |
|
14611 | /**
|
14612 | * Shadow color of the text block.
|
14613 | *
|
14614 | *
|
14615 | * @default
|
14616 | * "transparent"
|
14617 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
14618 | */
|
14619 | shadowColor?: string | undefined;
|
14620 |
|
14621 | /**
|
14622 | * Show blur of the text block.
|
14623 | *
|
14624 | *
|
14625 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
14626 | */
|
14627 | shadowBlur?: number | undefined;
|
14628 |
|
14629 | /**
|
14630 | * Shadow X offset of the text block.
|
14631 | *
|
14632 | *
|
14633 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
14634 | */
|
14635 | shadowOffsetX?: number | undefined;
|
14636 |
|
14637 | /**
|
14638 | * Shadow Y offset of the text block.
|
14639 | *
|
14640 | *
|
14641 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
14642 | */
|
14643 | shadowOffsetY?: number | undefined;
|
14644 |
|
14645 | /**
|
14646 | * Width of the text block.
|
14647 | * It is the width of the text by default.
|
14648 | * In most cases, there is no need to specify it.
|
14649 | * You may want to use it in some cases like make
|
14650 | * simple table or using background image (see `backgroundColor`).
|
14651 | *
|
14652 | * Notice, `width` and `height` specifies the width
|
14653 | * and height of the content, without `padding`.
|
14654 | *
|
14655 | * `width` can also be percent string, like `'100%'`,
|
14656 | * which represents the percent of `contentWidth`
|
14657 | * (that is, the width without `padding`) of its
|
14658 | * container box.
|
14659 | * It is based on `contentWidth` because that each
|
14660 | * text fregment is layout based on the `content
|
14661 | * box`, where it makes no sense that calculating
|
14662 | * width based on `outerWith` in prectice.
|
14663 | *
|
14664 | * Notice, `width` and `height` only work when `rich`
|
14665 | * specified.
|
14666 | *
|
14667 | *
|
14668 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.width
|
14669 | */
|
14670 | width?: number | string | undefined;
|
14671 |
|
14672 | /**
|
14673 | * Height of the text block.
|
14674 | * It is the width of the text by default.
|
14675 | * You may want to use it in some cases like using
|
14676 | * background image (see `backgroundColor`).
|
14677 | *
|
14678 | * Notice, `width` and `height` specifies the width
|
14679 | * and height of the content, without `padding`.
|
14680 | *
|
14681 | * Notice, `width` and `height` only work when `rich`
|
14682 | * specified.
|
14683 | *
|
14684 | *
|
14685 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.height
|
14686 | */
|
14687 | height?: number | string | undefined;
|
14688 |
|
14689 | /**
|
14690 | * Storke color of the text.
|
14691 | *
|
14692 | * If set as `'auto'`, the color will assigned as
|
14693 | * visual color, such as series color.
|
14694 | *
|
14695 | *
|
14696 | * @default
|
14697 | * "transparent"
|
14698 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
14699 | */
|
14700 | textBorderColor?: string | undefined;
|
14701 |
|
14702 | /**
|
14703 | * Storke line width of the text.
|
14704 | *
|
14705 | *
|
14706 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
14707 | */
|
14708 | textBorderWidth?: number | undefined;
|
14709 |
|
14710 | /**
|
14711 | * Shadow color of the text itself.
|
14712 | *
|
14713 | *
|
14714 | * @default
|
14715 | * "transparent"
|
14716 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
14717 | */
|
14718 | textShadowColor?: string | undefined;
|
14719 |
|
14720 | /**
|
14721 | * Shadow blue of the text itself.
|
14722 | *
|
14723 | *
|
14724 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
14725 | */
|
14726 | textShadowBlur?: number | undefined;
|
14727 |
|
14728 | /**
|
14729 | * Shadow X offset of the text itself.
|
14730 | *
|
14731 | *
|
14732 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
14733 | */
|
14734 | textShadowOffsetX?: number | undefined;
|
14735 |
|
14736 | /**
|
14737 | * Shadow Y offset of the text itself.
|
14738 | *
|
14739 | *
|
14740 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
14741 | */
|
14742 | textShadowOffsetY?: number | undefined;
|
14743 | };
|
14744 | } | undefined;
|
14745 |
|
14746 | /**
|
14747 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis
|
14748 | */
|
14749 | emphasis?: {
|
14750 | /**
|
14751 | * Whether to show label.
|
14752 | *
|
14753 | *
|
14754 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.show
|
14755 | */
|
14756 | show?: boolean | undefined;
|
14757 |
|
14758 | /**
|
14759 | * Label position.
|
14760 | *
|
14761 | * **Followings are the options:**
|
14762 | *
|
14763 | * + \[x, y\]
|
14764 | *
|
14765 | * Use relative percentage, or absolute pixel values
|
14766 | * to represent position of label relative to top-left
|
14767 | * corner of bounding box. For example:
|
14768 | *
|
14769 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
|
14770 | *
|
14771 | * + 'top'
|
14772 | *
|
14773 | * + 'left'
|
14774 | * + 'right'
|
14775 | * + 'bottom'
|
14776 | * + 'inside'
|
14777 | * + 'insideLeft'
|
14778 | * + 'insideRight'
|
14779 | * + 'insideTop'
|
14780 | * + 'insideBottom'
|
14781 | * + 'insideTopLeft'
|
14782 | * + 'insideBottomLeft'
|
14783 | * + 'insideTopRight'
|
14784 | * + 'insideBottomRight'
|
14785 | *
|
14786 | * See:
|
14787 | * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
|
14788 | * .
|
14789 | *
|
14790 | *
|
14791 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.position
|
14792 | */
|
14793 | position?: any[] | string | undefined;
|
14794 |
|
14795 | /**
|
14796 | * Distance to the host graphic element.
|
14797 | * Works when position is string value (like `'top'`、`'insideRight'`).
|
14798 | *
|
14799 | * See:
|
14800 | * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
|
14801 | * .
|
14802 | *
|
14803 | *
|
14804 | * @default
|
14805 | * 5
|
14806 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.distance
|
14807 | */
|
14808 | distance?: number | undefined;
|
14809 |
|
14810 | /**
|
14811 | * Rotate label, from -90 degree to 90, positive value
|
14812 | * represents rotate anti-clockwise.
|
14813 | *
|
14814 | * See:
|
14815 | * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
|
14816 | * .
|
14817 | *
|
14818 | *
|
14819 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rotate
|
14820 | */
|
14821 | rotate?: number | undefined;
|
14822 |
|
14823 | /**
|
14824 | * Whether to move text slightly.
|
14825 | * For example: `[30, 40]` means move `30` horizontally
|
14826 | * and move `40` vertically.
|
14827 | *
|
14828 | *
|
14829 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.offset
|
14830 | */
|
14831 | offset?: any[] | undefined;
|
14832 |
|
14833 | /**
|
14834 | * text color.
|
14835 | *
|
14836 | * If set as `'auto'`, the color will assigned as visual
|
14837 | * color, such as series color.
|
14838 | *
|
14839 | *
|
14840 | * @default
|
14841 | * ""#fff""
|
14842 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.color
|
14843 | */
|
14844 | color?: string | undefined;
|
14845 |
|
14846 | /**
|
14847 | * font style
|
14848 | *
|
14849 | * Options are:
|
14850 | *
|
14851 | * + `'normal'`
|
14852 | * + `'italic'`
|
14853 | * + `'oblique'`
|
14854 | *
|
14855 | *
|
14856 | * @default
|
14857 | * "normal"
|
14858 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontStyle
|
14859 | */
|
14860 | fontStyle?: string | undefined;
|
14861 |
|
14862 | /**
|
14863 | * font thick weight
|
14864 | *
|
14865 | * Options are:
|
14866 | *
|
14867 | * + `'normal'`
|
14868 | * + `'bold'`
|
14869 | * + `'bolder'`
|
14870 | * + `'lighter'`
|
14871 | * + 100 | 200 | 300 | 400...
|
14872 | *
|
14873 | *
|
14874 | * @default
|
14875 | * "normal"
|
14876 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontWeight
|
14877 | */
|
14878 | fontWeight?: string | number | undefined;
|
14879 |
|
14880 | /**
|
14881 | * font family
|
14882 | *
|
14883 | * Can also be 'serif' , 'monospace', ...
|
14884 | *
|
14885 | *
|
14886 | * @default
|
14887 | * "sans-serif"
|
14888 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontFamily
|
14889 | */
|
14890 | fontFamily?: string | undefined;
|
14891 |
|
14892 | /**
|
14893 | * font size
|
14894 | *
|
14895 | *
|
14896 | * @default
|
14897 | * 12
|
14898 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontSize
|
14899 | */
|
14900 | fontSize?: number | undefined;
|
14901 |
|
14902 | /**
|
14903 | * Horizontal alignment of text, automatic by default.
|
14904 | *
|
14905 | * Options are:
|
14906 | *
|
14907 | * + `'left'`
|
14908 | * + `'center'`
|
14909 | * + `'right'`
|
14910 | *
|
14911 | * If `align` is not set in `rich`, `align` in parent
|
14912 | * level will be used. For example:
|
14913 | *
|
14914 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
|
14915 | *
|
14916 | *
|
14917 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.align
|
14918 | */
|
14919 | align?: string | undefined;
|
14920 |
|
14921 | /**
|
14922 | * Vertical alignment of text, automatic by default.
|
14923 | *
|
14924 | * Options are:
|
14925 | *
|
14926 | * + `'top'`
|
14927 | * + `'middle'`
|
14928 | * + `'bottom'`
|
14929 | *
|
14930 | * If `verticalAlign` is not set in `rich`, `verticalAlign`
|
14931 | * in parent level will be used. For example:
|
14932 | *
|
14933 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
|
14934 | *
|
14935 | *
|
14936 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.verticalAlign
|
14937 | */
|
14938 | verticalAlign?: string | undefined;
|
14939 |
|
14940 | /**
|
14941 | * Line height of the text fregment.
|
14942 | *
|
14943 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
14944 | * in parent level will be used. For example:
|
14945 | *
|
14946 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
|
14947 | *
|
14948 | *
|
14949 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.lineHeight
|
14950 | */
|
14951 | lineHeight?: number | undefined;
|
14952 |
|
14953 | /**
|
14954 | * Background color of the text fregment.
|
14955 | *
|
14956 | * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
|
14957 | *
|
14958 | * Or image can be used, for example:
|
14959 | *
|
14960 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
|
14961 | *
|
14962 | * `width` or `height` can be specified when using background
|
14963 | * image, or auto adapted by default.
|
14964 | *
|
14965 | * If set as `'auto'`, the color will assigned as visual
|
14966 | * color, such as series color.
|
14967 | *
|
14968 | *
|
14969 | * @default
|
14970 | * "transparent"
|
14971 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.backgroundColor
|
14972 | */
|
14973 | backgroundColor?: object | string | undefined;
|
14974 |
|
14975 | /**
|
14976 | * Border color of the text fregment.
|
14977 | *
|
14978 | * If set as `'auto'`, the color will assigned as visual
|
14979 | * color, such as series color.
|
14980 | *
|
14981 | *
|
14982 | * @default
|
14983 | * "transparent"
|
14984 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.borderColor
|
14985 | */
|
14986 | borderColor?: string | undefined;
|
14987 |
|
14988 | /**
|
14989 | * Border width of the text fregment.
|
14990 | *
|
14991 | *
|
14992 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.borderWidth
|
14993 | */
|
14994 | borderWidth?: number | undefined;
|
14995 |
|
14996 | /**
|
14997 | * Border radius of the text fregment.
|
14998 | *
|
14999 | *
|
15000 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.borderRadius
|
15001 | */
|
15002 | borderRadius?: number | undefined;
|
15003 |
|
15004 | /**
|
15005 | * Padding of the text fregment, for example:
|
15006 | *
|
15007 | * + `padding: [3, 4, 5, 6]`: represents padding of
|
15008 | * `[top, right, bottom, left]`.
|
15009 | * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
|
15010 | * + `padding: [3, 4]`: represents `padding: [3, 4,
|
15011 | * 3, 4]`.
|
15012 | *
|
15013 | * Notice, `width` and `height` specifies the width
|
15014 | * and height of the content, without `padding`.
|
15015 | *
|
15016 | *
|
15017 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.padding
|
15018 | */
|
15019 | padding?: any[] | number | undefined;
|
15020 |
|
15021 | /**
|
15022 | * Shadow color of the text block.
|
15023 | *
|
15024 | *
|
15025 | * @default
|
15026 | * "transparent"
|
15027 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowColor
|
15028 | */
|
15029 | shadowColor?: string | undefined;
|
15030 |
|
15031 | /**
|
15032 | * Show blur of the text block.
|
15033 | *
|
15034 | *
|
15035 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowBlur
|
15036 | */
|
15037 | shadowBlur?: number | undefined;
|
15038 |
|
15039 | /**
|
15040 | * Shadow X offset of the text block.
|
15041 | *
|
15042 | *
|
15043 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowOffsetX
|
15044 | */
|
15045 | shadowOffsetX?: number | undefined;
|
15046 |
|
15047 | /**
|
15048 | * Shadow Y offset of the text block.
|
15049 | *
|
15050 | *
|
15051 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowOffsetY
|
15052 | */
|
15053 | shadowOffsetY?: number | undefined;
|
15054 |
|
15055 | /**
|
15056 | * Width of the text block.
|
15057 | * It is the width of the text by default.
|
15058 | * In most cases, there is no need to specify it.
|
15059 | * You may want to use it in some cases like make simple
|
15060 | * table or using background image (see `backgroundColor`).
|
15061 | *
|
15062 | * Notice, `width` and `height` specifies the width
|
15063 | * and height of the content, without `padding`.
|
15064 | *
|
15065 | * `width` can also be percent string, like `'100%'`,
|
15066 | * which represents the percent of `contentWidth` (that
|
15067 | * is, the width without `padding`) of its container
|
15068 | * box.
|
15069 | * It is based on `contentWidth` because that each text
|
15070 | * fregment is layout based on the `content box`, where
|
15071 | * it makes no sense that calculating width based on
|
15072 | * `outerWith` in prectice.
|
15073 | *
|
15074 | * Notice, `width` and `height` only work when `rich`
|
15075 | * specified.
|
15076 | *
|
15077 | *
|
15078 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.width
|
15079 | */
|
15080 | width?: number | string | undefined;
|
15081 |
|
15082 | /**
|
15083 | * Height of the text block.
|
15084 | * It is the width of the text by default.
|
15085 | * You may want to use it in some cases like using background
|
15086 | * image (see `backgroundColor`).
|
15087 | *
|
15088 | * Notice, `width` and `height` specifies the width
|
15089 | * and height of the content, without `padding`.
|
15090 | *
|
15091 | * Notice, `width` and `height` only work when `rich`
|
15092 | * specified.
|
15093 | *
|
15094 | *
|
15095 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.height
|
15096 | */
|
15097 | height?: number | string | undefined;
|
15098 |
|
15099 | /**
|
15100 | * Storke color of the text.
|
15101 | *
|
15102 | * If set as `'auto'`, the color will assigned as visual
|
15103 | * color, such as series color.
|
15104 | *
|
15105 | *
|
15106 | * @default
|
15107 | * "transparent"
|
15108 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textBorderColor
|
15109 | */
|
15110 | textBorderColor?: string | undefined;
|
15111 |
|
15112 | /**
|
15113 | * Storke line width of the text.
|
15114 | *
|
15115 | *
|
15116 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textBorderWidth
|
15117 | */
|
15118 | textBorderWidth?: number | undefined;
|
15119 |
|
15120 | /**
|
15121 | * Shadow color of the text itself.
|
15122 | *
|
15123 | *
|
15124 | * @default
|
15125 | * "transparent"
|
15126 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowColor
|
15127 | */
|
15128 | textShadowColor?: string | undefined;
|
15129 |
|
15130 | /**
|
15131 | * Shadow blue of the text itself.
|
15132 | *
|
15133 | *
|
15134 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowBlur
|
15135 | */
|
15136 | textShadowBlur?: number | undefined;
|
15137 |
|
15138 | /**
|
15139 | * Shadow X offset of the text itself.
|
15140 | *
|
15141 | *
|
15142 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowOffsetX
|
15143 | */
|
15144 | textShadowOffsetX?: number | undefined;
|
15145 |
|
15146 | /**
|
15147 | * Shadow Y offset of the text itself.
|
15148 | *
|
15149 | *
|
15150 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowOffsetY
|
15151 | */
|
15152 | textShadowOffsetY?: number | undefined;
|
15153 |
|
15154 | /**
|
15155 | * "Rich text styles" can be defined in this `rich`
|
15156 | * property. For example:
|
15157 | *
|
15158 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
|
15159 | *
|
15160 | * For more details, see
|
15161 | * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
|
15162 | * please.
|
15163 | *
|
15164 | *
|
15165 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich
|
15166 | */
|
15167 | rich?: {
|
15168 | /**
|
15169 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
|
15170 | */
|
15171 | [userStyle: string]: {
|
15172 | /**
|
15173 | * text color.
|
15174 | *
|
15175 | * If set as `'auto'`, the color will assigned
|
15176 | * as visual color, such as series color.
|
15177 | *
|
15178 | *
|
15179 | * @default
|
15180 | * ""#fff""
|
15181 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
|
15182 | */
|
15183 | color?: string | undefined;
|
15184 |
|
15185 | /**
|
15186 | * font style
|
15187 | *
|
15188 | * Options are:
|
15189 | *
|
15190 | * + `'normal'`
|
15191 | * + `'italic'`
|
15192 | * + `'oblique'`
|
15193 | *
|
15194 | *
|
15195 | * @default
|
15196 | * "normal"
|
15197 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
|
15198 | */
|
15199 | fontStyle?: string | undefined;
|
15200 |
|
15201 | /**
|
15202 | * font thick weight
|
15203 | *
|
15204 | * Options are:
|
15205 | *
|
15206 | * + `'normal'`
|
15207 | * + `'bold'`
|
15208 | * + `'bolder'`
|
15209 | * + `'lighter'`
|
15210 | * + 100 | 200 | 300 | 400...
|
15211 | *
|
15212 | *
|
15213 | * @default
|
15214 | * "normal"
|
15215 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
|
15216 | */
|
15217 | fontWeight?: string | number | undefined;
|
15218 |
|
15219 | /**
|
15220 | * font family
|
15221 | *
|
15222 | * Can also be 'serif' , 'monospace', ...
|
15223 | *
|
15224 | *
|
15225 | * @default
|
15226 | * "sans-serif"
|
15227 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
|
15228 | */
|
15229 | fontFamily?: string | undefined;
|
15230 |
|
15231 | /**
|
15232 | * font size
|
15233 | *
|
15234 | *
|
15235 | * @default
|
15236 | * 12
|
15237 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
|
15238 | */
|
15239 | fontSize?: number | undefined;
|
15240 |
|
15241 | /**
|
15242 | * Horizontal alignment of text, automatic by
|
15243 | * default.
|
15244 | *
|
15245 | * Options are:
|
15246 | *
|
15247 | * + `'left'`
|
15248 | * + `'center'`
|
15249 | * + `'right'`
|
15250 | *
|
15251 | * If `align` is not set in `rich`, `align`
|
15252 | * in parent level will be used.
|
15253 | * For example:
|
15254 | *
|
15255 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
15256 | *
|
15257 | *
|
15258 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
|
15259 | */
|
15260 | align?: string | undefined;
|
15261 |
|
15262 | /**
|
15263 | * Vertical alignment of text, automatic by
|
15264 | * default.
|
15265 | *
|
15266 | * Options are:
|
15267 | *
|
15268 | * + `'top'`
|
15269 | * + `'middle'`
|
15270 | * + `'bottom'`
|
15271 | *
|
15272 | * If `verticalAlign` is not set in `rich`,
|
15273 | * `verticalAlign` in parent level will be used.
|
15274 | * For example:
|
15275 | *
|
15276 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
15277 | *
|
15278 | *
|
15279 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
|
15280 | */
|
15281 | verticalAlign?: string | undefined;
|
15282 |
|
15283 | /**
|
15284 | * Line height of the text fregment.
|
15285 | *
|
15286 | * If `lineHeight` is not set in `rich`, `lineHeight`
|
15287 | * in parent level will be used.
|
15288 | * For example:
|
15289 | *
|
15290 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
15291 | *
|
15292 | *
|
15293 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
|
15294 | */
|
15295 | lineHeight?: number | undefined;
|
15296 |
|
15297 | /**
|
15298 | * Background color of the text fregment.
|
15299 | *
|
15300 | * Can be color string, like `'#123234'`, `'red'`,
|
15301 | * `rgba(0,23,11,0.3)'`.
|
15302 | *
|
15303 | * Or image can be used, for example:
|
15304 | *
|
15305 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
|
15306 | *
|
15307 | * `width` or `height` can be specified when
|
15308 | * using background image, or auto adapted by
|
15309 | * default.
|
15310 | *
|
15311 | * If set as `'auto'`, the color will assigned
|
15312 | * as visual color, such as series color.
|
15313 | *
|
15314 | *
|
15315 | * @default
|
15316 | * "transparent"
|
15317 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
|
15318 | */
|
15319 | backgroundColor?: object | string | undefined;
|
15320 |
|
15321 | /**
|
15322 | * Border color of the text fregment.
|
15323 | *
|
15324 | * If set as `'auto'`, the color will assigned
|
15325 | * as visual color, such as series color.
|
15326 | *
|
15327 | *
|
15328 | * @default
|
15329 | * "transparent"
|
15330 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
|
15331 | */
|
15332 | borderColor?: string | undefined;
|
15333 |
|
15334 | /**
|
15335 | * Border width of the text fregment.
|
15336 | *
|
15337 | *
|
15338 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
|
15339 | */
|
15340 | borderWidth?: number | undefined;
|
15341 |
|
15342 | /**
|
15343 | * Border radius of the text fregment.
|
15344 | *
|
15345 | *
|
15346 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
|
15347 | */
|
15348 | borderRadius?: number | undefined;
|
15349 |
|
15350 | /**
|
15351 | * Padding of the text fregment, for example:
|
15352 | *
|
15353 | * + `padding: [3, 4, 5, 6]`: represents padding
|
15354 | * of `[top, right, bottom, left]`.
|
15355 | * + `padding: 4`: represents `padding: [4,
|
15356 | * 4, 4, 4]`.
|
15357 | * + `padding: [3, 4]`: represents `padding:
|
15358 | * [3, 4, 3, 4]`.
|
15359 | *
|
15360 | * Notice, `width` and `height` specifies the
|
15361 | * width and height of the content, without
|
15362 | * `padding`.
|
15363 | *
|
15364 | *
|
15365 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
|
15366 | */
|
15367 | padding?: any[] | number | undefined;
|
15368 |
|
15369 | /**
|
15370 | * Shadow color of the text block.
|
15371 | *
|
15372 | *
|
15373 | * @default
|
15374 | * "transparent"
|
15375 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
|
15376 | */
|
15377 | shadowColor?: string | undefined;
|
15378 |
|
15379 | /**
|
15380 | * Show blur of the text block.
|
15381 | *
|
15382 | *
|
15383 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
|
15384 | */
|
15385 | shadowBlur?: number | undefined;
|
15386 |
|
15387 | /**
|
15388 | * Shadow X offset of the text block.
|
15389 | *
|
15390 | *
|
15391 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
|
15392 | */
|
15393 | shadowOffsetX?: number | undefined;
|
15394 |
|
15395 | /**
|
15396 | * Shadow Y offset of the text block.
|
15397 | *
|
15398 | *
|
15399 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
|
15400 | */
|
15401 | shadowOffsetY?: number | undefined;
|
15402 |
|
15403 | /**
|
15404 | * Width of the text block.
|
15405 | * It is the width of the text by default.
|
15406 | * In most cases, there is no need to specify
|
15407 | * it.
|
15408 | * You may want to use it in some cases like
|
15409 | * make simple table or using background image
|
15410 | * (see `backgroundColor`).
|
15411 | *
|
15412 | * Notice, `width` and `height` specifies the
|
15413 | * width and height of the content, without
|
15414 | * `padding`.
|
15415 | *
|
15416 | * `width` can also be percent string, like
|
15417 | * `'100%'`, which represents the percent of
|
15418 | * `contentWidth` (that is, the width without
|
15419 | * `padding`) of its container box.
|
15420 | * It is based on `contentWidth` because that
|
15421 | * each text fregment is layout based on the
|
15422 | * `content box`, where it makes no sense that
|
15423 | * calculating width based on `outerWith` in
|
15424 | * prectice.
|
15425 | *
|
15426 | * Notice, `width` and `height` only work when
|
15427 | * `rich` specified.
|
15428 | *
|
15429 | *
|
15430 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
|
15431 | */
|
15432 | width?: number | string | undefined;
|
15433 |
|
15434 | /**
|
15435 | * Height of the text block.
|
15436 | * It is the width of the text by default.
|
15437 | * You may want to use it in some cases like
|
15438 | * using background image (see `backgroundColor`).
|
15439 | *
|
15440 | * Notice, `width` and `height` specifies the
|
15441 | * width and height of the content, without
|
15442 | * `padding`.
|
15443 | *
|
15444 | * Notice, `width` and `height` only work when
|
15445 | * `rich` specified.
|
15446 | *
|
15447 | *
|
15448 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
|
15449 | */
|
15450 | height?: number | string | undefined;
|
15451 |
|
15452 | /**
|
15453 | * Storke color of the text.
|
15454 | *
|
15455 | * If set as `'auto'`, the color will assigned
|
15456 | * as visual color, such as series color.
|
15457 | *
|
15458 | *
|
15459 | * @default
|
15460 | * "transparent"
|
15461 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
|
15462 | */
|
15463 | textBorderColor?: string | undefined;
|
15464 |
|
15465 | /**
|
15466 | * Storke line width of the text.
|
15467 | *
|
15468 | *
|
15469 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
|
15470 | */
|
15471 | textBorderWidth?: number | undefined;
|
15472 |
|
15473 | /**
|
15474 | * Shadow color of the text itself.
|
15475 | *
|
15476 | *
|
15477 | * @default
|
15478 | * "transparent"
|
15479 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
|
15480 | */
|
15481 | textShadowColor?: string | undefined;
|
15482 |
|
15483 | /**
|
15484 | * Shadow blue of the text itself.
|
15485 | *
|
15486 | *
|
15487 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
|
15488 | */
|
15489 | textShadowBlur?: number | undefined;
|
15490 |
|
15491 | /**
|
15492 | * Shadow X offset of the text itself.
|
15493 | *
|
15494 | *
|
15495 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
|
15496 | */
|
15497 | textShadowOffsetX?: number | undefined;
|
15498 |
|
15499 | /**
|
15500 | * Shadow Y offset of the text itself.
|
15501 | *
|
15502 | *
|
15503 | * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
|
15504 | */
|
15505 | textShadowOffsetY?: number | undefined;
|
15506 | };
|
15507 | } | undefined;
|
15508 | } | undefined;
|
15509 | } | undefined;
|
15510 |
|
15511 | /**
|
15512 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle
|
15513 | */
|
15514 | itemStyle?: {
|
15515 | /**
|
15516 | * Bar color..
|
15517 | *
|
15518 | *
|
15519 | * @default
|
15520 | * "auto"
|
15521 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.color
|
15522 | */
|
15523 | color?: string | undefined;
|
15524 |
|
15525 | /**
|
15526 | * The bodrder color of bar.
|
15527 | *
|
15528 | *
|
15529 | * @default
|
15530 | * '#000'
|
15531 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.barBorderColor
|
15532 | */
|
15533 | barBorderColor?: string | undefined;
|
15534 |
|
15535 | /**
|
15536 | * The bodrder width of bar. defaults to have no border.
|
15537 | *
|
15538 | *
|
15539 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.barBorderWidth
|
15540 | */
|
15541 | barBorderWidth?: number | undefined;
|
15542 |
|
15543 | /**
|
15544 | * The radius of rounded corner.
|
15545 | * Its unit is px.
|
15546 | * And it supports use array to respectively specify the
|
15547 | * 4 corner radiuses.
|
15548 | *
|
15549 | * For example:
|
15550 | *
|
15551 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.itemStyle)
|
15552 | *
|
15553 | *
|
15554 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.barBorderRadius
|
15555 | */
|
15556 | barBorderRadius?: any[] | number | undefined;
|
15557 |
|
15558 | /**
|
15559 | * Size of shadow blur.
|
15560 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
15561 | * `shadowOffsetY` to set shadow to component.
|
15562 | *
|
15563 | * For example:
|
15564 | *
|
15565 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.itemStyle)
|
15566 | *
|
15567 | *
|
15568 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowBlur
|
15569 | */
|
15570 | shadowBlur?: number | undefined;
|
15571 |
|
15572 | /**
|
15573 | * Shadow color. Support same format as `color`.
|
15574 | *
|
15575 | *
|
15576 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowColor
|
15577 | */
|
15578 | shadowColor?: string | undefined;
|
15579 |
|
15580 | /**
|
15581 | * Offset distance on the horizontal direction of shadow.
|
15582 | *
|
15583 | *
|
15584 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowOffsetX
|
15585 | */
|
15586 | shadowOffsetX?: number | undefined;
|
15587 |
|
15588 | /**
|
15589 | * Offset distance on the vertical direction of shadow.
|
15590 | *
|
15591 | *
|
15592 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowOffsetY
|
15593 | */
|
15594 | shadowOffsetY?: number | undefined;
|
15595 |
|
15596 | /**
|
15597 | * Opacity of the component.
|
15598 | * Supports value from 0 to 1, and the component will not
|
15599 | * be drawn when set to 0.
|
15600 | *
|
15601 | *
|
15602 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.opacity
|
15603 | */
|
15604 | opacity?: number | undefined;
|
15605 |
|
15606 | /**
|
15607 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis
|
15608 | */
|
15609 | emphasis?: {
|
15610 | /**
|
15611 | * Bar color..
|
15612 | *
|
15613 | *
|
15614 | * @default
|
15615 | * "auto"
|
15616 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.color
|
15617 | */
|
15618 | color?: string | undefined;
|
15619 |
|
15620 | /**
|
15621 | * The bodrder color of bar.
|
15622 | *
|
15623 | *
|
15624 | * @default
|
15625 | * '#000'
|
15626 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.barBorderColor
|
15627 | */
|
15628 | barBorderColor?: string | undefined;
|
15629 |
|
15630 | /**
|
15631 | * The bodrder width of bar.
|
15632 | * defaults to have no border.
|
15633 | *
|
15634 | *
|
15635 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.barBorderWidth
|
15636 | */
|
15637 | barBorderWidth?: number | undefined;
|
15638 |
|
15639 | /**
|
15640 | * Size of shadow blur.
|
15641 | * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
|
15642 | * `shadowOffsetY` to set shadow to component.
|
15643 | *
|
15644 | * For example:
|
15645 | *
|
15646 | * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.itemStyle.emphasis)
|
15647 | *
|
15648 | *
|
15649 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowBlur
|
15650 | */
|
15651 | shadowBlur?: number | undefined;
|
15652 |
|
15653 | /**
|
15654 | * Shadow color. Support same format as `color`.
|
15655 | *
|
15656 | *
|
15657 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowColor
|
15658 | */
|
15659 | shadowColor?: string | undefined;
|
15660 |
|
15661 | /**
|
15662 | * Offset distance on the horizontal direction of shadow.
|
15663 | *
|
15664 | *
|
15665 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowOffsetX
|
15666 | */
|
15667 | shadowOffsetX?: number | undefined;
|
15668 |
|
15669 | /**
|
15670 | * Offset distance on the vertical direction of shadow.
|
15671 | *
|
15672 | *
|
15673 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowOffsetY
|
15674 | */
|
15675 | shadowOffsetY?: number | undefined;
|
15676 |
|
15677 | /**
|
15678 | * Opacity of the component.
|
15679 | * Supports value from 0 to 1, and the component will
|
15680 | * not be drawn when set to 0.
|
15681 | *
|
15682 | *
|
15683 | * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.opacity
|
15684 | */
|
15685 | opacity?: number | undefined;
|
15686 | } | undefined;
|
15687 | } | undefined;
|
15688 |
|
15689 | /**
|
15690 | * tooltip settings in this series data.
|
15691 | *
|
15692 | *
|
15693 | * @see https://echarts.apache.org/en/option.html#series-bar.data.tooltip
|
15694 | */
|
15695 | tooltip?: BaseTooltip | undefined;
|
15696 | }
|
15697 | }
|
15698 | }
|
15699 | }
|