UNPKG

754 kBTypeScriptView Raw
1declare 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 * @see https://echarts.apache.org/en/option.html#series-bar
12 */
13 interface SeriesBar {
14 /**
15 * @default
16 * "bar"
17 * @see https://echarts.apache.org/en/option.html#series-bar.type
18 */
19 type?: "bar" | undefined;
20
21 /**
22 * Component ID, not specified by default.
23 * If specified, it can be used to refer the component in option
24 * or API.
25 *
26 * @see https://echarts.apache.org/en/option.html#series-bar.id
27 */
28 id?: string | undefined;
29
30 /**
31 * Series name used for displaying in
32 * [tooltip](https://echarts.apache.org/en/option.html#tooltip)
33 * and filtering with
34 * [legend](https://echarts.apache.org/en/option.html#legend)
35 * , or updaing data and configuration with `setOption`.
36 *
37 * @see https://echarts.apache.org/en/option.html#series-bar.name
38 */
39 name?: string | undefined;
40
41 /**
42 * Whether to enable highlighting chart when
43 * [legend](https://echarts.apache.org/en/option.html#legend)
44 * is being hovered.
45 *
46 * @default
47 * "true"
48 * @see https://echarts.apache.org/en/option.html#series-bar.legendHoverLink
49 */
50 legendHoverLink?: boolean | undefined;
51
52 /**
53 * The coordinate used in the series, whose options are:
54 *
55 * + `'cartesian2d'`
56 *
57 * Use a two-dimensional rectangular coordinate (also known as Cartesian
58 * coordinate), with
59 * [xAxisIndex](https://echarts.apache.org/en/option.html#series-bar.xAxisIndex)
60 * and
61 * [yAxisIndex](https://echarts.apache.org/en/option.html#series-bar.yAxisIndex)
62 * to assign the corresponding axis component.
63 *
64 * @default
65 * "cartesian2d"
66 * @see https://echarts.apache.org/en/option.html#series-bar.coordinateSystem
67 */
68 coordinateSystem?: string | undefined;
69
70 /**
71 * Index of
72 * [x axis](https://echarts.apache.org/en/option.html#xAxis)
73 * to combine with, which is useful for multiple x axes in one chart.
74 *
75 * @see https://echarts.apache.org/en/option.html#series-bar.xAxisIndex
76 */
77 xAxisIndex?: number | undefined;
78
79 /**
80 * Index of
81 * [y axis](https://echarts.apache.org/en/option.html#yAxis)
82 * to combine with, which is useful for multiple y axes in one chart.
83 *
84 * @see https://echarts.apache.org/en/option.html#series-bar.yAxisIndex
85 */
86 yAxisIndex?: number | undefined;
87
88 /**
89 * Text label of , to explain some data information about graphic
90 * item like value, name and so on.
91 * `label` is placed under `itemStyle` in ECharts 2.x.
92 * In ECharts 3, to make the configuration structure flatter, `label`is
93 * taken to be at the same level with `itemStyle`, and has `emphasis`
94 * as `itemStyle` does.
95 *
96 * @see https://echarts.apache.org/en/option.html#series-bar.label
97 */
98 label?: {
99 /**
100 * Some properties like "normal" or "emphasis" are not documented.
101 * Please, write description for them
102 */
103 [unknownProperty: string]: any;
104
105 /**
106 * Whether to show label.
107 *
108 * @see https://echarts.apache.org/en/option.html#series-bar.label.show
109 */
110 show?: boolean | undefined;
111
112 /**
113 * Label position.
114 *
115 * **Followings are the options:**
116 *
117 * + \[x, y\]
118 *
119 * Use relative percentage, or absolute pixel values to represent
120 * position of label relative to top-left corner of bounding
121 * box. For example:
122 *
123 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
124 *
125 * + 'top'
126 *
127 * + 'left'
128 * + 'right'
129 * + 'bottom'
130 * + 'inside'
131 * + 'insideLeft'
132 * + 'insideRight'
133 * + 'insideTop'
134 * + 'insideBottom'
135 * + 'insideTopLeft'
136 * + 'insideBottomLeft'
137 * + 'insideTopRight'
138 * + 'insideBottomRight'
139 *
140 * See:
141 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
142 * .
143 *
144 * @default
145 * "inside"
146 * @see https://echarts.apache.org/en/option.html#series-bar.label.position
147 */
148 position?: any[] | string | undefined;
149
150 /**
151 * Distance to the host graphic element.
152 * Works when position is string value (like `'top'`、`'insideRight'`).
153 *
154 * See:
155 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
156 * .
157 *
158 * @default
159 * 5
160 * @see https://echarts.apache.org/en/option.html#series-bar.label.distance
161 */
162 distance?: number | undefined;
163
164 /**
165 * Rotate label, from -90 degree to 90, positive value represents
166 * rotate anti-clockwise.
167 *
168 * See:
169 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
170 * .
171 *
172 * @see https://echarts.apache.org/en/option.html#series-bar.label.rotate
173 */
174 rotate?: number | undefined;
175
176 /**
177 * Whether to move text slightly.
178 * For example: `[30, 40]` means move `30` horizontally and
179 * move `40` vertically.
180 *
181 * @see https://echarts.apache.org/en/option.html#series-bar.label.offset
182 */
183 offset?: any[] | undefined;
184
185 /**
186 * Data label formatter, which supports string template and
187 * callback function.
188 * In either form, `\n` is supported to represent a new line.
189 *
190 * **String template**
191 *
192 * Model variation includes:
193 *
194 * + `{a}`: series name.
195 * + `{b}`: the name of a data item.
196 * + `{c}`: the value of a data item.
197 * + `{@xxx}: the value of a dimension named`'xxx'`, for example,`{@product}`refers
198 * the value of`'product'\` dimension。
199 * + `{@[n]}: the value of a dimension at the index of`n`, for
200 * example,`{@\[3\]}\` refers the value at dimensions\[3\].
201 *
202 * **example:**
203 *
204 * ```
205 * formatter: '{b}: {@score}'
206 *
207 * ```
208 *
209 * **Callback function**
210 *
211 * Callback function is in form of:
212 *
213 * ```
214 * (params: Object|Array) => string
215 *
216 * ```
217 *
218 * where `params` is the single dataset needed by formatter,
219 * which is formed as:
220 *
221 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
222 *
223 * @see https://echarts.apache.org/en/option.html#series-bar.label.formatter
224 */
225 formatter?: Function | string | undefined;
226
227 /**
228 * text color.
229 *
230 * If set as `'auto'`, the color will assigned as visual color,
231 * such as series color.
232 *
233 * @default
234 * ""#fff""
235 * @see https://echarts.apache.org/en/option.html#series-bar.label.color
236 */
237 color?: string | undefined;
238
239 /**
240 * font style
241 *
242 * Options are:
243 *
244 * + `'normal'`
245 * + `'italic'`
246 * + `'oblique'`
247 *
248 * @default
249 * "normal"
250 * @see https://echarts.apache.org/en/option.html#series-bar.label.fontStyle
251 */
252 fontStyle?: string | undefined;
253
254 /**
255 * font thick weight
256 *
257 * Options are:
258 *
259 * + `'normal'`
260 * + `'bold'`
261 * + `'bolder'`
262 * + `'lighter'`
263 * + 100 | 200 | 300 | 400...
264 *
265 * @default
266 * "normal"
267 * @see https://echarts.apache.org/en/option.html#series-bar.label.fontWeight
268 */
269 fontWeight?: string | number | undefined;
270
271 /**
272 * font family
273 *
274 * Can also be 'serif' , 'monospace', ...
275 *
276 * @default
277 * "sans-serif"
278 * @see https://echarts.apache.org/en/option.html#series-bar.label.fontFamily
279 */
280 fontFamily?: string | undefined;
281
282 /**
283 * font size
284 *
285 * @default
286 * 12
287 * @see https://echarts.apache.org/en/option.html#series-bar.label.fontSize
288 */
289 fontSize?: number | undefined;
290
291 /**
292 * Horizontal alignment of text, automatic by default.
293 *
294 * Options are:
295 *
296 * + `'left'`
297 * + `'center'`
298 * + `'right'`
299 *
300 * If `align` is not set in `rich`, `align` in parent level
301 * will be used. For example:
302 *
303 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
304 *
305 * @see https://echarts.apache.org/en/option.html#series-bar.label.align
306 */
307 align?: string | undefined;
308
309 /**
310 * Vertical alignment of text, automatic by default.
311 *
312 * Options are:
313 *
314 * + `'top'`
315 * + `'middle'`
316 * + `'bottom'`
317 *
318 * If `verticalAlign` is not set in `rich`, `verticalAlign`
319 * in parent level will be used. For example:
320 *
321 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
322 *
323 * @see https://echarts.apache.org/en/option.html#series-bar.label.verticalAlign
324 */
325 verticalAlign?: string | undefined;
326
327 /**
328 * Line height of the text fregment.
329 *
330 * If `lineHeight` is not set in `rich`, `lineHeight` in parent
331 * level will be used. For example:
332 *
333 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
334 *
335 * @see https://echarts.apache.org/en/option.html#series-bar.label.lineHeight
336 */
337 lineHeight?: number | undefined;
338
339 /**
340 * Background color of the text fregment.
341 *
342 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
343 *
344 * Or image can be used, for example:
345 *
346 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
347 *
348 * `width` or `height` can be specified when using background
349 * image, or auto adapted by default.
350 *
351 * If set as `'auto'`, the color will assigned as visual color,
352 * such as series color.
353 *
354 * @default
355 * "transparent"
356 * @see https://echarts.apache.org/en/option.html#series-bar.label.backgroundColor
357 */
358 backgroundColor?: object | string | undefined;
359
360 /**
361 * Border color of the text fregment.
362 *
363 * If set as `'auto'`, the color will assigned as visual color,
364 * such as series color.
365 *
366 * @default
367 * "transparent"
368 * @see https://echarts.apache.org/en/option.html#series-bar.label.borderColor
369 */
370 borderColor?: string | undefined;
371
372 /**
373 * Border width of the text fregment.
374 *
375 * @see https://echarts.apache.org/en/option.html#series-bar.label.borderWidth
376 */
377 borderWidth?: number | undefined;
378
379 /**
380 * Border radius of the text fregment.
381 *
382 * @see https://echarts.apache.org/en/option.html#series-bar.label.borderRadius
383 */
384 borderRadius?: number | undefined;
385
386 /**
387 * Padding of the text fregment, for example:
388 *
389 * + `padding: [3, 4, 5, 6]`: represents padding of `[top, right,
390 * bottom, left]`.
391 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
392 * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
393 *
394 * Notice, `width` and `height` specifies the width and height
395 * of the content, without `padding`.
396 *
397 * @see https://echarts.apache.org/en/option.html#series-bar.label.padding
398 */
399 padding?: any[] | number | undefined;
400
401 /**
402 * Shadow color of the text block.
403 *
404 * @default
405 * "transparent"
406 * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowColor
407 */
408 shadowColor?: string | undefined;
409
410 /**
411 * Show blur of the text block.
412 *
413 * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowBlur
414 */
415 shadowBlur?: number | undefined;
416
417 /**
418 * Shadow X offset of the text block.
419 *
420 * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowOffsetX
421 */
422 shadowOffsetX?: number | undefined;
423
424 /**
425 * Shadow Y offset of the text block.
426 *
427 * @see https://echarts.apache.org/en/option.html#series-bar.label.shadowOffsetY
428 */
429 shadowOffsetY?: number | undefined;
430
431 /**
432 * Width of the text block.
433 * It is the width of the text by default.
434 * In most cases, there is no need to specify it.
435 * You may want to use it in some cases like make simple table
436 * or using background image (see `backgroundColor`).
437 *
438 * Notice, `width` and `height` specifies the width and height
439 * of the content, without `padding`.
440 *
441 * `width` can also be percent string, like `'100%'`, which
442 * represents the percent of `contentWidth` (that is, the width
443 * without `padding`) of its container box.
444 * It is based on `contentWidth` because that each text fregment
445 * is layout based on the `content box`, where it makes no sense
446 * that calculating width based on `outerWith` in prectice.
447 *
448 * Notice, `width` and `height` only work when `rich` specified.
449 *
450 * @see https://echarts.apache.org/en/option.html#series-bar.label.width
451 */
452 width?: number | string | undefined;
453
454 /**
455 * Height of the text block.
456 * It is the width of the text by default.
457 * You may want to use it in some cases like using background
458 * image (see `backgroundColor`).
459 *
460 * Notice, `width` and `height` specifies the width and height
461 * of the content, without `padding`.
462 *
463 * Notice, `width` and `height` only work when `rich` specified.
464 *
465 * @see https://echarts.apache.org/en/option.html#series-bar.label.height
466 */
467 height?: number | string | undefined;
468
469 /**
470 * Storke color of the text.
471 *
472 * If set as `'auto'`, the color will assigned as visual color,
473 * such as series color.
474 *
475 * @default
476 * "transparent"
477 * @see https://echarts.apache.org/en/option.html#series-bar.label.textBorderColor
478 */
479 textBorderColor?: string | undefined;
480
481 /**
482 * Storke line width of the text.
483 *
484 * @see https://echarts.apache.org/en/option.html#series-bar.label.textBorderWidth
485 */
486 textBorderWidth?: number | undefined;
487
488 /**
489 * Shadow color of the text itself.
490 *
491 * @default
492 * "transparent"
493 * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowColor
494 */
495 textShadowColor?: string | undefined;
496
497 /**
498 * Shadow blue of the text itself.
499 *
500 * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowBlur
501 */
502 textShadowBlur?: number | undefined;
503
504 /**
505 * Shadow X offset of the text itself.
506 *
507 * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowOffsetX
508 */
509 textShadowOffsetX?: number | undefined;
510
511 /**
512 * Shadow Y offset of the text itself.
513 *
514 * @see https://echarts.apache.org/en/option.html#series-bar.label.textShadowOffsetY
515 */
516 textShadowOffsetY?: number | undefined;
517
518 /**
519 * "Rich text styles" can be defined in this `rich` property.
520 * For example:
521 *
522 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label)
523 *
524 * For more details, see
525 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
526 * please.
527 *
528 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich
529 */
530 rich?: {
531 /**
532 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E
533 */
534 [userStyle: string]: {
535 /**
536 * text color.
537 *
538 * If set as `'auto'`, the color will assigned as visual
539 * color, such as series color.
540 *
541 * @default
542 * ""#fff""
543 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.color
544 */
545 color?: string | undefined;
546
547 /**
548 * font style
549 *
550 * Options are:
551 *
552 * + `'normal'`
553 * + `'italic'`
554 * + `'oblique'`
555 *
556 * @default
557 * "normal"
558 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
559 */
560 fontStyle?: string | undefined;
561
562 /**
563 * font thick weight
564 *
565 * Options are:
566 *
567 * + `'normal'`
568 * + `'bold'`
569 * + `'bolder'`
570 * + `'lighter'`
571 * + 100 | 200 | 300 | 400...
572 *
573 * @default
574 * "normal"
575 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
576 */
577 fontWeight?: string | number | undefined;
578
579 /**
580 * font family
581 *
582 * Can also be 'serif' , 'monospace', ...
583 *
584 * @default
585 * "sans-serif"
586 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
587 */
588 fontFamily?: string | undefined;
589
590 /**
591 * font size
592 *
593 * @default
594 * 12
595 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
596 */
597 fontSize?: number | undefined;
598
599 /**
600 * Horizontal alignment of text, automatic by default.
601 *
602 * Options are:
603 *
604 * + `'left'`
605 * + `'center'`
606 * + `'right'`
607 *
608 * If `align` is not set in `rich`, `align` in parent
609 * level will be used. For example:
610 *
611 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
612 *
613 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.align
614 */
615 align?: string | undefined;
616
617 /**
618 * Vertical alignment of text, automatic by default.
619 *
620 * Options are:
621 *
622 * + `'top'`
623 * + `'middle'`
624 * + `'bottom'`
625 *
626 * If `verticalAlign` is not set in `rich`, `verticalAlign`
627 * in parent level will be used. For example:
628 *
629 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
630 *
631 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
632 */
633 verticalAlign?: string | undefined;
634
635 /**
636 * Line height of the text fregment.
637 *
638 * If `lineHeight` is not set in `rich`, `lineHeight`
639 * in parent level will be used. For example:
640 *
641 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
642 *
643 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
644 */
645 lineHeight?: number | undefined;
646
647 /**
648 * Background color of the text fregment.
649 *
650 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
651 *
652 * Or image can be used, for example:
653 *
654 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.label.rich.%3Cuser%20defined%20style%20name%3E)
655 *
656 * `width` or `height` can be specified when using background
657 * image, or auto adapted by default.
658 *
659 * If set as `'auto'`, the color will assigned as visual
660 * color, such as series color.
661 *
662 * @default
663 * "transparent"
664 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
665 */
666 backgroundColor?: object | string | undefined;
667
668 /**
669 * Border color of the text fregment.
670 *
671 * If set as `'auto'`, the color will assigned as visual
672 * color, such as series color.
673 *
674 * @default
675 * "transparent"
676 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
677 */
678 borderColor?: string | undefined;
679
680 /**
681 * Border width of the text fregment.
682 *
683 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
684 */
685 borderWidth?: number | undefined;
686
687 /**
688 * Border radius of the text fregment.
689 *
690 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
691 */
692 borderRadius?: number | undefined;
693
694 /**
695 * Padding of the text fregment, for example:
696 *
697 * + `padding: [3, 4, 5, 6]`: represents padding of
698 * `[top, right, bottom, left]`.
699 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
700 * + `padding: [3, 4]`: represents `padding: [3, 4,
701 * 3, 4]`.
702 *
703 * Notice, `width` and `height` specifies the width
704 * and height of the content, without `padding`.
705 *
706 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.padding
707 */
708 padding?: any[] | number | undefined;
709
710 /**
711 * Shadow color of the text block.
712 *
713 * @default
714 * "transparent"
715 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
716 */
717 shadowColor?: string | undefined;
718
719 /**
720 * Show blur of the text block.
721 *
722 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
723 */
724 shadowBlur?: number | undefined;
725
726 /**
727 * Shadow X offset of the text block.
728 *
729 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
730 */
731 shadowOffsetX?: number | undefined;
732
733 /**
734 * Shadow Y offset of the text block.
735 *
736 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
737 */
738 shadowOffsetY?: number | undefined;
739
740 /**
741 * Width of the text block.
742 * It is the width of the text by default.
743 * In most cases, there is no need to specify it.
744 * You may want to use it in some cases like make simple
745 * table or using background image (see `backgroundColor`).
746 *
747 * Notice, `width` and `height` specifies the width
748 * and height of the content, without `padding`.
749 *
750 * `width` can also be percent string, like `'100%'`,
751 * which represents the percent of `contentWidth` (that
752 * is, the width without `padding`) of its container
753 * box.
754 * It is based on `contentWidth` because that each text
755 * fregment is layout based on the `content box`, where
756 * it makes no sense that calculating width based on
757 * `outerWith` in prectice.
758 *
759 * Notice, `width` and `height` only work when `rich`
760 * specified.
761 *
762 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.width
763 */
764 width?: number | string | undefined;
765
766 /**
767 * Height of the text block.
768 * It is the width of the text by default.
769 * You may want to use it in some cases like using background
770 * image (see `backgroundColor`).
771 *
772 * Notice, `width` and `height` specifies the width
773 * and height of the content, without `padding`.
774 *
775 * Notice, `width` and `height` only work when `rich`
776 * specified.
777 *
778 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.height
779 */
780 height?: number | string | undefined;
781
782 /**
783 * Storke color of the text.
784 *
785 * If set as `'auto'`, the color will assigned as visual
786 * color, such as series color.
787 *
788 * @default
789 * "transparent"
790 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
791 */
792 textBorderColor?: string | undefined;
793
794 /**
795 * Storke line width of the text.
796 *
797 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
798 */
799 textBorderWidth?: number | undefined;
800
801 /**
802 * Shadow color of the text itself.
803 *
804 * @default
805 * "transparent"
806 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
807 */
808 textShadowColor?: string | undefined;
809
810 /**
811 * Shadow blue of the text itself.
812 *
813 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
814 */
815 textShadowBlur?: number | undefined;
816
817 /**
818 * Shadow X offset of the text itself.
819 *
820 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
821 */
822 textShadowOffsetX?: number | undefined;
823
824 /**
825 * Shadow Y offset of the text itself.
826 *
827 * @see https://echarts.apache.org/en/option.html#series-bar.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
828 */
829 textShadowOffsetY?: number | undefined;
830 };
831 } | undefined;
832 } | undefined;
833
834 /**
835 * Graphic style of , `emphasis` is the style when it is highlighted,
836 * like being hovered by mouse, or highlighted via legend connect.
837 *
838 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle
839 */
840 itemStyle?: {
841 /**
842 * Some properties like "normal" or "emphasis" are not documented.
843 * Please, write description for them
844 */
845 [unknownProperty: string]: any;
846
847 /**
848 * Bar color. defaults to acquire colors from global palette
849 * [option.color](https://echarts.apache.org/en/option.html#color)
850 * .
851 *
852 * @default
853 * "auto"
854 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.color
855 */
856 color?: EChartOption.Color | undefined;
857
858 /**
859 * The bodrder color of bar.
860 *
861 * @default
862 * '#000'
863 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.barBorderColor
864 */
865 barBorderColor?: string | undefined;
866
867 /**
868 * The bodrder width of bar. defaults to have no border.
869 *
870 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.barBorderWidth
871 */
872 barBorderWidth?: number | undefined;
873
874 /**
875 * The radius of rounded corner.
876 * Its unit is px.
877 * And it supports use array to respectively specify the 4 corner
878 * radiuses.
879 *
880 * For example:
881 *
882 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.itemStyle)
883 *
884 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.barBorderRadius
885 */
886 barBorderRadius?: any[] | number | undefined;
887
888 /**
889 * Size of shadow blur.
890 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
891 * `shadowOffsetY` to set shadow to component.
892 *
893 * For example:
894 *
895 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.itemStyle)
896 *
897 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowBlur
898 */
899 shadowBlur?: number | undefined;
900
901 /**
902 * Shadow color. Support same format as `color`.
903 *
904 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowColor
905 */
906 shadowColor?: EChartOption.Color | undefined;
907
908 /**
909 * Offset distance on the horizontal direction of shadow.
910 *
911 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowOffsetX
912 */
913 shadowOffsetX?: number | undefined;
914
915 /**
916 * Offset distance on the vertical direction of shadow.
917 *
918 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.shadowOffsetY
919 */
920 shadowOffsetY?: number | undefined;
921
922 /**
923 * Opacity of the component.
924 * Supports value from 0 to 1, and the component will not be
925 * drawn when set to 0.
926 *
927 * @see https://echarts.apache.org/en/option.html#series-bar.itemStyle.opacity
928 */
929 opacity?: number | undefined;
930 } | undefined;
931
932 /**
933 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis
934 */
935 emphasis?: {
936 /**
937 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label
938 */
939 label?: {
940 /**
941 * Whether to show label.
942 *
943 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.show
944 */
945 show?: boolean | undefined;
946
947 /**
948 * Label position.
949 *
950 * **Followings are the options:**
951 *
952 * + \[x, y\]
953 *
954 * Use relative percentage, or absolute pixel values to
955 * represent position of label relative to top-left corner
956 * of bounding box. For example:
957 *
958 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
959 *
960 * + 'top'
961 *
962 * + 'left'
963 * + 'right'
964 * + 'bottom'
965 * + 'inside'
966 * + 'insideLeft'
967 * + 'insideRight'
968 * + 'insideTop'
969 * + 'insideBottom'
970 * + 'insideTopLeft'
971 * + 'insideBottomLeft'
972 * + 'insideTopRight'
973 * + 'insideBottomRight'
974 *
975 * See:
976 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
977 * .
978 *
979 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.position
980 */
981 position?: any[] | string | undefined;
982
983 /**
984 * Distance to the host graphic element.
985 * Works when position is string value (like `'top'`、`'insideRight'`).
986 *
987 * See:
988 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
989 * .
990 *
991 * @default
992 * 5
993 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.distance
994 */
995 distance?: number | undefined;
996
997 /**
998 * Rotate label, from -90 degree to 90, positive value represents
999 * rotate anti-clockwise.
1000 *
1001 * See:
1002 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
1003 * .
1004 *
1005 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rotate
1006 */
1007 rotate?: number | undefined;
1008
1009 /**
1010 * Whether to move text slightly.
1011 * For example: `[30, 40]` means move `30` horizontally
1012 * and move `40` vertically.
1013 *
1014 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.offset
1015 */
1016 offset?: any[] | undefined;
1017
1018 /**
1019 * Data label formatter, which supports string template
1020 * and callback function.
1021 * In either form, `\n` is supported to represent a new
1022 * line.
1023 *
1024 * **String template**
1025 *
1026 * Model variation includes:
1027 *
1028 * + `{a}`: series name.
1029 * + `{b}`: the name of a data item.
1030 * + `{c}`: the value of a data item.
1031 * + `{@xxx}: the value of a dimension named`'xxx'`, for
1032 * example,`{@product}`refers the value of`'product'\` dimension。
1033 * + `{@[n]}: the value of a dimension at the index of`n`,
1034 * for example,`{@\[3\]}\` refers the value at dimensions\[3\].
1035 *
1036 * **example:**
1037 *
1038 * ```
1039 * formatter: '{b}: {@score}'
1040 *
1041 * ```
1042 *
1043 * **Callback function**
1044 *
1045 * Callback function is in form of:
1046 *
1047 * ```
1048 * (params: Object|Array) => string
1049 *
1050 * ```
1051 *
1052 * where `params` is the single dataset needed by formatter,
1053 * which is formed as:
1054 *
1055 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
1056 *
1057 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.formatter
1058 */
1059 formatter?: Function | string | undefined;
1060
1061 /**
1062 * text color.
1063 *
1064 * If set as `'auto'`, the color will assigned as visual
1065 * color, such as series color.
1066 *
1067 * @default
1068 * ""#fff""
1069 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.color
1070 */
1071 color?: string | undefined;
1072
1073 /**
1074 * font style
1075 *
1076 * Options are:
1077 *
1078 * + `'normal'`
1079 * + `'italic'`
1080 * + `'oblique'`
1081 *
1082 * @default
1083 * "normal"
1084 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontStyle
1085 */
1086 fontStyle?: string | undefined;
1087
1088 /**
1089 * font thick weight
1090 *
1091 * Options are:
1092 *
1093 * + `'normal'`
1094 * + `'bold'`
1095 * + `'bolder'`
1096 * + `'lighter'`
1097 * + 100 | 200 | 300 | 400...
1098 *
1099 * @default
1100 * "normal"
1101 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontWeight
1102 */
1103 fontWeight?: string | number | undefined;
1104
1105 /**
1106 * font family
1107 *
1108 * Can also be 'serif' , 'monospace', ...
1109 *
1110 * @default
1111 * "sans-serif"
1112 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontFamily
1113 */
1114 fontFamily?: string | undefined;
1115
1116 /**
1117 * font size
1118 *
1119 * @default
1120 * 12
1121 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.fontSize
1122 */
1123 fontSize?: number | undefined;
1124
1125 /**
1126 * Horizontal alignment of text, automatic by default.
1127 *
1128 * Options are:
1129 *
1130 * + `'left'`
1131 * + `'center'`
1132 * + `'right'`
1133 *
1134 * If `align` is not set in `rich`, `align` in parent level
1135 * will be used. For example:
1136 *
1137 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
1138 *
1139 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.align
1140 */
1141 align?: string | undefined;
1142
1143 /**
1144 * Vertical alignment of text, automatic by default.
1145 *
1146 * Options are:
1147 *
1148 * + `'top'`
1149 * + `'middle'`
1150 * + `'bottom'`
1151 *
1152 * If `verticalAlign` is not set in `rich`, `verticalAlign`
1153 * in parent level will be used. For example:
1154 *
1155 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
1156 *
1157 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.verticalAlign
1158 */
1159 verticalAlign?: string | undefined;
1160
1161 /**
1162 * Line height of the text fregment.
1163 *
1164 * If `lineHeight` is not set in `rich`, `lineHeight` in
1165 * parent level will be used. For example:
1166 *
1167 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
1168 *
1169 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.lineHeight
1170 */
1171 lineHeight?: number | undefined;
1172
1173 /**
1174 * Background color of the text fregment.
1175 *
1176 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
1177 *
1178 * Or image can be used, for example:
1179 *
1180 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
1181 *
1182 * `width` or `height` can be specified when using background
1183 * image, or auto adapted by default.
1184 *
1185 * If set as `'auto'`, the color will assigned as visual
1186 * color, such as series color.
1187 *
1188 * @default
1189 * "transparent"
1190 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.backgroundColor
1191 */
1192 backgroundColor?: object | string | undefined;
1193
1194 /**
1195 * Border color of the text fregment.
1196 *
1197 * If set as `'auto'`, the color will assigned as visual
1198 * color, such as series color.
1199 *
1200 * @default
1201 * "transparent"
1202 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.borderColor
1203 */
1204 borderColor?: string | undefined;
1205
1206 /**
1207 * Border width of the text fregment.
1208 *
1209 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.borderWidth
1210 */
1211 borderWidth?: number | undefined;
1212
1213 /**
1214 * Border radius of the text fregment.
1215 *
1216 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.borderRadius
1217 */
1218 borderRadius?: number | undefined;
1219
1220 /**
1221 * Padding of the text fregment, for example:
1222 *
1223 * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
1224 * right, bottom, left]`.
1225 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
1226 * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
1227 *
1228 * Notice, `width` and `height` specifies the width and
1229 * height of the content, without `padding`.
1230 *
1231 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.padding
1232 */
1233 padding?: any[] | number | undefined;
1234
1235 /**
1236 * Shadow color of the text block.
1237 *
1238 * @default
1239 * "transparent"
1240 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowColor
1241 */
1242 shadowColor?: string | undefined;
1243
1244 /**
1245 * Show blur of the text block.
1246 *
1247 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowBlur
1248 */
1249 shadowBlur?: number | undefined;
1250
1251 /**
1252 * Shadow X offset of the text block.
1253 *
1254 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowOffsetX
1255 */
1256 shadowOffsetX?: number | undefined;
1257
1258 /**
1259 * Shadow Y offset of the text block.
1260 *
1261 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.shadowOffsetY
1262 */
1263 shadowOffsetY?: number | undefined;
1264
1265 /**
1266 * Width of the text block.
1267 * It is the width of the text by default.
1268 * In most cases, there is no need to specify it.
1269 * You may want to use it in some cases like make simple
1270 * table or using background image (see `backgroundColor`).
1271 *
1272 * Notice, `width` and `height` specifies the width and
1273 * height of the content, without `padding`.
1274 *
1275 * `width` can also be percent string, like `'100%'`, which
1276 * represents the percent of `contentWidth` (that is, the
1277 * width without `padding`) of its container box.
1278 * It is based on `contentWidth` because that each text
1279 * fregment is layout based on the `content box`, where
1280 * it makes no sense that calculating width based on `outerWith`
1281 * in prectice.
1282 *
1283 * Notice, `width` and `height` only work when `rich` specified.
1284 *
1285 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.width
1286 */
1287 width?: number | string | undefined;
1288
1289 /**
1290 * Height of the text block.
1291 * It is the width of the text by default.
1292 * You may want to use it in some cases like using background
1293 * image (see `backgroundColor`).
1294 *
1295 * Notice, `width` and `height` specifies the width and
1296 * height of the content, without `padding`.
1297 *
1298 * Notice, `width` and `height` only work when `rich` specified.
1299 *
1300 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.height
1301 */
1302 height?: number | string | undefined;
1303
1304 /**
1305 * Storke color of the text.
1306 *
1307 * If set as `'auto'`, the color will assigned as visual
1308 * color, such as series color.
1309 *
1310 * @default
1311 * "transparent"
1312 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textBorderColor
1313 */
1314 textBorderColor?: string | undefined;
1315
1316 /**
1317 * Storke line width of the text.
1318 *
1319 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textBorderWidth
1320 */
1321 textBorderWidth?: number | undefined;
1322
1323 /**
1324 * Shadow color of the text itself.
1325 *
1326 * @default
1327 * "transparent"
1328 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowColor
1329 */
1330 textShadowColor?: string | undefined;
1331
1332 /**
1333 * Shadow blue of the text itself.
1334 *
1335 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowBlur
1336 */
1337 textShadowBlur?: number | undefined;
1338
1339 /**
1340 * Shadow X offset of the text itself.
1341 *
1342 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowOffsetX
1343 */
1344 textShadowOffsetX?: number | undefined;
1345
1346 /**
1347 * Shadow Y offset of the text itself.
1348 *
1349 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.textShadowOffsetY
1350 */
1351 textShadowOffsetY?: number | undefined;
1352
1353 /**
1354 * "Rich text styles" can be defined in this `rich` property.
1355 * For example:
1356 *
1357 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label)
1358 *
1359 * For more details, see
1360 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
1361 * please.
1362 *
1363 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich
1364 */
1365 rich?: {
1366 /**
1367 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E
1368 */
1369 [userStyle: string]: {
1370 /**
1371 * text color.
1372 *
1373 * If set as `'auto'`, the color will assigned as
1374 * visual color, such as series color.
1375 *
1376 * @default
1377 * ""#fff""
1378 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.color
1379 */
1380 color?: string | undefined;
1381
1382 /**
1383 * font style
1384 *
1385 * Options are:
1386 *
1387 * + `'normal'`
1388 * + `'italic'`
1389 * + `'oblique'`
1390 *
1391 * @default
1392 * "normal"
1393 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
1394 */
1395 fontStyle?: string | undefined;
1396
1397 /**
1398 * font thick weight
1399 *
1400 * Options are:
1401 *
1402 * + `'normal'`
1403 * + `'bold'`
1404 * + `'bolder'`
1405 * + `'lighter'`
1406 * + 100 | 200 | 300 | 400...
1407 *
1408 * @default
1409 * "normal"
1410 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
1411 */
1412 fontWeight?: string | number | undefined;
1413
1414 /**
1415 * font family
1416 *
1417 * Can also be 'serif' , 'monospace', ...
1418 *
1419 * @default
1420 * "sans-serif"
1421 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
1422 */
1423 fontFamily?: string | undefined;
1424
1425 /**
1426 * font size
1427 *
1428 * @default
1429 * 12
1430 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
1431 */
1432 fontSize?: number | undefined;
1433
1434 /**
1435 * Horizontal alignment of text, automatic by default.
1436 *
1437 * Options are:
1438 *
1439 * + `'left'`
1440 * + `'center'`
1441 * + `'right'`
1442 *
1443 * If `align` is not set in `rich`, `align` in parent
1444 * level will be used. For example:
1445 *
1446 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
1447 *
1448 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.align
1449 */
1450 align?: string | undefined;
1451
1452 /**
1453 * Vertical alignment of text, automatic by default.
1454 *
1455 * Options are:
1456 *
1457 * + `'top'`
1458 * + `'middle'`
1459 * + `'bottom'`
1460 *
1461 * If `verticalAlign` is not set in `rich`, `verticalAlign`
1462 * in parent level will be used. For example:
1463 *
1464 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
1465 *
1466 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
1467 */
1468 verticalAlign?: string | undefined;
1469
1470 /**
1471 * Line height of the text fregment.
1472 *
1473 * If `lineHeight` is not set in `rich`, `lineHeight`
1474 * in parent level will be used. For example:
1475 *
1476 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
1477 *
1478 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
1479 */
1480 lineHeight?: number | undefined;
1481
1482 /**
1483 * Background color of the text fregment.
1484 *
1485 * Can be color string, like `'#123234'`, `'red'`,
1486 * `rgba(0,23,11,0.3)'`.
1487 *
1488 * Or image can be used, for example:
1489 *
1490 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E)
1491 *
1492 * `width` or `height` can be specified when using
1493 * background image, or auto adapted by default.
1494 *
1495 * If set as `'auto'`, the color will assigned as
1496 * visual color, such as series color.
1497 *
1498 * @default
1499 * "transparent"
1500 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
1501 */
1502 backgroundColor?: object | string | undefined;
1503
1504 /**
1505 * Border color of the text fregment.
1506 *
1507 * If set as `'auto'`, the color will assigned as
1508 * visual color, such as series color.
1509 *
1510 * @default
1511 * "transparent"
1512 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
1513 */
1514 borderColor?: string | undefined;
1515
1516 /**
1517 * Border width of the text fregment.
1518 *
1519 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
1520 */
1521 borderWidth?: number | undefined;
1522
1523 /**
1524 * Border radius of the text fregment.
1525 *
1526 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
1527 */
1528 borderRadius?: number | undefined;
1529
1530 /**
1531 * Padding of the text fregment, for example:
1532 *
1533 * + `padding: [3, 4, 5, 6]`: represents padding
1534 * of `[top, right, bottom, left]`.
1535 * + `padding: 4`: represents `padding: [4, 4, 4,
1536 * 4]`.
1537 * + `padding: [3, 4]`: represents `padding: [3,
1538 * 4, 3, 4]`.
1539 *
1540 * Notice, `width` and `height` specifies the width
1541 * and height of the content, without `padding`.
1542 *
1543 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.padding
1544 */
1545 padding?: any[] | number | undefined;
1546
1547 /**
1548 * Shadow color of the text block.
1549 *
1550 * @default
1551 * "transparent"
1552 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
1553 */
1554 shadowColor?: string | undefined;
1555
1556 /**
1557 * Show blur of the text block.
1558 *
1559 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
1560 */
1561 shadowBlur?: number | undefined;
1562
1563 /**
1564 * Shadow X offset of the text block.
1565 *
1566 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
1567 */
1568 shadowOffsetX?: number | undefined;
1569
1570 /**
1571 * Shadow Y offset of the text block.
1572 *
1573 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
1574 */
1575 shadowOffsetY?: number | undefined;
1576
1577 /**
1578 * Width of the text block.
1579 * It is the width of the text by default.
1580 * In most cases, there is no need to specify it.
1581 * You may want to use it in some cases like make
1582 * simple table or using background image (see `backgroundColor`).
1583 *
1584 * Notice, `width` and `height` specifies the width
1585 * and height of the content, without `padding`.
1586 *
1587 * `width` can also be percent string, like `'100%'`,
1588 * which represents the percent of `contentWidth`
1589 * (that is, the width without `padding`) of its
1590 * container box.
1591 * It is based on `contentWidth` because that each
1592 * text fregment is layout based on the `content
1593 * box`, where it makes no sense that calculating
1594 * width based on `outerWith` in prectice.
1595 *
1596 * Notice, `width` and `height` only work when `rich`
1597 * specified.
1598 *
1599 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.width
1600 */
1601 width?: number | string | undefined;
1602
1603 /**
1604 * Height of the text block.
1605 * It is the width of the text by default.
1606 * You may want to use it in some cases like using
1607 * background image (see `backgroundColor`).
1608 *
1609 * Notice, `width` and `height` specifies the width
1610 * and height of the content, without `padding`.
1611 *
1612 * Notice, `width` and `height` only work when `rich`
1613 * specified.
1614 *
1615 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.height
1616 */
1617 height?: number | string | undefined;
1618
1619 /**
1620 * Storke color of the text.
1621 *
1622 * If set as `'auto'`, the color will assigned as
1623 * visual color, such as series color.
1624 *
1625 * @default
1626 * "transparent"
1627 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
1628 */
1629 textBorderColor?: string | undefined;
1630
1631 /**
1632 * Storke line width of the text.
1633 *
1634 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
1635 */
1636 textBorderWidth?: number | undefined;
1637
1638 /**
1639 * Shadow color of the text itself.
1640 *
1641 * @default
1642 * "transparent"
1643 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
1644 */
1645 textShadowColor?: string | undefined;
1646
1647 /**
1648 * Shadow blue of the text itself.
1649 *
1650 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
1651 */
1652 textShadowBlur?: number | undefined;
1653
1654 /**
1655 * Shadow X offset of the text itself.
1656 *
1657 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
1658 */
1659 textShadowOffsetX?: number | undefined;
1660
1661 /**
1662 * Shadow Y offset of the text itself.
1663 *
1664 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
1665 */
1666 textShadowOffsetY?: number | undefined;
1667 };
1668 } | undefined;
1669 } | undefined;
1670
1671 /**
1672 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle
1673 */
1674 itemStyle?: {
1675 /**
1676 * Bar color..
1677 *
1678 * @default
1679 * "auto"
1680 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.color
1681 */
1682 color?: string | undefined;
1683
1684 /**
1685 * The bodrder color of bar.
1686 *
1687 * @default
1688 * '#000'
1689 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.barBorderColor
1690 */
1691 barBorderColor?: string | undefined;
1692
1693 /**
1694 * The bodrder width of bar. defaults to have no border.
1695 *
1696 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.barBorderWidth
1697 */
1698 barBorderWidth?: number | undefined;
1699
1700 /**
1701 * Size of shadow blur.
1702 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
1703 * `shadowOffsetY` to set shadow to component.
1704 *
1705 * For example:
1706 *
1707 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.emphasis.itemStyle)
1708 *
1709 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowBlur
1710 */
1711 shadowBlur?: number | undefined;
1712
1713 /**
1714 * Shadow color. Support same format as `color`.
1715 *
1716 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowColor
1717 */
1718 shadowColor?: string | undefined;
1719
1720 /**
1721 * Offset distance on the horizontal direction of shadow.
1722 *
1723 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowOffsetX
1724 */
1725 shadowOffsetX?: number | undefined;
1726
1727 /**
1728 * Offset distance on the vertical direction of shadow.
1729 *
1730 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.shadowOffsetY
1731 */
1732 shadowOffsetY?: number | undefined;
1733
1734 /**
1735 * Opacity of the component.
1736 * Supports value from 0 to 1, and the component will not
1737 * be drawn when set to 0.
1738 *
1739 * @see https://echarts.apache.org/en/option.html#series-bar.emphasis.itemStyle.opacity
1740 */
1741 opacity?: number | undefined;
1742 } | undefined;
1743 } | undefined;
1744
1745 /**
1746 * Name of stack.
1747 * On the same category axis, the series with the same `stack` name
1748 * would be put on top of each other.
1749 *
1750 * @see https://echarts.apache.org/en/option.html#series-bar.stack
1751 */
1752 stack?: string | undefined;
1753
1754 /**
1755 * The mouse style when mouse hovers on an element, the same as
1756 * `cursor` property in `CSS`.
1757 *
1758 * @default
1759 * "pointer"
1760 * @see https://echarts.apache.org/en/option.html#series-bar.cursor
1761 */
1762 cursor?: string | undefined;
1763
1764 /**
1765 * The width of the bar. Adaptive when not specified.
1766 *
1767 * Can be an absolute value like 40 or a percent value like '60%'. The percent is based on the calculated category width.
1768 *
1769 * In a single coodinate system, this attribute is shared by multiple
1770 * `'bar'` series.
1771 * This attribute should be set on the last `'bar'` series in the
1772 * coodinate system, then it will be adopted by all `'bar'` series
1773 * in the coordinate system.
1774 *
1775 * @see https://echarts.apache.org/en/option.html#series-bar.barWidth
1776 */
1777 barWidth?: number | string | undefined;
1778
1779 /**
1780 * The maximum width of the bar. Adaptive when not specified.
1781 *
1782 * Has higer priority than barWidth.
1783 *
1784 * Can be an absolute value like 40 or a percent value like '60%'. The percent is based on the calculated category width.
1785 *
1786 * In a single coodinate system, this attribute is shared by multiple
1787 * `'bar'` series.
1788 * This attribute should be set on the last `'bar'` series in the
1789 * coodinate system, then it will be adopted by all `'bar'` series
1790 * in the coordinate system.
1791 *
1792 * @see https://echarts.apache.org/en/option.html#series-bar.barMaxWidth
1793 */
1794 barMaxWidth?: number | string | undefined;
1795
1796 /**
1797 * The minimum width of the bar. In cartesian the default value is 1, otherwise the default value if null.
1798 *
1799 * Has higer priority than barWidth.
1800 *
1801 * Can be an absolute value like 40 or a percent value like ''60%''. The percent is based on the calculated category width.
1802 *
1803 * In a single coodinate system, this attribute is shared by multiple
1804 * ''bar'' series.
1805 * This attribute should be set on the last ''bar'' series in the
1806 * coodinate system, then it will be adopted by all 'bar' series
1807 * in the coordinate system.
1808 *
1809 * *
1810 * @see https://echarts.apache.org/en/option.html#series-bar.barMinWidth
1811 */
1812 barMinWidth?: number | string | undefined;
1813
1814 /**
1815 * The minimum width of bar.
1816 * It could be used to avoid the following situation: the interaction
1817 * would be affected when the value of some data item is too small.
1818 *
1819 * @see https://echarts.apache.org/en/option.html#series-bar.barMinHeight
1820 */
1821 barMinHeight?: number | undefined;
1822
1823 /**
1824 * The gap between bars between different series, is a percent value
1825 * like `'30%'`, which means `30%` of the bar width.
1826 *
1827 * Set barGap as `'-100%'` can overlap bars that belong to different
1828 * series, which is useful when making a series of bar be background.
1829 *
1830 * In a single coodinate system, this attribute is shared by multiple
1831 * `'bar'` series.
1832 * This attribute should be set on the last `'bar'` series in the
1833 * coodinate system, then it will be adopted by all `'bar'` series
1834 * in the coordinate system.
1835 *
1836 * For example:
1837 *
1838 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
1839 *
1840 * @default
1841 * 30%
1842 * @see https://echarts.apache.org/en/option.html#series-bar.barGap
1843 */
1844 barGap?: string | undefined;
1845
1846 /**
1847 * The bar gap of a single series, defaults to be `20%` of the category
1848 * gap, can be set as a fixed value.
1849 *
1850 * In a single coodinate system, this attribute is shared by multiple
1851 * `'bar'` series.
1852 * This attribute should be set on the last `'bar'` series in the
1853 * coodinate system, then it will be adopted by all `'bar'` series
1854 * in the coordinate system.
1855 *
1856 * @default
1857 * '20%'
1858 * @see https://echarts.apache.org/en/option.html#series-bar.barCategoryGap
1859 */
1860 barCategoryGap?: string | undefined;
1861
1862 /**
1863 * Whether to enable the optimization of large-scale data.
1864 * It could be set when large data causes performance problem.
1865 *
1866 * After being enabled, `largeThreshold` can be used to indicate
1867 * the minimum number for turning on the optimization.
1868 *
1869 * But when the optimization enabled, the style of single data item
1870 * can't be customized any more.
1871 *
1872 * @see https://echarts.apache.org/en/option.html#series-bar.large
1873 */
1874 large?: boolean | undefined;
1875
1876 /**
1877 * The threshold enabling the drawing optimization.
1878 *
1879 * @default
1880 * 400
1881 * @see https://echarts.apache.org/en/option.html#series-bar.largeThreshold
1882 */
1883 largeThreshold?: number | undefined;
1884
1885 /**
1886 * `progressive` specifies the amount of graphic elements that can
1887 * be rendered within a frame (about 16ms) if "progressive rendering"
1888 * enabled.
1889 *
1890 * When data amount is from thousand to more than 10 million, it
1891 * will take too long time to render all of the graphic elements.
1892 * Since ECharts 4, "progressive rendering" is supported in its
1893 * workflow, which processes and renders data chunk by chunk alone
1894 * with each frame, avoiding to block the UI thread of the browser.
1895 *
1896 * @default
1897 * 5000
1898 * @see https://echarts.apache.org/en/option.html#series-bar.progressive
1899 */
1900 progressive?: number | undefined;
1901
1902 /**
1903 * If current data amount is over the threshold, "progressive rendering"
1904 * is enabled.
1905 *
1906 * @default
1907 * 3000
1908 * @see https://echarts.apache.org/en/option.html#series-bar.progressiveThreshold
1909 */
1910 progressiveThreshold?: number | undefined;
1911
1912 /**
1913 * Chunk approach, optional values:
1914 *
1915 * + `'sequential'`: slice data by data index.
1916 * + `'mod'`: slice data by mod, which make the data items of each
1917 * chunk coming from all over the data, bringing better visual effect
1918 * while progressive rendering.
1919 *
1920 * @default
1921 * "mod"
1922 * @see https://echarts.apache.org/en/option.html#series-bar.progressiveChunkMode
1923 */
1924 progressiveChunkMode?: string | undefined;
1925
1926 /**
1927 * `dimensions` can be used to define dimension info for `series.data`
1928 * or `dataset.source`.
1929 *
1930 * Notice: if
1931 * [dataset](https://echarts.apache.org/en/option.html#dataset)
1932 * is used, we can provide dimension names in the first column/row
1933 * of
1934 * [dataset.source](https://echarts.apache.org/en/option.html#dataset.source)
1935 * , and not need to specify `dimensions` here.
1936 * But if `dimensions` is specified here, echarts will not retrieve
1937 * dimension names from the first row/column of `dataset.source`
1938 * any more.
1939 *
1940 * For example:
1941 *
1942 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
1943 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
1944 *
1945 * Each data item of `dimensions` can be:
1946 *
1947 * + `string`, for example, `'someName'`, which equals to `{name:
1948 * 'someName'}`.
1949 * + `Object`, where the attributes can be:
1950 * + name: `string`.
1951 * + type: `string`, supports:
1952 * + `number`
1953 * + `float`, that is,
1954 * [Float64Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array)
1955 *
1956 * + `int`, that is,
1957 * [Int32Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array)
1958 *
1959 * + `ordinal`, discrete value, which represents string generally.
1960 * + `time`, time value, see
1961 * [data](https://echarts.apache.org/en/option.html#series.data)
1962 * to check the format of time value.
1963 * + displayName: `string`, generally used in tooltip for dimension
1964 * display. If not specified, use `name` by default.
1965 *
1966 * When `dimensions` is specified, the default `tooltip` will be
1967 * displayed vertically, which is better to show diemsion names.
1968 * Otherwise, `tooltip` will displayed only value horizontally.
1969 *
1970 * @see https://echarts.apache.org/en/option.html#series-bar.dimensions
1971 */
1972 dimensions?: any[] | undefined;
1973
1974 /**
1975 * Define what is encoded to for each dimension of `data`.
1976 * For example:
1977 *
1978 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
1979 *
1980 * Attributes of encode are different according to the type of coordinate
1981 * systtems. For
1982 * [cartesian2d](https://echarts.apache.org/en/option.html#grid)
1983 * , `x` and `y` can be defined. For
1984 * [polar](https://echarts.apache.org/en/option.html#polar)
1985 * , `radius` and `angle` can be defined. For
1986 * [geo](https://echarts.apache.org/en/option.html#geo)
1987 * , `lng` and `lat` can be defined.
1988 * Attribute `tooltip` and `itemName` (data item name in tooltip)
1989 * are always able to be defined.
1990 *
1991 * When
1992 * [dimensions](https://echarts.apache.org/en/option.html#series.dimensions)
1993 * is used to defined name for a certain dimension, `encode` can
1994 * refer the name directly. For example:
1995 *
1996 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
1997 *
1998 * Specially, in \[custom series(~series-custom), some property
1999 * in `encode`, corresponding to axis, can be set as null to make
2000 * the series not controlled by the axis, that is, the series data
2001 * will not be count in the extent of the axis, and the
2002 * [dataZoom](https://echarts.apache.org/en/option.html#dataZoom)
2003 * on the axis will not filter the series.
2004 *
2005 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
2006 *
2007 * @see https://echarts.apache.org/en/option.html#series-bar.encode
2008 */
2009 encode?: object | undefined;
2010
2011 /**
2012 * When
2013 * [dataset](https://echarts.apache.org/en/option.html#dataset)
2014 * is used, `seriesLayoutBy` specifies whether the column or the
2015 * row of `dataset` is mapped to the series, namely, the series
2016 * is "layout" on columns or rows. Optional values:
2017 *
2018 * + 'column': by default, the columns of `dataset` are mapped the
2019 * series. In this case, each column represents a dimension.
2020 * + 'row':the rows of `dataset` are mapped to the series.
2021 * In this case, each row represents a dimension.
2022 *
2023 * Check this
2024 * [example](https://echarts.apache.org/examples/en/editor.html?c=dataset-series-layout-by)
2025 * .
2026 *
2027 * @default
2028 * "column"
2029 * @see https://echarts.apache.org/en/option.html#series-bar.seriesLayoutBy
2030 */
2031 seriesLayoutBy?: string | undefined;
2032
2033 /**
2034 * If
2035 * [series.data](https://echarts.apache.org/en/option.html#series.data)
2036 * is not specified, and
2037 * [dataset](https://echarts.apache.org/en/option.html#dataset)
2038 * exists, the series will use `dataset`.
2039 * `datasetIndex` specifies which dataset will be used.
2040 *
2041 * @see https://echarts.apache.org/en/option.html#series-bar.datasetIndex
2042 */
2043 datasetIndex?: number | undefined;
2044
2045 /**
2046 * Data array of series, which can be in the following forms:
2047 *
2048 * Notice, if no `data` specified in series, and there is
2049 * [dataset](https://echarts.apache.org/en/option.html#dataset)
2050 * in option, series will use the first
2051 * [dataset](https://echarts.apache.org/en/option.html#dataset)
2052 * as its datasource. If `data` has been specified,
2053 * [dataset](https://echarts.apache.org/en/option.html#dataset)
2054 * will not used.
2055 *
2056 * `series.datasetIndex` can be used to specify other
2057 * [dataset](https://echarts.apache.org/en/option.html#dataset)
2058 * .
2059 *
2060 * Basically, data is represented by a two-dimension array, like
2061 * the example below, where each colum is named as a "dimension".
2062 *
2063 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
2064 *
2065 * + In
2066 * [cartesian (grid)](https://echarts.apache.org/en/option.html#grid)
2067 * , "dimX" and "dimY" correspond to
2068 * [xAxis](https://echarts.apache.org/en/option.html#xAxis)
2069 * and
2070 * [yAxis](https://echarts.apache.org/en/option.html#yAxis)
2071 * repectively.
2072 * + In
2073 * [polar](https://echarts.apache.org/en/option.html#polar)
2074 * "dimX" and "dimY" correspond to
2075 * [radiusAxis](https://echarts.apache.org/en/option.html#radiusAxis)
2076 * 和
2077 * [angleAxis](https://echarts.apache.org/en/option.html#anbleAxis)
2078 * repectively.
2079 * + Other dimensions are optional, which can be used in other place.
2080 * For example:
2081 * + [visualMap](https://echarts.apache.org/en/option.html#visualMap)
2082 * can map one or more dimensions to viusal (color, symbol size
2083 * ...).
2084 * + [series.symbolSize](https://echarts.apache.org/en/option.html#series.symbolSize)
2085 * can be set as a callback function, where symbol size can be calculated
2086 * by values of a certain dimension.
2087 * + Values in other dimensions can be shown by
2088 * [tooltip.formatter](https://echarts.apache.org/en/option.html#tooltip.formatter)
2089 * or
2090 * [series.label.formatter](https://echarts.apache.org/en/option.html#series.label.formatter)
2091 * .
2092 *
2093 * Especially, when there is one and only one category axis (axis.type
2094 * is `'category'`), data can be simply be represented by a one-dimension
2095 * array, like:
2096 *
2097 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
2098 *
2099 * **Relationship between "value" and
2100 * [axis.type](https://echarts.apache.org/en/option.html#xAxis.type)
2101 * **
2102 *
2103 * + When a dimension corresponds to a value axis (axis.type
2104 * is `'value'` or `'log'`):
2105 *
2106 * The value can be a `number` (like `12`) (can also be a number
2107 * in a `string` format, like `'12'`).
2108 *
2109 * + When a dimension corresponds to a category axis (axis.type
2110 * is `'category'`):
2111 *
2112 * The value should be the ordinal of the axis.data
2113 * (based on `0`), the string value of the axis.data.
2114 * For example:
2115 *
2116 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
2117 *
2118 * There is an example of double category axes:
2119 * [Github Punchcard](https://echarts.apache.org/examples/en/editor.html?c=scatter-punchCard)
2120 * .
2121 *
2122 * + When a dimension corresponds to a time axis (type is `'time'`),
2123 * the value can be:
2124 *
2125 * + a timestamp, like `1484141700832`, which represents a UTC time.
2126 * + a date string, in one of the formats below:
2127 * + a subset of
2128 * [ISO 8601](http://www.ecma-international.org/ecma-262/5.1/#se
2129 * c-15.9.1.15)
2130 * , only including (all of these are treated as local time unless
2131 * timezone is specified, which is consistent with
2132 * [moment](https://momentjs.com/)
2133 * ):
2134 * + only part of year/month/date/time are specified: `'2012-03'`,
2135 * `'2012-03-01'`, `'2012-03-01 05'`, `'2012-03-01 05:06'`.
2136 * + separated by `"T"` or a space: `'2012-03-01T12:22:33.123'`,
2137 * `'2012-03-01 12:22:33.123'`.
2138 * + timezone specified: `'2012-03-01T12:22:33Z'`, `'2012-03-01T12:22:33+8000'`,
2139 * `'2012-03-01T12:22:33-05:00'`.
2140 * + other date string format (all of these are treated as local
2141 * time): `'2012'`, `'2012-3-1'`, `'2012/3/1'`, `'2012/03/01'`,
2142 * `'2009/6/12 2:00'`, `'2009/6/12 2:05:08'`, `'2009/6/12 2:05:08.123'`.
2143 * + a JavaScript Date instance created by user:
2144 * + Caution, when using a data string to create a Date instance,
2145 * [browser differences and inconsistencies](http://dygraphs.com/date-formats.html)
2146 * should be considered.
2147 * + For example: In chrome, `new Date('2012-01-01')` is treated
2148 * as a Jan 1st 2012 in UTC, while `new Date('2012-1-1')` and `new
2149 * Date('2012/01/01')` are treated as Jan 1st 2012 in local timezone.
2150 * In safari `new Date('2012-1-1')` is not supported.
2151 * + So if you intent to perform `new Date(dateString)`, it is strongly
2152 * recommended to use a time parse library (e.g.,
2153 * [moment](https://momentjs.com/)
2154 * ), or use `echarts.number.parseDate`, or check
2155 * [this](http://dygraphs.com/date-formats.html)
2156 * .
2157 *
2158 * **Customize a data item:**
2159 *
2160 * When needing to customize a data item, it can be set as an object,
2161 * where property `value` reprensent real value. For example:
2162 *
2163 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
2164 *
2165 * **Empty value:**
2166 *
2167 * `'-'` or `null` or `undefined` or `NaN` can be used to describe
2168 * that a data item is not exists (ps:_not exist_ does not means
2169 * its value is `0`).
2170 *
2171 * For example, line chart can break when encounter an empty value,
2172 * and scatter chart do not display graphic elements for empty values.
2173 *
2174 * @see https://echarts.apache.org/en/option.html#series-bar.data
2175 */
2176 data?:
2177 | Array<void | string | number | SeriesBar.DataObject>
2178 | Array<Array<void | string | number | SeriesBar.DataObject>>
2179 | undefined;
2180
2181 /**
2182 * Mark point in a chart.
2183 *
2184 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint
2185 */
2186 markPoint?: {
2187 /**
2188 * Symbol of .
2189 *
2190 * Icon types provided by ECharts includes `'circle'`, `'rect'`,
2191 * `'roundRect'`, `'triangle'`, `'diamond'`, `'pin'`, `'arrow'`,
2192 * `'none'`
2193 *
2194 * It can be set to an image with `'image://url'` , in which
2195 * URL is the link to an image, or `dataURI` of an image.
2196 *
2197 * An image URL example:
2198 *
2199 * ```
2200 * 'image://http://xxx.xxx.xxx/a/b.png'
2201 *
2202 * ```
2203 *
2204 * A `dataURI` example:
2205 *
2206 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
2207 *
2208 * Icons can be set to arbitrary vector path via `'path://'`
2209 * in ECharts.
2210 * As compared with raster image, vector paths prevent from
2211 * jagging and blurring when scaled, and have a better control
2212 * over changing colors.
2213 * Size of vectoer icon will be adapted automatically.
2214 * Refer to
2215 * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
2216 * for more information about format of path.
2217 * You may export vector paths from tools like Adobe Illustrator.
2218 *
2219 * For example:
2220 *
2221 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
2222 *
2223 * @default
2224 * "pin"
2225 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbol
2226 */
2227 symbol?: string | undefined;
2228
2229 /**
2230 * symbol size.
2231 * It can be set to single numbers like `10`, or use an array
2232 * to represent width and height.
2233 * For example, `[20, 10]` means symbol width is `20`, and height
2234 * is`10`.
2235 *
2236 * If size of symbols needs to be different, you can set with
2237 * callback function in the following format:
2238 *
2239 * ```
2240 * (value: Array|number, params: Object) => number|Array
2241 *
2242 * ```
2243 *
2244 * The first parameter `value` is the value in
2245 * [data](https://echarts.apache.org/en/option.html#series-.data)
2246 * , and the second parameter `params` is the rest parameters
2247 * of data item.
2248 *
2249 * @default
2250 * 50
2251 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolSize
2252 */
2253 symbolSize?: any[] | Function | number | undefined;
2254
2255 /**
2256 * Rotate degree of symbol.
2257 * Note that when `symbol` is set to be `'arrow'` in `markLine`,
2258 * `symbolRotate` value will be ignored, and compulsively use
2259 * tangent angle.
2260 *
2261 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolRotate
2262 */
2263 symbolRotate?: number | undefined;
2264
2265 /**
2266 * Whether to keep aspect for symbols in the form of `path://`.
2267 *
2268 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolKeepAspect
2269 */
2270 symbolKeepAspect?: boolean | undefined;
2271
2272 /**
2273 * Offset of symbol relative to original position.
2274 * By default, symbol will be put in the center position of
2275 * data.
2276 * But if symbol is from user-defined vector path or image,
2277 * you may not expect symbol to be in center.
2278 * In this case, you may use this attribute to set offset to
2279 * default position.
2280 * It can be in absolute pixel value, or in relative percentage
2281 * value.
2282 *
2283 * For example, `[0, '50%']` means to move upside side position
2284 * of symbol height.
2285 * It can be used to make the arrow in the bottom to be at data
2286 * position when symbol is pin.
2287 *
2288 * @default
2289 * [0, 0]
2290 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.symbolOffset
2291 */
2292 symbolOffset?: any[] | undefined;
2293
2294 /**
2295 * Whether to ignore mouse events.
2296 * Default value is false, for triggering and responding to
2297 * mouse events.
2298 *
2299 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.silent
2300 */
2301 silent?: boolean | undefined;
2302
2303 /**
2304 * Label of mark point.
2305 *
2306 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label
2307 */
2308 label?: {
2309 /**
2310 * Whether to show label.
2311 *
2312 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.show
2313 */
2314 show?: boolean | undefined;
2315
2316 /**
2317 * Label position.
2318 *
2319 * **Followings are the options:**
2320 *
2321 * + \[x, y\]
2322 *
2323 * Use relative percentage, or absolute pixel values to
2324 * represent position of label relative to top-left corner
2325 * of bounding box. For example:
2326 *
2327 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
2328 *
2329 * + 'top'
2330 *
2331 * + 'left'
2332 * + 'right'
2333 * + 'bottom'
2334 * + 'inside'
2335 * + 'insideLeft'
2336 * + 'insideRight'
2337 * + 'insideTop'
2338 * + 'insideBottom'
2339 * + 'insideTopLeft'
2340 * + 'insideBottomLeft'
2341 * + 'insideTopRight'
2342 * + 'insideBottomRight'
2343 *
2344 * See:
2345 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
2346 * .
2347 *
2348 * @default
2349 * "inside"
2350 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.position
2351 */
2352 position?: any[] | string | undefined;
2353
2354 /**
2355 * Distance to the host graphic element.
2356 * Works when position is string value (like `'top'`、`'insideRight'`).
2357 *
2358 * See:
2359 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
2360 * .
2361 *
2362 * @default
2363 * 5
2364 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.distance
2365 */
2366 distance?: number | undefined;
2367
2368 /**
2369 * Rotate label, from -90 degree to 90, positive value represents
2370 * rotate anti-clockwise.
2371 *
2372 * See:
2373 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
2374 * .
2375 *
2376 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rotate
2377 */
2378 rotate?: number | undefined;
2379
2380 /**
2381 * Whether to move text slightly.
2382 * For example: `[30, 40]` means move `30` horizontally
2383 * and move `40` vertically.
2384 *
2385 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.offset
2386 */
2387 offset?: any[] | undefined;
2388
2389 /**
2390 * Data label formatter, which supports string template
2391 * and callback function.
2392 * In either form, `\n` is supported to represent a new
2393 * line.
2394 *
2395 * **String template**
2396 *
2397 * Model variation includes:
2398 *
2399 * + `{a}`: series name.
2400 * + `{b}`: the name of a data item.
2401 * + `{c}`: the value of a data item.
2402 * + `{@xxx}: the value of a dimension named`'xxx'`, for
2403 * example,`{@product}`refers the value of`'product'\` dimension。
2404 * + `{@[n]}: the value of a dimension at the index of`n`,
2405 * for example,`{@\[3\]}\` refers the value at dimensions\[3\].
2406 *
2407 * **example:**
2408 *
2409 * ```
2410 * formatter: '{b}: {@score}'
2411 *
2412 * ```
2413 *
2414 * **Callback function**
2415 *
2416 * Callback function is in form of:
2417 *
2418 * ```
2419 * (params: Object|Array) => string
2420 *
2421 * ```
2422 *
2423 * where `params` is the single dataset needed by formatter,
2424 * which is formed as:
2425 *
2426 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
2427 *
2428 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.formatter
2429 */
2430 formatter?: Function | string | undefined;
2431
2432 /**
2433 * text color.
2434 *
2435 * If set as `'auto'`, the color will assigned as visual
2436 * color, such as series color.
2437 *
2438 * @default
2439 * ""#fff""
2440 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.color
2441 */
2442 color?: string | undefined;
2443
2444 /**
2445 * font style
2446 *
2447 * Options are:
2448 *
2449 * + `'normal'`
2450 * + `'italic'`
2451 * + `'oblique'`
2452 *
2453 * @default
2454 * "normal"
2455 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontStyle
2456 */
2457 fontStyle?: string | undefined;
2458
2459 /**
2460 * font thick weight
2461 *
2462 * Options are:
2463 *
2464 * + `'normal'`
2465 * + `'bold'`
2466 * + `'bolder'`
2467 * + `'lighter'`
2468 * + 100 | 200 | 300 | 400...
2469 *
2470 * @default
2471 * "normal"
2472 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontWeight
2473 */
2474 fontWeight?: string | number | undefined;
2475
2476 /**
2477 * font family
2478 *
2479 * Can also be 'serif' , 'monospace', ...
2480 *
2481 * @default
2482 * "sans-serif"
2483 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontFamily
2484 */
2485 fontFamily?: string | undefined;
2486
2487 /**
2488 * font size
2489 *
2490 * @default
2491 * 12
2492 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.fontSize
2493 */
2494 fontSize?: number | undefined;
2495
2496 /**
2497 * Horizontal alignment of text, automatic by default.
2498 *
2499 * Options are:
2500 *
2501 * + `'left'`
2502 * + `'center'`
2503 * + `'right'`
2504 *
2505 * If `align` is not set in `rich`, `align` in parent level
2506 * will be used. For example:
2507 *
2508 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
2509 *
2510 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.align
2511 */
2512 align?: string | undefined;
2513
2514 /**
2515 * Vertical alignment of text, automatic by default.
2516 *
2517 * Options are:
2518 *
2519 * + `'top'`
2520 * + `'middle'`
2521 * + `'bottom'`
2522 *
2523 * If `verticalAlign` is not set in `rich`, `verticalAlign`
2524 * in parent level will be used. For example:
2525 *
2526 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
2527 *
2528 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.verticalAlign
2529 */
2530 verticalAlign?: string | undefined;
2531
2532 /**
2533 * Line height of the text fregment.
2534 *
2535 * If `lineHeight` is not set in `rich`, `lineHeight` in
2536 * parent level will be used. For example:
2537 *
2538 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
2539 *
2540 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.lineHeight
2541 */
2542 lineHeight?: number | undefined;
2543
2544 /**
2545 * Background color of the text fregment.
2546 *
2547 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
2548 *
2549 * Or image can be used, for example:
2550 *
2551 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
2552 *
2553 * `width` or `height` can be specified when using background
2554 * image, or auto adapted by default.
2555 *
2556 * If set as `'auto'`, the color will assigned as visual
2557 * color, such as series color.
2558 *
2559 * @default
2560 * "transparent"
2561 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.backgroundColor
2562 */
2563 backgroundColor?: object | string | undefined;
2564
2565 /**
2566 * Border color of the text fregment.
2567 *
2568 * If set as `'auto'`, the color will assigned as visual
2569 * color, such as series color.
2570 *
2571 * @default
2572 * "transparent"
2573 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.borderColor
2574 */
2575 borderColor?: string | undefined;
2576
2577 /**
2578 * Border width of the text fregment.
2579 *
2580 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.borderWidth
2581 */
2582 borderWidth?: number | undefined;
2583
2584 /**
2585 * Border radius of the text fregment.
2586 *
2587 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.borderRadius
2588 */
2589 borderRadius?: number | undefined;
2590
2591 /**
2592 * Padding of the text fregment, for example:
2593 *
2594 * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
2595 * right, bottom, left]`.
2596 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
2597 * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
2598 *
2599 * Notice, `width` and `height` specifies the width and
2600 * height of the content, without `padding`.
2601 *
2602 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.padding
2603 */
2604 padding?: any[] | number | undefined;
2605
2606 /**
2607 * Shadow color of the text block.
2608 *
2609 * @default
2610 * "transparent"
2611 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowColor
2612 */
2613 shadowColor?: string | undefined;
2614
2615 /**
2616 * Show blur of the text block.
2617 *
2618 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowBlur
2619 */
2620 shadowBlur?: number | undefined;
2621
2622 /**
2623 * Shadow X offset of the text block.
2624 *
2625 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowOffsetX
2626 */
2627 shadowOffsetX?: number | undefined;
2628
2629 /**
2630 * Shadow Y offset of the text block.
2631 *
2632 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.shadowOffsetY
2633 */
2634 shadowOffsetY?: number | undefined;
2635
2636 /**
2637 * Width of the text block.
2638 * It is the width of the text by default.
2639 * In most cases, there is no need to specify it.
2640 * You may want to use it in some cases like make simple
2641 * table or using background image (see `backgroundColor`).
2642 *
2643 * Notice, `width` and `height` specifies the width and
2644 * height of the content, without `padding`.
2645 *
2646 * `width` can also be percent string, like `'100%'`, which
2647 * represents the percent of `contentWidth` (that is, the
2648 * width without `padding`) of its container box.
2649 * It is based on `contentWidth` because that each text
2650 * fregment is layout based on the `content box`, where
2651 * it makes no sense that calculating width based on `outerWith`
2652 * in prectice.
2653 *
2654 * Notice, `width` and `height` only work when `rich` specified.
2655 *
2656 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.width
2657 */
2658 width?: number | string | undefined;
2659
2660 /**
2661 * Height of the text block.
2662 * It is the width of the text by default.
2663 * You may want to use it in some cases like using background
2664 * image (see `backgroundColor`).
2665 *
2666 * Notice, `width` and `height` specifies the width and
2667 * height of the content, without `padding`.
2668 *
2669 * Notice, `width` and `height` only work when `rich` specified.
2670 *
2671 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.height
2672 */
2673 height?: number | string | undefined;
2674
2675 /**
2676 * Storke color of the text.
2677 *
2678 * If set as `'auto'`, the color will assigned as visual
2679 * color, such as series color.
2680 *
2681 * @default
2682 * "transparent"
2683 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textBorderColor
2684 */
2685 textBorderColor?: string | undefined;
2686
2687 /**
2688 * Storke line width of the text.
2689 *
2690 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textBorderWidth
2691 */
2692 textBorderWidth?: number | undefined;
2693
2694 /**
2695 * Shadow color of the text itself.
2696 *
2697 * @default
2698 * "transparent"
2699 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowColor
2700 */
2701 textShadowColor?: string | undefined;
2702
2703 /**
2704 * Shadow blue of the text itself.
2705 *
2706 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowBlur
2707 */
2708 textShadowBlur?: number | undefined;
2709
2710 /**
2711 * Shadow X offset of the text itself.
2712 *
2713 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowOffsetX
2714 */
2715 textShadowOffsetX?: number | undefined;
2716
2717 /**
2718 * Shadow Y offset of the text itself.
2719 *
2720 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.textShadowOffsetY
2721 */
2722 textShadowOffsetY?: number | undefined;
2723
2724 /**
2725 * "Rich text styles" can be defined in this `rich` property.
2726 * For example:
2727 *
2728 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label)
2729 *
2730 * For more details, see
2731 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
2732 * please.
2733 *
2734 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich
2735 */
2736 rich?: {
2737 /**
2738 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E
2739 */
2740 [userStyle: string]: {
2741 /**
2742 * text color.
2743 *
2744 * If set as `'auto'`, the color will assigned as
2745 * visual color, such as series color.
2746 *
2747 * @default
2748 * ""#fff""
2749 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.color
2750 */
2751 color?: string | undefined;
2752
2753 /**
2754 * font style
2755 *
2756 * Options are:
2757 *
2758 * + `'normal'`
2759 * + `'italic'`
2760 * + `'oblique'`
2761 *
2762 * @default
2763 * "normal"
2764 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
2765 */
2766 fontStyle?: string | undefined;
2767
2768 /**
2769 * font thick weight
2770 *
2771 * Options are:
2772 *
2773 * + `'normal'`
2774 * + `'bold'`
2775 * + `'bolder'`
2776 * + `'lighter'`
2777 * + 100 | 200 | 300 | 400...
2778 *
2779 * @default
2780 * "normal"
2781 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
2782 */
2783 fontWeight?: string | number | undefined;
2784
2785 /**
2786 * font family
2787 *
2788 * Can also be 'serif' , 'monospace', ...
2789 *
2790 * @default
2791 * "sans-serif"
2792 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
2793 */
2794 fontFamily?: string | undefined;
2795
2796 /**
2797 * font size
2798 *
2799 * @default
2800 * 12
2801 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
2802 */
2803 fontSize?: number | undefined;
2804
2805 /**
2806 * Horizontal alignment of text, automatic by default.
2807 *
2808 * Options are:
2809 *
2810 * + `'left'`
2811 * + `'center'`
2812 * + `'right'`
2813 *
2814 * If `align` is not set in `rich`, `align` in parent
2815 * level will be used. For example:
2816 *
2817 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
2818 *
2819 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.align
2820 */
2821 align?: string | undefined;
2822
2823 /**
2824 * Vertical alignment of text, automatic by default.
2825 *
2826 * Options are:
2827 *
2828 * + `'top'`
2829 * + `'middle'`
2830 * + `'bottom'`
2831 *
2832 * If `verticalAlign` is not set in `rich`, `verticalAlign`
2833 * in parent level will be used. For example:
2834 *
2835 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
2836 *
2837 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
2838 */
2839 verticalAlign?: string | undefined;
2840
2841 /**
2842 * Line height of the text fregment.
2843 *
2844 * If `lineHeight` is not set in `rich`, `lineHeight`
2845 * in parent level will be used. For example:
2846 *
2847 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
2848 *
2849 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
2850 */
2851 lineHeight?: number | undefined;
2852
2853 /**
2854 * Background color of the text fregment.
2855 *
2856 * Can be color string, like `'#123234'`, `'red'`,
2857 * `rgba(0,23,11,0.3)'`.
2858 *
2859 * Or image can be used, for example:
2860 *
2861 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E)
2862 *
2863 * `width` or `height` can be specified when using
2864 * background image, or auto adapted by default.
2865 *
2866 * If set as `'auto'`, the color will assigned as
2867 * visual color, such as series color.
2868 *
2869 * @default
2870 * "transparent"
2871 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
2872 */
2873 backgroundColor?: object | string | undefined;
2874
2875 /**
2876 * Border color of the text fregment.
2877 *
2878 * If set as `'auto'`, the color will assigned as
2879 * visual color, such as series color.
2880 *
2881 * @default
2882 * "transparent"
2883 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
2884 */
2885 borderColor?: string | undefined;
2886
2887 /**
2888 * Border width of the text fregment.
2889 *
2890 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
2891 */
2892 borderWidth?: number | undefined;
2893
2894 /**
2895 * Border radius of the text fregment.
2896 *
2897 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
2898 */
2899 borderRadius?: number | undefined;
2900
2901 /**
2902 * Padding of the text fregment, for example:
2903 *
2904 * + `padding: [3, 4, 5, 6]`: represents padding
2905 * of `[top, right, bottom, left]`.
2906 * + `padding: 4`: represents `padding: [4, 4, 4,
2907 * 4]`.
2908 * + `padding: [3, 4]`: represents `padding: [3,
2909 * 4, 3, 4]`.
2910 *
2911 * Notice, `width` and `height` specifies the width
2912 * and height of the content, without `padding`.
2913 *
2914 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.padding
2915 */
2916 padding?: any[] | number | undefined;
2917
2918 /**
2919 * Shadow color of the text block.
2920 *
2921 * @default
2922 * "transparent"
2923 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
2924 */
2925 shadowColor?: string | undefined;
2926
2927 /**
2928 * Show blur of the text block.
2929 *
2930 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
2931 */
2932 shadowBlur?: number | undefined;
2933
2934 /**
2935 * Shadow X offset of the text block.
2936 *
2937 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
2938 */
2939 shadowOffsetX?: number | undefined;
2940
2941 /**
2942 * Shadow Y offset of the text block.
2943 *
2944 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
2945 */
2946 shadowOffsetY?: number | undefined;
2947
2948 /**
2949 * Width of the text block.
2950 * It is the width of the text by default.
2951 * In most cases, there is no need to specify it.
2952 * You may want to use it in some cases like make
2953 * simple table or using background image (see `backgroundColor`).
2954 *
2955 * Notice, `width` and `height` specifies the width
2956 * and height of the content, without `padding`.
2957 *
2958 * `width` can also be percent string, like `'100%'`,
2959 * which represents the percent of `contentWidth`
2960 * (that is, the width without `padding`) of its
2961 * container box.
2962 * It is based on `contentWidth` because that each
2963 * text fregment is layout based on the `content
2964 * box`, where it makes no sense that calculating
2965 * width based on `outerWith` in prectice.
2966 *
2967 * Notice, `width` and `height` only work when `rich`
2968 * specified.
2969 *
2970 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.width
2971 */
2972 width?: number | string | undefined;
2973
2974 /**
2975 * Height of the text block.
2976 * It is the width of the text by default.
2977 * You may want to use it in some cases like using
2978 * background image (see `backgroundColor`).
2979 *
2980 * Notice, `width` and `height` specifies the width
2981 * and height of the content, without `padding`.
2982 *
2983 * Notice, `width` and `height` only work when `rich`
2984 * specified.
2985 *
2986 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.height
2987 */
2988 height?: number | string | undefined;
2989
2990 /**
2991 * Storke color of the text.
2992 *
2993 * If set as `'auto'`, the color will assigned as
2994 * visual color, such as series color.
2995 *
2996 * @default
2997 * "transparent"
2998 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
2999 */
3000 textBorderColor?: string | undefined;
3001
3002 /**
3003 * Storke line width of the text.
3004 *
3005 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
3006 */
3007 textBorderWidth?: number | undefined;
3008
3009 /**
3010 * Shadow color of the text itself.
3011 *
3012 * @default
3013 * "transparent"
3014 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
3015 */
3016 textShadowColor?: string | undefined;
3017
3018 /**
3019 * Shadow blue of the text itself.
3020 *
3021 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
3022 */
3023 textShadowBlur?: number | undefined;
3024
3025 /**
3026 * Shadow X offset of the text itself.
3027 *
3028 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
3029 */
3030 textShadowOffsetX?: number | undefined;
3031
3032 /**
3033 * Shadow Y offset of the text itself.
3034 *
3035 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
3036 */
3037 textShadowOffsetY?: number | undefined;
3038 };
3039 } | undefined;
3040
3041 /**
3042 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis
3043 */
3044 emphasis?: {
3045 /**
3046 * Whether to show label.
3047 *
3048 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.show
3049 */
3050 show?: boolean | undefined;
3051
3052 /**
3053 * Label position.
3054 *
3055 * **Followings are the options:**
3056 *
3057 * + \[x, y\]
3058 *
3059 * Use relative percentage, or absolute pixel values
3060 * to represent position of label relative to top-left
3061 * corner of bounding box. For example:
3062 *
3063 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
3064 *
3065 * + 'top'
3066 *
3067 * + 'left'
3068 * + 'right'
3069 * + 'bottom'
3070 * + 'inside'
3071 * + 'insideLeft'
3072 * + 'insideRight'
3073 * + 'insideTop'
3074 * + 'insideBottom'
3075 * + 'insideTopLeft'
3076 * + 'insideBottomLeft'
3077 * + 'insideTopRight'
3078 * + 'insideBottomRight'
3079 *
3080 * See:
3081 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
3082 * .
3083 *
3084 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.position
3085 */
3086 position?: any[] | string | undefined;
3087
3088 /**
3089 * Distance to the host graphic element.
3090 * Works when position is string value (like `'top'`、`'insideRight'`).
3091 *
3092 * See:
3093 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
3094 * .
3095 *
3096 * @default
3097 * 5
3098 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.distance
3099 */
3100 distance?: number | undefined;
3101
3102 /**
3103 * Rotate label, from -90 degree to 90, positive value
3104 * represents rotate anti-clockwise.
3105 *
3106 * See:
3107 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
3108 * .
3109 *
3110 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rotate
3111 */
3112 rotate?: number | undefined;
3113
3114 /**
3115 * Whether to move text slightly.
3116 * For example: `[30, 40]` means move `30` horizontally
3117 * and move `40` vertically.
3118 *
3119 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.offset
3120 */
3121 offset?: any[] | undefined;
3122
3123 /**
3124 * Data label formatter, which supports string template
3125 * and callback function.
3126 * In either form, `\n` is supported to represent a
3127 * new line.
3128 *
3129 * **String template**
3130 *
3131 * Model variation includes:
3132 *
3133 * + `{a}`: series name.
3134 * + `{b}`: the name of a data item.
3135 * + `{c}`: the value of a data item.
3136 * + `{@xxx}: the value of a dimension named`'xxx'`,
3137 * for example,`{@product}`refers the value of`'product'\`
3138 * dimension。
3139 * + `{@[n]}: the value of a dimension at the index
3140 * of`n`, for example,`{@\[3\]}\` refers the value at
3141 * dimensions\[3\].
3142 *
3143 * **example:**
3144 *
3145 * ```
3146 * formatter: '{b}: {@score}'
3147 *
3148 * ```
3149 *
3150 * **Callback function**
3151 *
3152 * Callback function is in form of:
3153 *
3154 * ```
3155 * (params: Object|Array) => string
3156 *
3157 * ```
3158 *
3159 * where `params` is the single dataset needed by formatter,
3160 * which is formed as:
3161 *
3162 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
3163 *
3164 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.formatter
3165 */
3166 formatter?: Function | string | undefined;
3167
3168 /**
3169 * text color.
3170 *
3171 * If set as `'auto'`, the color will assigned as visual
3172 * color, such as series color.
3173 *
3174 * @default
3175 * ""#fff""
3176 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.color
3177 */
3178 color?: string | undefined;
3179
3180 /**
3181 * font style
3182 *
3183 * Options are:
3184 *
3185 * + `'normal'`
3186 * + `'italic'`
3187 * + `'oblique'`
3188 *
3189 * @default
3190 * "normal"
3191 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontStyle
3192 */
3193 fontStyle?: string | undefined;
3194
3195 /**
3196 * font thick weight
3197 *
3198 * Options are:
3199 *
3200 * + `'normal'`
3201 * + `'bold'`
3202 * + `'bolder'`
3203 * + `'lighter'`
3204 * + 100 | 200 | 300 | 400...
3205 *
3206 * @default
3207 * "normal"
3208 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontWeight
3209 */
3210 fontWeight?: string | number | undefined;
3211
3212 /**
3213 * font family
3214 *
3215 * Can also be 'serif' , 'monospace', ...
3216 *
3217 * @default
3218 * "sans-serif"
3219 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontFamily
3220 */
3221 fontFamily?: string | undefined;
3222
3223 /**
3224 * font size
3225 *
3226 * @default
3227 * 12
3228 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.fontSize
3229 */
3230 fontSize?: number | undefined;
3231
3232 /**
3233 * Horizontal alignment of text, automatic by default.
3234 *
3235 * Options are:
3236 *
3237 * + `'left'`
3238 * + `'center'`
3239 * + `'right'`
3240 *
3241 * If `align` is not set in `rich`, `align` in parent
3242 * level will be used. For example:
3243 *
3244 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
3245 *
3246 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.align
3247 */
3248 align?: string | undefined;
3249
3250 /**
3251 * Vertical alignment of text, automatic by default.
3252 *
3253 * Options are:
3254 *
3255 * + `'top'`
3256 * + `'middle'`
3257 * + `'bottom'`
3258 *
3259 * If `verticalAlign` is not set in `rich`, `verticalAlign`
3260 * in parent level will be used. For example:
3261 *
3262 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
3263 *
3264 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.verticalAlign
3265 */
3266 verticalAlign?: string | undefined;
3267
3268 /**
3269 * Line height of the text fregment.
3270 *
3271 * If `lineHeight` is not set in `rich`, `lineHeight`
3272 * in parent level will be used. For example:
3273 *
3274 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
3275 *
3276 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.lineHeight
3277 */
3278 lineHeight?: number | undefined;
3279
3280 /**
3281 * Background color of the text fregment.
3282 *
3283 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
3284 *
3285 * Or image can be used, for example:
3286 *
3287 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
3288 *
3289 * `width` or `height` can be specified when using background
3290 * image, or auto adapted by default.
3291 *
3292 * If set as `'auto'`, the color will assigned as visual
3293 * color, such as series color.
3294 *
3295 * @default
3296 * "transparent"
3297 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.backgroundColor
3298 */
3299 backgroundColor?: object | string | undefined;
3300
3301 /**
3302 * Border color of the text fregment.
3303 *
3304 * If set as `'auto'`, the color will assigned as visual
3305 * color, such as series color.
3306 *
3307 * @default
3308 * "transparent"
3309 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.borderColor
3310 */
3311 borderColor?: string | undefined;
3312
3313 /**
3314 * Border width of the text fregment.
3315 *
3316 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.borderWidth
3317 */
3318 borderWidth?: number | undefined;
3319
3320 /**
3321 * Border radius of the text fregment.
3322 *
3323 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.borderRadius
3324 */
3325 borderRadius?: number | undefined;
3326
3327 /**
3328 * Padding of the text fregment, for example:
3329 *
3330 * + `padding: [3, 4, 5, 6]`: represents padding of
3331 * `[top, right, bottom, left]`.
3332 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
3333 * + `padding: [3, 4]`: represents `padding: [3, 4,
3334 * 3, 4]`.
3335 *
3336 * Notice, `width` and `height` specifies the width
3337 * and height of the content, without `padding`.
3338 *
3339 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.padding
3340 */
3341 padding?: any[] | number | undefined;
3342
3343 /**
3344 * Shadow color of the text block.
3345 *
3346 * @default
3347 * "transparent"
3348 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowColor
3349 */
3350 shadowColor?: string | undefined;
3351
3352 /**
3353 * Show blur of the text block.
3354 *
3355 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowBlur
3356 */
3357 shadowBlur?: number | undefined;
3358
3359 /**
3360 * Shadow X offset of the text block.
3361 *
3362 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowOffsetX
3363 */
3364 shadowOffsetX?: number | undefined;
3365
3366 /**
3367 * Shadow Y offset of the text block.
3368 *
3369 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.shadowOffsetY
3370 */
3371 shadowOffsetY?: number | undefined;
3372
3373 /**
3374 * Width of the text block.
3375 * It is the width of the text by default.
3376 * In most cases, there is no need to specify it.
3377 * You may want to use it in some cases like make simple
3378 * table or using background image (see `backgroundColor`).
3379 *
3380 * Notice, `width` and `height` specifies the width
3381 * and height of the content, without `padding`.
3382 *
3383 * `width` can also be percent string, like `'100%'`,
3384 * which represents the percent of `contentWidth` (that
3385 * is, the width without `padding`) of its container
3386 * box.
3387 * It is based on `contentWidth` because that each text
3388 * fregment is layout based on the `content box`, where
3389 * it makes no sense that calculating width based on
3390 * `outerWith` in prectice.
3391 *
3392 * Notice, `width` and `height` only work when `rich`
3393 * specified.
3394 *
3395 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.width
3396 */
3397 width?: number | string | undefined;
3398
3399 /**
3400 * Height of the text block.
3401 * It is the width of the text by default.
3402 * You may want to use it in some cases like using background
3403 * image (see `backgroundColor`).
3404 *
3405 * Notice, `width` and `height` specifies the width
3406 * and height of the content, without `padding`.
3407 *
3408 * Notice, `width` and `height` only work when `rich`
3409 * specified.
3410 *
3411 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.height
3412 */
3413 height?: number | string | undefined;
3414
3415 /**
3416 * Storke color of the text.
3417 *
3418 * If set as `'auto'`, the color will assigned as visual
3419 * color, such as series color.
3420 *
3421 * @default
3422 * "transparent"
3423 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textBorderColor
3424 */
3425 textBorderColor?: string | undefined;
3426
3427 /**
3428 * Storke line width of the text.
3429 *
3430 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textBorderWidth
3431 */
3432 textBorderWidth?: number | undefined;
3433
3434 /**
3435 * Shadow color of the text itself.
3436 *
3437 * @default
3438 * "transparent"
3439 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowColor
3440 */
3441 textShadowColor?: string | undefined;
3442
3443 /**
3444 * Shadow blue of the text itself.
3445 *
3446 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowBlur
3447 */
3448 textShadowBlur?: number | undefined;
3449
3450 /**
3451 * Shadow X offset of the text itself.
3452 *
3453 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowOffsetX
3454 */
3455 textShadowOffsetX?: number | undefined;
3456
3457 /**
3458 * Shadow Y offset of the text itself.
3459 *
3460 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.textShadowOffsetY
3461 */
3462 textShadowOffsetY?: number | undefined;
3463
3464 /**
3465 * "Rich text styles" can be defined in this `rich`
3466 * property. For example:
3467 *
3468 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis)
3469 *
3470 * For more details, see
3471 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
3472 * please.
3473 *
3474 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich
3475 */
3476 rich?: {
3477 /**
3478 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
3479 */
3480 [userStyle: string]: {
3481 /**
3482 * text color.
3483 *
3484 * If set as `'auto'`, the color will assigned
3485 * as visual color, such as series color.
3486 *
3487 * @default
3488 * ""#fff""
3489 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
3490 */
3491 color?: string | undefined;
3492
3493 /**
3494 * font style
3495 *
3496 * Options are:
3497 *
3498 * + `'normal'`
3499 * + `'italic'`
3500 * + `'oblique'`
3501 *
3502 * @default
3503 * "normal"
3504 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
3505 */
3506 fontStyle?: string | undefined;
3507
3508 /**
3509 * font thick weight
3510 *
3511 * Options are:
3512 *
3513 * + `'normal'`
3514 * + `'bold'`
3515 * + `'bolder'`
3516 * + `'lighter'`
3517 * + 100 | 200 | 300 | 400...
3518 *
3519 * @default
3520 * "normal"
3521 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
3522 */
3523 fontWeight?: string | number | undefined;
3524
3525 /**
3526 * font family
3527 *
3528 * Can also be 'serif' , 'monospace', ...
3529 *
3530 * @default
3531 * "sans-serif"
3532 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
3533 */
3534 fontFamily?: string | undefined;
3535
3536 /**
3537 * font size
3538 *
3539 * @default
3540 * 12
3541 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
3542 */
3543 fontSize?: number | undefined;
3544
3545 /**
3546 * Horizontal alignment of text, automatic by
3547 * default.
3548 *
3549 * Options are:
3550 *
3551 * + `'left'`
3552 * + `'center'`
3553 * + `'right'`
3554 *
3555 * If `align` is not set in `rich`, `align`
3556 * in parent level will be used.
3557 * For example:
3558 *
3559 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
3560 *
3561 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
3562 */
3563 align?: string | undefined;
3564
3565 /**
3566 * Vertical alignment of text, automatic by
3567 * default.
3568 *
3569 * Options are:
3570 *
3571 * + `'top'`
3572 * + `'middle'`
3573 * + `'bottom'`
3574 *
3575 * If `verticalAlign` is not set in `rich`,
3576 * `verticalAlign` in parent level will be used.
3577 * For example:
3578 *
3579 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
3580 *
3581 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
3582 */
3583 verticalAlign?: string | undefined;
3584
3585 /**
3586 * Line height of the text fregment.
3587 *
3588 * If `lineHeight` is not set in `rich`, `lineHeight`
3589 * in parent level will be used.
3590 * For example:
3591 *
3592 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
3593 *
3594 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
3595 */
3596 lineHeight?: number | undefined;
3597
3598 /**
3599 * Background color of the text fregment.
3600 *
3601 * Can be color string, like `'#123234'`, `'red'`,
3602 * `rgba(0,23,11,0.3)'`.
3603 *
3604 * Or image can be used, for example:
3605 *
3606 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
3607 *
3608 * `width` or `height` can be specified when
3609 * using background image, or auto adapted by
3610 * default.
3611 *
3612 * If set as `'auto'`, the color will assigned
3613 * as visual color, such as series color.
3614 *
3615 * @default
3616 * "transparent"
3617 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
3618 */
3619 backgroundColor?: object | string | undefined;
3620
3621 /**
3622 * Border color of the text fregment.
3623 *
3624 * If set as `'auto'`, the color will assigned
3625 * as visual color, such as series color.
3626 *
3627 * @default
3628 * "transparent"
3629 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
3630 */
3631 borderColor?: string | undefined;
3632
3633 /**
3634 * Border width of the text fregment.
3635 *
3636 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
3637 */
3638 borderWidth?: number | undefined;
3639
3640 /**
3641 * Border radius of the text fregment.
3642 *
3643 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
3644 */
3645 borderRadius?: number | undefined;
3646
3647 /**
3648 * Padding of the text fregment, for example:
3649 *
3650 * + `padding: [3, 4, 5, 6]`: represents padding
3651 * of `[top, right, bottom, left]`.
3652 * + `padding: 4`: represents `padding: [4,
3653 * 4, 4, 4]`.
3654 * + `padding: [3, 4]`: represents `padding:
3655 * [3, 4, 3, 4]`.
3656 *
3657 * Notice, `width` and `height` specifies the
3658 * width and height of the content, without
3659 * `padding`.
3660 *
3661 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
3662 */
3663 padding?: any[] | number | undefined;
3664
3665 /**
3666 * Shadow color of the text block.
3667 *
3668 * @default
3669 * "transparent"
3670 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
3671 */
3672 shadowColor?: string | undefined;
3673
3674 /**
3675 * Show blur of the text block.
3676 *
3677 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
3678 */
3679 shadowBlur?: number | undefined;
3680
3681 /**
3682 * Shadow X offset of the text block.
3683 *
3684 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
3685 */
3686 shadowOffsetX?: number | undefined;
3687
3688 /**
3689 * Shadow Y offset of the text block.
3690 *
3691 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
3692 */
3693 shadowOffsetY?: number | undefined;
3694
3695 /**
3696 * Width of the text block.
3697 * It is the width of the text by default.
3698 * In most cases, there is no need to specify
3699 * it.
3700 * You may want to use it in some cases like
3701 * make simple table or using background image
3702 * (see `backgroundColor`).
3703 *
3704 * Notice, `width` and `height` specifies the
3705 * width and height of the content, without
3706 * `padding`.
3707 *
3708 * `width` can also be percent string, like
3709 * `'100%'`, which represents the percent of
3710 * `contentWidth` (that is, the width without
3711 * `padding`) of its container box.
3712 * It is based on `contentWidth` because that
3713 * each text fregment is layout based on the
3714 * `content box`, where it makes no sense that
3715 * calculating width based on `outerWith` in
3716 * prectice.
3717 *
3718 * Notice, `width` and `height` only work when
3719 * `rich` specified.
3720 *
3721 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
3722 */
3723 width?: number | string | undefined;
3724
3725 /**
3726 * Height of the text block.
3727 * It is the width of the text by default.
3728 * You may want to use it in some cases like
3729 * using background image (see `backgroundColor`).
3730 *
3731 * Notice, `width` and `height` specifies the
3732 * width and height of the content, without
3733 * `padding`.
3734 *
3735 * Notice, `width` and `height` only work when
3736 * `rich` specified.
3737 *
3738 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
3739 */
3740 height?: number | string | undefined;
3741
3742 /**
3743 * Storke color of the text.
3744 *
3745 * If set as `'auto'`, the color will assigned
3746 * as visual color, such as series color.
3747 *
3748 * @default
3749 * "transparent"
3750 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
3751 */
3752 textBorderColor?: string | undefined;
3753
3754 /**
3755 * Storke line width of the text.
3756 *
3757 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
3758 */
3759 textBorderWidth?: number | undefined;
3760
3761 /**
3762 * Shadow color of the text itself.
3763 *
3764 * @default
3765 * "transparent"
3766 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
3767 */
3768 textShadowColor?: string | undefined;
3769
3770 /**
3771 * Shadow blue of the text itself.
3772 *
3773 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
3774 */
3775 textShadowBlur?: number | undefined;
3776
3777 /**
3778 * Shadow X offset of the text itself.
3779 *
3780 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
3781 */
3782 textShadowOffsetX?: number | undefined;
3783
3784 /**
3785 * Shadow Y offset of the text itself.
3786 *
3787 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
3788 */
3789 textShadowOffsetY?: number | undefined;
3790 };
3791 } | undefined;
3792 } | undefined;
3793 } | undefined;
3794
3795 /**
3796 * Mark point style.
3797 *
3798 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle
3799 */
3800 itemStyle?: {
3801 /**
3802 * color.
3803 *
3804 * > Color can be represented in RGB, for example `'rgb(128,
3805 * 128, 128)'`.
3806 * RGBA can be used when you need alpha channel, for example
3807 * `'rgba(128, 128, 128, 0.5)'`.
3808 * You may also use hexadecimal format, for example `'#ccc'`.
3809 * Gradient color and texture are also supported besides
3810 * single colors.
3811 * >
3812 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle)
3813 *
3814 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.color
3815 */
3816 color?: EChartOption.Color | undefined;
3817
3818 /**
3819 * border color, whose format is similar to that of `color`.
3820 *
3821 * @default
3822 * "#000"
3823 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.borderColor
3824 */
3825 borderColor?: EChartOption.Color | undefined;
3826
3827 /**
3828 * border width. No border when it is set to be 0.
3829 *
3830 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.borderWidth
3831 */
3832 borderWidth?: number | undefined;
3833
3834 /**
3835 * Border type, which can be `'solid'`, `'dashed'`, or `'dotted'`.
3836 * `'solid'` by default.
3837 *
3838 * @default
3839 * "solid"
3840 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.borderType
3841 */
3842 borderType?: string | undefined;
3843
3844 /**
3845 * Size of shadow blur.
3846 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
3847 * `shadowOffsetY` to set shadow to component.
3848 *
3849 * For example:
3850 *
3851 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle)
3852 *
3853 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowBlur
3854 */
3855 shadowBlur?: number | undefined;
3856
3857 /**
3858 * Shadow color. Support same format as `color`.
3859 *
3860 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowColor
3861 */
3862 shadowColor?: EChartOption.Color | undefined;
3863
3864 /**
3865 * Offset distance on the horizontal direction of shadow.
3866 *
3867 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowOffsetX
3868 */
3869 shadowOffsetX?: number | undefined;
3870
3871 /**
3872 * Offset distance on the vertical direction of shadow.
3873 *
3874 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.shadowOffsetY
3875 */
3876 shadowOffsetY?: number | undefined;
3877
3878 /**
3879 * Opacity of the component.
3880 * Supports value from 0 to 1, and the component will not
3881 * be drawn when set to 0.
3882 *
3883 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.opacity
3884 */
3885 opacity?: number | undefined;
3886
3887 /**
3888 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis
3889 */
3890 emphasis?: {
3891 /**
3892 * color.
3893 *
3894 * > Color can be represented in RGB, for example `'rgb(128,
3895 * 128, 128)'`.
3896 * RGBA can be used when you need alpha channel, for
3897 * example `'rgba(128, 128, 128, 0.5)'`.
3898 * You may also use hexadecimal format, for example
3899 * `'#ccc'`.
3900 * Gradient color and texture are also supported besides
3901 * single colors.
3902 * >
3903 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle.emphasis)
3904 *
3905 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.color
3906 */
3907 color?: EChartOption.Color | undefined;
3908
3909 /**
3910 * border color, whose format is similar to that of
3911 * `color`.
3912 *
3913 * @default
3914 * "#000"
3915 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.borderColor
3916 */
3917 borderColor?: EChartOption.Color | undefined;
3918
3919 /**
3920 * border width. No border when it is set to be 0.
3921 *
3922 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.borderWidth
3923 */
3924 borderWidth?: number | undefined;
3925
3926 /**
3927 * Border type, which can be `'solid'`, `'dashed'`,
3928 * or `'dotted'`. `'solid'` by default.
3929 *
3930 * @default
3931 * "solid"
3932 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.borderType
3933 */
3934 borderType?: string | undefined;
3935
3936 /**
3937 * Size of shadow blur.
3938 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
3939 * `shadowOffsetY` to set shadow to component.
3940 *
3941 * For example:
3942 *
3943 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.itemStyle.emphasis)
3944 *
3945 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowBlur
3946 */
3947 shadowBlur?: number | undefined;
3948
3949 /**
3950 * Shadow color. Support same format as `color`.
3951 *
3952 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowColor
3953 */
3954 shadowColor?: EChartOption.Color | undefined;
3955
3956 /**
3957 * Offset distance on the horizontal direction of shadow.
3958 *
3959 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowOffsetX
3960 */
3961 shadowOffsetX?: number | undefined;
3962
3963 /**
3964 * Offset distance on the vertical direction of shadow.
3965 *
3966 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.shadowOffsetY
3967 */
3968 shadowOffsetY?: number | undefined;
3969
3970 /**
3971 * Opacity of the component.
3972 * Supports value from 0 to 1, and the component will
3973 * not be drawn when set to 0.
3974 *
3975 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.itemStyle.emphasis.opacity
3976 */
3977 opacity?: number | undefined;
3978 } | undefined;
3979 } | undefined;
3980
3981 /**
3982 * Data array for mark points, each of which is an object.
3983 * Here are some ways to assign mark point position.
3984 *
3985 * 1. Assign coordinate according to container with
3986 * [x](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.x)
3987 * ,
3988 * [y](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.y)
3989 * attribute, in which pixel values and percentage are supported.
3990 *
3991 * 2. Assign coordinate position with
3992 * [coord](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.coord)
3993 * attribute, in which `'min'`, `'max'`, `'average'` are supported
3994 * for each dimension.
3995 *
3996 * 3. Use
3997 * [type](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type)
3998 * attribute to mark the maximum and minimum values in the series,
3999 * in which
4000 * [valueIndex](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueIndex)
4001 * or
4002 * [valueDim](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueDim)
4003 * can be used to assign the dimension.
4004 *
4005 * When multiple attributes exist, priority is as the above
4006 * order.
4007 *
4008 * **For example:**
4009 *
4010 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
4011 *
4012 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data
4013 */
4014 data?:
4015 | Array<{
4016 /**
4017 * Mark point name.
4018 *
4019 * @default
4020 * ''
4021 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.name
4022 */
4023 name?: string | undefined;
4024
4025 /**
4026 * Special label types, are used to label maximum value,
4027 * minimum value and so on.
4028 *
4029 * **Options are:**
4030 *
4031 * + `'min'` maximum value.
4032 * + `'max'` minimum value.
4033 * + `'average'` average value.
4034 *
4035 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type
4036 */
4037 type?: string | undefined;
4038
4039 /**
4040 * Available when using
4041 * [type](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type)
4042 * it is used to assign maximum value and minimum value
4043 * in dimensions, it could be `0` (xAxis, radiusAxis), `1`
4044 * (yAxis, angleAxis), and use the first value axis dimension
4045 * by default.
4046 *
4047 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueIndex
4048 */
4049 valueIndex?: number | undefined;
4050
4051 /**
4052 * Works only when
4053 * [type](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.type)
4054 * is assigned.
4055 * It is used to state the dimension used to calculate maximum
4056 * value or minimum value.
4057 * It may be the direct name of a dimension, like `x`, or
4058 * `angle` for line charts, or `open`, or `close` for candlestick
4059 * charts.
4060 *
4061 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.valueDim
4062 */
4063 valueDim?: string | undefined;
4064
4065 /**
4066 * Coordinates of the starting point or ending point, whose
4067 * format depends on the coordinate of the series.
4068 * It can be `x`, and `y` for
4069 * [rectangular coordinates](https://echarts.apache.org/en/option.html#grid)
4070 * , or `radius`, and `angle` for
4071 * [polar coordinates](https://echarts.apache.org/en/option.html#polar)
4072 * .
4073 *
4074 * **Notice:** For axis with
4075 * [axis.type](https://echarts.apache.org/en/option.html#xAixs.type)
4076 * `'category'`:
4077 *
4078 * + If coord value is `number`, it represents index of
4079 * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
4080 * .
4081 * + If coord value is `string`, it represents concrete
4082 * value in
4083 * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
4084 *
4085 * Please notice that in this case `xAxis.data`
4086 * must not be written as \[number, number,
4087 *
4088 * \], but can only be written \[string, string,
4089 *
4090 * \].
4091 * Otherwise it is not able to be located by markPoint /
4092 * markLine.
4093 *
4094 * For example:
4095 *
4096 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data)
4097 *
4098 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.coord
4099 */
4100 coord?: any[] | undefined;
4101
4102 /**
4103 * X position according to container, in pixel.
4104 *
4105 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.x
4106 */
4107 x?: number | undefined;
4108
4109 /**
4110 * Y position according to container, in pixel.
4111 *
4112 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.y
4113 */
4114 y?: number | undefined;
4115
4116 /**
4117 * Label value, which can be ignored.
4118 *
4119 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.value
4120 */
4121 value?: number | undefined;
4122
4123 /**
4124 * Symbol of .
4125 *
4126 * Icon types provided by ECharts includes `'circle'`, `'rect'`,
4127 * `'roundRect'`, `'triangle'`, `'diamond'`, `'pin'`, `'arrow'`,
4128 * `'none'`
4129 *
4130 * It can be set to an image with `'image://url'` , in which
4131 * URL is the link to an image, or `dataURI` of an image.
4132 *
4133 * An image URL example:
4134 *
4135 * ```
4136 * 'image://http://xxx.xxx.xxx/a/b.png'
4137 *
4138 * ```
4139 *
4140 * A `dataURI` example:
4141 *
4142 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data)
4143 *
4144 * Icons can be set to arbitrary vector path via `'path://'`
4145 * in ECharts.
4146 * As compared with raster image, vector paths prevent from
4147 * jagging and blurring when scaled, and have a better control
4148 * over changing colors.
4149 * Size of vectoer icon will be adapted automatically.
4150 * Refer to
4151 * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
4152 * for more information about format of path.
4153 * You may export vector paths from tools like Adobe Illustrator.
4154 *
4155 * For example:
4156 *
4157 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data)
4158 *
4159 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbol
4160 */
4161 symbol?: string | undefined;
4162
4163 /**
4164 * symbol size.
4165 * It can be set to single numbers like `10`, or use an
4166 * array to represent width and height.
4167 * For example, `[20, 10]` means symbol width is `20`, and
4168 * height is`10`.
4169 *
4170 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolSize
4171 */
4172 symbolSize?: any[] | number | undefined;
4173
4174 /**
4175 * Rotate degree of symbol.
4176 * Note that when `symbol` is set to be `'arrow'` in `markLine`,
4177 * `symbolRotate` value will be ignored, and compulsively
4178 * use tangent angle.
4179 *
4180 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolRotate
4181 */
4182 symbolRotate?: number | undefined;
4183
4184 /**
4185 * Whether to keep aspect for symbols in the form of `path://`.
4186 *
4187 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolKeepAspect
4188 */
4189 symbolKeepAspect?: boolean | undefined;
4190
4191 /**
4192 * Offset of symbol relative to original position.
4193 * By default, symbol will be put in the center position
4194 * of data.
4195 * But if symbol is from user-defined vector path or image,
4196 * you may not expect symbol to be in center.
4197 * In this case, you may use this attribute to set offset
4198 * to default position.
4199 * It can be in absolute pixel value, or in relative percentage
4200 * value.
4201 *
4202 * For example, `[0, '50%']` means to move upside side position
4203 * of symbol height.
4204 * It can be used to make the arrow in the bottom to be
4205 * at data position when symbol is pin.
4206 *
4207 * @default
4208 * [0, 0]
4209 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.symbolOffset
4210 */
4211 symbolOffset?: any[] | undefined;
4212
4213 /**
4214 * Mark point style.
4215 *
4216 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle
4217 */
4218 itemStyle?: {
4219 /**
4220 * color.
4221 *
4222 * > Color can be represented in RGB, for example `'rgb(128,
4223 * 128, 128)'`.
4224 * RGBA can be used when you need alpha channel, for
4225 * example `'rgba(128, 128, 128, 0.5)'`.
4226 * You may also use hexadecimal format, for example
4227 * `'#ccc'`.
4228 * Gradient color and texture are also supported besides
4229 * single colors.
4230 * >
4231 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle)
4232 *
4233 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.color
4234 */
4235 color?: EChartOption.Color | undefined;
4236
4237 /**
4238 * border color, whose format is similar to that of
4239 * `color`.
4240 *
4241 * @default
4242 * "#000"
4243 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.borderColor
4244 */
4245 borderColor?: EChartOption.Color | undefined;
4246
4247 /**
4248 * border width. No border when it is set to be 0.
4249 *
4250 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.borderWidth
4251 */
4252 borderWidth?: number | undefined;
4253
4254 /**
4255 * Border type, which can be `'solid'`, `'dashed'`,
4256 * or `'dotted'`. `'solid'` by default.
4257 *
4258 * @default
4259 * "solid"
4260 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.borderType
4261 */
4262 borderType?: string | undefined;
4263
4264 /**
4265 * Size of shadow blur.
4266 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
4267 * `shadowOffsetY` to set shadow to component.
4268 *
4269 * For example:
4270 *
4271 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle)
4272 *
4273 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowBlur
4274 */
4275 shadowBlur?: number | undefined;
4276
4277 /**
4278 * Shadow color. Support same format as `color`.
4279 *
4280 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowColor
4281 */
4282 shadowColor?: EChartOption.Color | undefined;
4283
4284 /**
4285 * Offset distance on the horizontal direction of shadow.
4286 *
4287 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowOffsetX
4288 */
4289 shadowOffsetX?: number | undefined;
4290
4291 /**
4292 * Offset distance on the vertical direction of shadow.
4293 *
4294 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.shadowOffsetY
4295 */
4296 shadowOffsetY?: number | undefined;
4297
4298 /**
4299 * Opacity of the component.
4300 * Supports value from 0 to 1, and the component will
4301 * not be drawn when set to 0.
4302 *
4303 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.opacity
4304 */
4305 opacity?: number | undefined;
4306
4307 /**
4308 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis
4309 */
4310 emphasis?: {
4311 /**
4312 * color.
4313 *
4314 * > Color can be represented in RGB, for example
4315 * `'rgb(128, 128, 128)'`.
4316 * RGBA can be used when you need alpha channel,
4317 * for example `'rgba(128, 128, 128, 0.5)'`.
4318 * You may also use hexadecimal format, for example
4319 * `'#ccc'`.
4320 * Gradient color and texture are also supported
4321 * besides single colors.
4322 * >
4323 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle.emphasis)
4324 *
4325 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.color
4326 */
4327 color?: EChartOption.Color | undefined;
4328
4329 /**
4330 * border color, whose format is similar to that
4331 * of `color`.
4332 *
4333 * @default
4334 * "#000"
4335 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.borderColor
4336 */
4337 borderColor?: EChartOption.Color | undefined;
4338
4339 /**
4340 * border width.
4341 * No border when it is set to be 0.
4342 *
4343 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.borderWidth
4344 */
4345 borderWidth?: number | undefined;
4346
4347 /**
4348 * Border type, which can be `'solid'`, `'dashed'`,
4349 * or `'dotted'`. `'solid'` by default.
4350 *
4351 * @default
4352 * "solid"
4353 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.borderType
4354 */
4355 borderType?: string | undefined;
4356
4357 /**
4358 * Size of shadow blur.
4359 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
4360 * `shadowOffsetY` to set shadow to component.
4361 *
4362 * For example:
4363 *
4364 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.itemStyle.emphasis)
4365 *
4366 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowBlur
4367 */
4368 shadowBlur?: number | undefined;
4369
4370 /**
4371 * Shadow color. Support same format as `color`.
4372 *
4373 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowColor
4374 */
4375 shadowColor?: EChartOption.Color | undefined;
4376
4377 /**
4378 * Offset distance on the horizontal direction of
4379 * shadow.
4380 *
4381 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowOffsetX
4382 */
4383 shadowOffsetX?: number | undefined;
4384
4385 /**
4386 * Offset distance on the vertical direction of
4387 * shadow.
4388 *
4389 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.shadowOffsetY
4390 */
4391 shadowOffsetY?: number | undefined;
4392
4393 /**
4394 * Opacity of the component.
4395 * Supports value from 0 to 1, and the component
4396 * will not be drawn when set to 0.
4397 *
4398 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.itemStyle.emphasis.opacity
4399 */
4400 opacity?: number | undefined;
4401 } | undefined;
4402 } | undefined;
4403
4404 /**
4405 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label
4406 */
4407 label?: {
4408 /**
4409 * Whether to show label.
4410 *
4411 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.show
4412 */
4413 show?: boolean | undefined;
4414
4415 /**
4416 * Label position.
4417 *
4418 * **Followings are the options:**
4419 *
4420 * + \[x, y\]
4421 *
4422 * Use relative percentage, or absolute pixel values
4423 * to represent position of label relative to top-left
4424 * corner of bounding box. For example:
4425 *
4426 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
4427 *
4428 * + 'top'
4429 *
4430 * + 'left'
4431 * + 'right'
4432 * + 'bottom'
4433 * + 'inside'
4434 * + 'insideLeft'
4435 * + 'insideRight'
4436 * + 'insideTop'
4437 * + 'insideBottom'
4438 * + 'insideTopLeft'
4439 * + 'insideBottomLeft'
4440 * + 'insideTopRight'
4441 * + 'insideBottomRight'
4442 *
4443 * See:
4444 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
4445 * .
4446 *
4447 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.position
4448 */
4449 position?: any[] | string | undefined;
4450
4451 /**
4452 * Distance to the host graphic element.
4453 * Works when position is string value (like `'top'`、`'insideRight'`).
4454 *
4455 * See:
4456 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
4457 * .
4458 *
4459 * @default
4460 * 5
4461 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.distance
4462 */
4463 distance?: number | undefined;
4464
4465 /**
4466 * Rotate label, from -90 degree to 90, positive value
4467 * represents rotate anti-clockwise.
4468 *
4469 * See:
4470 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
4471 * .
4472 *
4473 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rotate
4474 */
4475 rotate?: number | undefined;
4476
4477 /**
4478 * Whether to move text slightly.
4479 * For example: `[30, 40]` means move `30` horizontally
4480 * and move `40` vertically.
4481 *
4482 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.offset
4483 */
4484 offset?: any[] | undefined;
4485
4486 /**
4487 * text color.
4488 *
4489 * If set as `'auto'`, the color will assigned as visual
4490 * color, such as series color.
4491 *
4492 * @default
4493 * ""#fff""
4494 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.color
4495 */
4496 color?: string | undefined;
4497
4498 /**
4499 * font style
4500 *
4501 * Options are:
4502 *
4503 * + `'normal'`
4504 * + `'italic'`
4505 * + `'oblique'`
4506 *
4507 * @default
4508 * "normal"
4509 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontStyle
4510 */
4511 fontStyle?: string | undefined;
4512
4513 /**
4514 * font thick weight
4515 *
4516 * Options are:
4517 *
4518 * + `'normal'`
4519 * + `'bold'`
4520 * + `'bolder'`
4521 * + `'lighter'`
4522 * + 100 | 200 | 300 | 400...
4523 *
4524 * @default
4525 * "normal"
4526 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontWeight
4527 */
4528 fontWeight?: string | number | undefined;
4529
4530 /**
4531 * font family
4532 *
4533 * Can also be 'serif' , 'monospace', ...
4534 *
4535 * @default
4536 * "sans-serif"
4537 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontFamily
4538 */
4539 fontFamily?: string | undefined;
4540
4541 /**
4542 * font size
4543 *
4544 * @default
4545 * 12
4546 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.fontSize
4547 */
4548 fontSize?: number | undefined;
4549
4550 /**
4551 * Horizontal alignment of text, automatic by default.
4552 *
4553 * Options are:
4554 *
4555 * + `'left'`
4556 * + `'center'`
4557 * + `'right'`
4558 *
4559 * If `align` is not set in `rich`, `align` in parent
4560 * level will be used. For example:
4561 *
4562 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
4563 *
4564 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.align
4565 */
4566 align?: string | undefined;
4567
4568 /**
4569 * Vertical alignment of text, automatic by default.
4570 *
4571 * Options are:
4572 *
4573 * + `'top'`
4574 * + `'middle'`
4575 * + `'bottom'`
4576 *
4577 * If `verticalAlign` is not set in `rich`, `verticalAlign`
4578 * in parent level will be used. For example:
4579 *
4580 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
4581 *
4582 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.verticalAlign
4583 */
4584 verticalAlign?: string | undefined;
4585
4586 /**
4587 * Line height of the text fregment.
4588 *
4589 * If `lineHeight` is not set in `rich`, `lineHeight`
4590 * in parent level will be used. For example:
4591 *
4592 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
4593 *
4594 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.lineHeight
4595 */
4596 lineHeight?: number | undefined;
4597
4598 /**
4599 * Background color of the text fregment.
4600 *
4601 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
4602 *
4603 * Or image can be used, for example:
4604 *
4605 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
4606 *
4607 * `width` or `height` can be specified when using background
4608 * image, or auto adapted by default.
4609 *
4610 * If set as `'auto'`, the color will assigned as visual
4611 * color, such as series color.
4612 *
4613 * @default
4614 * "transparent"
4615 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.backgroundColor
4616 */
4617 backgroundColor?: object | string | undefined;
4618
4619 /**
4620 * Border color of the text fregment.
4621 *
4622 * If set as `'auto'`, the color will assigned as visual
4623 * color, such as series color.
4624 *
4625 * @default
4626 * "transparent"
4627 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.borderColor
4628 */
4629 borderColor?: string | undefined;
4630
4631 /**
4632 * Border width of the text fregment.
4633 *
4634 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.borderWidth
4635 */
4636 borderWidth?: number | undefined;
4637
4638 /**
4639 * Border radius of the text fregment.
4640 *
4641 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.borderRadius
4642 */
4643 borderRadius?: number | undefined;
4644
4645 /**
4646 * Padding of the text fregment, for example:
4647 *
4648 * + `padding: [3, 4, 5, 6]`: represents padding of
4649 * `[top, right, bottom, left]`.
4650 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
4651 * + `padding: [3, 4]`: represents `padding: [3, 4,
4652 * 3, 4]`.
4653 *
4654 * Notice, `width` and `height` specifies the width
4655 * and height of the content, without `padding`.
4656 *
4657 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.padding
4658 */
4659 padding?: any[] | number | undefined;
4660
4661 /**
4662 * Shadow color of the text block.
4663 *
4664 * @default
4665 * "transparent"
4666 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowColor
4667 */
4668 shadowColor?: string | undefined;
4669
4670 /**
4671 * Show blur of the text block.
4672 *
4673 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowBlur
4674 */
4675 shadowBlur?: number | undefined;
4676
4677 /**
4678 * Shadow X offset of the text block.
4679 *
4680 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowOffsetX
4681 */
4682 shadowOffsetX?: number | undefined;
4683
4684 /**
4685 * Shadow Y offset of the text block.
4686 *
4687 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.shadowOffsetY
4688 */
4689 shadowOffsetY?: number | undefined;
4690
4691 /**
4692 * Width of the text block.
4693 * It is the width of the text by default.
4694 * In most cases, there is no need to specify it.
4695 * You may want to use it in some cases like make simple
4696 * table or using background image (see `backgroundColor`).
4697 *
4698 * Notice, `width` and `height` specifies the width
4699 * and height of the content, without `padding`.
4700 *
4701 * `width` can also be percent string, like `'100%'`,
4702 * which represents the percent of `contentWidth` (that
4703 * is, the width without `padding`) of its container
4704 * box.
4705 * It is based on `contentWidth` because that each text
4706 * fregment is layout based on the `content box`, where
4707 * it makes no sense that calculating width based on
4708 * `outerWith` in prectice.
4709 *
4710 * Notice, `width` and `height` only work when `rich`
4711 * specified.
4712 *
4713 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.width
4714 */
4715 width?: number | string | undefined;
4716
4717 /**
4718 * Height of the text block.
4719 * It is the width of the text by default.
4720 * You may want to use it in some cases like using background
4721 * image (see `backgroundColor`).
4722 *
4723 * Notice, `width` and `height` specifies the width
4724 * and height of the content, without `padding`.
4725 *
4726 * Notice, `width` and `height` only work when `rich`
4727 * specified.
4728 *
4729 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.height
4730 */
4731 height?: number | string | undefined;
4732
4733 /**
4734 * Storke color of the text.
4735 *
4736 * If set as `'auto'`, the color will assigned as visual
4737 * color, such as series color.
4738 *
4739 * @default
4740 * "transparent"
4741 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textBorderColor
4742 */
4743 textBorderColor?: string | undefined;
4744
4745 /**
4746 * Storke line width of the text.
4747 *
4748 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textBorderWidth
4749 */
4750 textBorderWidth?: number | undefined;
4751
4752 /**
4753 * Shadow color of the text itself.
4754 *
4755 * @default
4756 * "transparent"
4757 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowColor
4758 */
4759 textShadowColor?: string | undefined;
4760
4761 /**
4762 * Shadow blue of the text itself.
4763 *
4764 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowBlur
4765 */
4766 textShadowBlur?: number | undefined;
4767
4768 /**
4769 * Shadow X offset of the text itself.
4770 *
4771 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowOffsetX
4772 */
4773 textShadowOffsetX?: number | undefined;
4774
4775 /**
4776 * Shadow Y offset of the text itself.
4777 *
4778 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.textShadowOffsetY
4779 */
4780 textShadowOffsetY?: number | undefined;
4781
4782 /**
4783 * "Rich text styles" can be defined in this `rich`
4784 * property. For example:
4785 *
4786 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label)
4787 *
4788 * For more details, see
4789 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
4790 * please.
4791 *
4792 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich
4793 */
4794 rich?: {
4795 /**
4796 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E
4797 */
4798 [userStyle: string]: {
4799 /**
4800 * text color.
4801 *
4802 * If set as `'auto'`, the color will assigned
4803 * as visual color, such as series color.
4804 *
4805 * @default
4806 * ""#fff""
4807 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.color
4808 */
4809 color?: string | undefined;
4810
4811 /**
4812 * font style
4813 *
4814 * Options are:
4815 *
4816 * + `'normal'`
4817 * + `'italic'`
4818 * + `'oblique'`
4819 *
4820 * @default
4821 * "normal"
4822 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
4823 */
4824 fontStyle?: string | undefined;
4825
4826 /**
4827 * font thick weight
4828 *
4829 * Options are:
4830 *
4831 * + `'normal'`
4832 * + `'bold'`
4833 * + `'bolder'`
4834 * + `'lighter'`
4835 * + 100 | 200 | 300 | 400...
4836 *
4837 * @default
4838 * "normal"
4839 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
4840 */
4841 fontWeight?: string | number | undefined;
4842
4843 /**
4844 * font family
4845 *
4846 * Can also be 'serif' , 'monospace', ...
4847 *
4848 * @default
4849 * "sans-serif"
4850 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
4851 */
4852 fontFamily?: string | undefined;
4853
4854 /**
4855 * font size
4856 *
4857 * @default
4858 * 12
4859 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
4860 */
4861 fontSize?: number | undefined;
4862
4863 /**
4864 * Horizontal alignment of text, automatic by
4865 * default.
4866 *
4867 * Options are:
4868 *
4869 * + `'left'`
4870 * + `'center'`
4871 * + `'right'`
4872 *
4873 * If `align` is not set in `rich`, `align`
4874 * in parent level will be used.
4875 * For example:
4876 *
4877 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
4878 *
4879 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.align
4880 */
4881 align?: string | undefined;
4882
4883 /**
4884 * Vertical alignment of text, automatic by
4885 * default.
4886 *
4887 * Options are:
4888 *
4889 * + `'top'`
4890 * + `'middle'`
4891 * + `'bottom'`
4892 *
4893 * If `verticalAlign` is not set in `rich`,
4894 * `verticalAlign` in parent level will be used.
4895 * For example:
4896 *
4897 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
4898 *
4899 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
4900 */
4901 verticalAlign?: string | undefined;
4902
4903 /**
4904 * Line height of the text fregment.
4905 *
4906 * If `lineHeight` is not set in `rich`, `lineHeight`
4907 * in parent level will be used.
4908 * For example:
4909 *
4910 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
4911 *
4912 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
4913 */
4914 lineHeight?: number | undefined;
4915
4916 /**
4917 * Background color of the text fregment.
4918 *
4919 * Can be color string, like `'#123234'`, `'red'`,
4920 * `rgba(0,23,11,0.3)'`.
4921 *
4922 * Or image can be used, for example:
4923 *
4924 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E)
4925 *
4926 * `width` or `height` can be specified when
4927 * using background image, or auto adapted by
4928 * default.
4929 *
4930 * If set as `'auto'`, the color will assigned
4931 * as visual color, such as series color.
4932 *
4933 * @default
4934 * "transparent"
4935 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
4936 */
4937 backgroundColor?: object | string | undefined;
4938
4939 /**
4940 * Border color of the text fregment.
4941 *
4942 * If set as `'auto'`, the color will assigned
4943 * as visual color, such as series color.
4944 *
4945 * @default
4946 * "transparent"
4947 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
4948 */
4949 borderColor?: string | undefined;
4950
4951 /**
4952 * Border width of the text fregment.
4953 *
4954 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
4955 */
4956 borderWidth?: number | undefined;
4957
4958 /**
4959 * Border radius of the text fregment.
4960 *
4961 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
4962 */
4963 borderRadius?: number | undefined;
4964
4965 /**
4966 * Padding of the text fregment, for example:
4967 *
4968 * + `padding: [3, 4, 5, 6]`: represents padding
4969 * of `[top, right, bottom, left]`.
4970 * + `padding: 4`: represents `padding: [4,
4971 * 4, 4, 4]`.
4972 * + `padding: [3, 4]`: represents `padding:
4973 * [3, 4, 3, 4]`.
4974 *
4975 * Notice, `width` and `height` specifies the
4976 * width and height of the content, without
4977 * `padding`.
4978 *
4979 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.padding
4980 */
4981 padding?: any[] | number | undefined;
4982
4983 /**
4984 * Shadow color of the text block.
4985 *
4986 * @default
4987 * "transparent"
4988 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
4989 */
4990 shadowColor?: string | undefined;
4991
4992 /**
4993 * Show blur of the text block.
4994 *
4995 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
4996 */
4997 shadowBlur?: number | undefined;
4998
4999 /**
5000 * Shadow X offset of the text block.
5001 *
5002 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
5003 */
5004 shadowOffsetX?: number | undefined;
5005
5006 /**
5007 * Shadow Y offset of the text block.
5008 *
5009 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
5010 */
5011 shadowOffsetY?: number | undefined;
5012
5013 /**
5014 * Width of the text block.
5015 * It is the width of the text by default.
5016 * In most cases, there is no need to specify
5017 * it.
5018 * You may want to use it in some cases like
5019 * make simple table or using background image
5020 * (see `backgroundColor`).
5021 *
5022 * Notice, `width` and `height` specifies the
5023 * width and height of the content, without
5024 * `padding`.
5025 *
5026 * `width` can also be percent string, like
5027 * `'100%'`, which represents the percent of
5028 * `contentWidth` (that is, the width without
5029 * `padding`) of its container box.
5030 * It is based on `contentWidth` because that
5031 * each text fregment is layout based on the
5032 * `content box`, where it makes no sense that
5033 * calculating width based on `outerWith` in
5034 * prectice.
5035 *
5036 * Notice, `width` and `height` only work when
5037 * `rich` specified.
5038 *
5039 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.width
5040 */
5041 width?: number | string | undefined;
5042
5043 /**
5044 * Height of the text block.
5045 * It is the width of the text by default.
5046 * You may want to use it in some cases like
5047 * using background image (see `backgroundColor`).
5048 *
5049 * Notice, `width` and `height` specifies the
5050 * width and height of the content, without
5051 * `padding`.
5052 *
5053 * Notice, `width` and `height` only work when
5054 * `rich` specified.
5055 *
5056 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.height
5057 */
5058 height?: number | string | undefined;
5059
5060 /**
5061 * Storke color of the text.
5062 *
5063 * If set as `'auto'`, the color will assigned
5064 * as visual color, such as series color.
5065 *
5066 * @default
5067 * "transparent"
5068 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
5069 */
5070 textBorderColor?: string | undefined;
5071
5072 /**
5073 * Storke line width of the text.
5074 *
5075 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
5076 */
5077 textBorderWidth?: number | undefined;
5078
5079 /**
5080 * Shadow color of the text itself.
5081 *
5082 * @default
5083 * "transparent"
5084 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
5085 */
5086 textShadowColor?: string | undefined;
5087
5088 /**
5089 * Shadow blue of the text itself.
5090 *
5091 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
5092 */
5093 textShadowBlur?: number | undefined;
5094
5095 /**
5096 * Shadow X offset of the text itself.
5097 *
5098 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
5099 */
5100 textShadowOffsetX?: number | undefined;
5101
5102 /**
5103 * Shadow Y offset of the text itself.
5104 *
5105 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
5106 */
5107 textShadowOffsetY?: number | undefined;
5108 };
5109 } | undefined;
5110
5111 /**
5112 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis
5113 */
5114 emphasis?: {
5115 /**
5116 * Whether to show label.
5117 *
5118 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.show
5119 */
5120 show?: boolean | undefined;
5121
5122 /**
5123 * Label position.
5124 *
5125 * **Followings are the options:**
5126 *
5127 * + \[x, y\]
5128 *
5129 * Use relative percentage, or absolute pixel values
5130 * to represent position of label relative to top-left
5131 * corner of bounding box. For example:
5132 *
5133 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
5134 *
5135 * + 'top'
5136 *
5137 * + 'left'
5138 * + 'right'
5139 * + 'bottom'
5140 * + 'inside'
5141 * + 'insideLeft'
5142 * + 'insideRight'
5143 * + 'insideTop'
5144 * + 'insideBottom'
5145 * + 'insideTopLeft'
5146 * + 'insideBottomLeft'
5147 * + 'insideTopRight'
5148 * + 'insideBottomRight'
5149 *
5150 * See:
5151 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
5152 * .
5153 *
5154 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.position
5155 */
5156 position?: any[] | string | undefined;
5157
5158 /**
5159 * Distance to the host graphic element.
5160 * Works when position is string value (like `'top'`、`'insideRight'`).
5161 *
5162 * See:
5163 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
5164 * .
5165 *
5166 * @default
5167 * 5
5168 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.distance
5169 */
5170 distance?: number | undefined;
5171
5172 /**
5173 * Rotate label, from -90 degree to 90, positive
5174 * value represents rotate anti-clockwise.
5175 *
5176 * See:
5177 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
5178 * .
5179 *
5180 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rotate
5181 */
5182 rotate?: number | undefined;
5183
5184 /**
5185 * Whether to move text slightly.
5186 * For example: `[30, 40]` means move `30` horizontally
5187 * and move `40` vertically.
5188 *
5189 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.offset
5190 */
5191 offset?: any[] | undefined;
5192
5193 /**
5194 * text color.
5195 *
5196 * If set as `'auto'`, the color will assigned as
5197 * visual color, such as series color.
5198 *
5199 * @default
5200 * ""#fff""
5201 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.color
5202 */
5203 color?: string | undefined;
5204
5205 /**
5206 * font style
5207 *
5208 * Options are:
5209 *
5210 * + `'normal'`
5211 * + `'italic'`
5212 * + `'oblique'`
5213 *
5214 * @default
5215 * "normal"
5216 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontStyle
5217 */
5218 fontStyle?: string | undefined;
5219
5220 /**
5221 * font thick weight
5222 *
5223 * Options are:
5224 *
5225 * + `'normal'`
5226 * + `'bold'`
5227 * + `'bolder'`
5228 * + `'lighter'`
5229 * + 100 | 200 | 300 | 400...
5230 *
5231 * @default
5232 * "normal"
5233 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontWeight
5234 */
5235 fontWeight?: string | number | undefined;
5236
5237 /**
5238 * font family
5239 *
5240 * Can also be 'serif' , 'monospace', ...
5241 *
5242 * @default
5243 * "sans-serif"
5244 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontFamily
5245 */
5246 fontFamily?: string | undefined;
5247
5248 /**
5249 * font size
5250 *
5251 * @default
5252 * 12
5253 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.fontSize
5254 */
5255 fontSize?: number | undefined;
5256
5257 /**
5258 * Horizontal alignment of text, automatic by default.
5259 *
5260 * Options are:
5261 *
5262 * + `'left'`
5263 * + `'center'`
5264 * + `'right'`
5265 *
5266 * If `align` is not set in `rich`, `align` in parent
5267 * level will be used. For example:
5268 *
5269 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
5270 *
5271 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.align
5272 */
5273 align?: string | undefined;
5274
5275 /**
5276 * Vertical alignment of text, automatic by default.
5277 *
5278 * Options are:
5279 *
5280 * + `'top'`
5281 * + `'middle'`
5282 * + `'bottom'`
5283 *
5284 * If `verticalAlign` is not set in `rich`, `verticalAlign`
5285 * in parent level will be used. For example:
5286 *
5287 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
5288 *
5289 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.verticalAlign
5290 */
5291 verticalAlign?: string | undefined;
5292
5293 /**
5294 * Line height of the text fregment.
5295 *
5296 * If `lineHeight` is not set in `rich`, `lineHeight`
5297 * in parent level will be used. For example:
5298 *
5299 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
5300 *
5301 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.lineHeight
5302 */
5303 lineHeight?: number | undefined;
5304
5305 /**
5306 * Background color of the text fregment.
5307 *
5308 * Can be color string, like `'#123234'`, `'red'`,
5309 * `rgba(0,23,11,0.3)'`.
5310 *
5311 * Or image can be used, for example:
5312 *
5313 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
5314 *
5315 * `width` or `height` can be specified when using
5316 * background image, or auto adapted by default.
5317 *
5318 * If set as `'auto'`, the color will assigned as
5319 * visual color, such as series color.
5320 *
5321 * @default
5322 * "transparent"
5323 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.backgroundColor
5324 */
5325 backgroundColor?: object | string | undefined;
5326
5327 /**
5328 * Border color of the text fregment.
5329 *
5330 * If set as `'auto'`, the color will assigned as
5331 * visual color, such as series color.
5332 *
5333 * @default
5334 * "transparent"
5335 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.borderColor
5336 */
5337 borderColor?: string | undefined;
5338
5339 /**
5340 * Border width of the text fregment.
5341 *
5342 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.borderWidth
5343 */
5344 borderWidth?: number | undefined;
5345
5346 /**
5347 * Border radius of the text fregment.
5348 *
5349 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.borderRadius
5350 */
5351 borderRadius?: number | undefined;
5352
5353 /**
5354 * Padding of the text fregment, for example:
5355 *
5356 * + `padding: [3, 4, 5, 6]`: represents padding
5357 * of `[top, right, bottom, left]`.
5358 * + `padding: 4`: represents `padding: [4, 4, 4,
5359 * 4]`.
5360 * + `padding: [3, 4]`: represents `padding: [3,
5361 * 4, 3, 4]`.
5362 *
5363 * Notice, `width` and `height` specifies the width
5364 * and height of the content, without `padding`.
5365 *
5366 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.padding
5367 */
5368 padding?: any[] | number | undefined;
5369
5370 /**
5371 * Shadow color of the text block.
5372 *
5373 * @default
5374 * "transparent"
5375 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowColor
5376 */
5377 shadowColor?: string | undefined;
5378
5379 /**
5380 * Show blur of the text block.
5381 *
5382 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowBlur
5383 */
5384 shadowBlur?: number | undefined;
5385
5386 /**
5387 * Shadow X offset of the text block.
5388 *
5389 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowOffsetX
5390 */
5391 shadowOffsetX?: number | undefined;
5392
5393 /**
5394 * Shadow Y offset of the text block.
5395 *
5396 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.shadowOffsetY
5397 */
5398 shadowOffsetY?: number | undefined;
5399
5400 /**
5401 * Width of the text block.
5402 * It is the width of the text by default.
5403 * In most cases, there is no need to specify it.
5404 * You may want to use it in some cases like make
5405 * simple table or using background image (see `backgroundColor`).
5406 *
5407 * Notice, `width` and `height` specifies the width
5408 * and height of the content, without `padding`.
5409 *
5410 * `width` can also be percent string, like `'100%'`,
5411 * which represents the percent of `contentWidth`
5412 * (that is, the width without `padding`) of its
5413 * container box.
5414 * It is based on `contentWidth` because that each
5415 * text fregment is layout based on the `content
5416 * box`, where it makes no sense that calculating
5417 * width based on `outerWith` in prectice.
5418 *
5419 * Notice, `width` and `height` only work when `rich`
5420 * specified.
5421 *
5422 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.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 using
5430 * background image (see `backgroundColor`).
5431 *
5432 * Notice, `width` and `height` specifies the width
5433 * and height of the content, without `padding`.
5434 *
5435 * Notice, `width` and `height` only work when `rich`
5436 * specified.
5437 *
5438 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.height
5439 */
5440 height?: number | string | undefined;
5441
5442 /**
5443 * Storke color of the text.
5444 *
5445 * If set as `'auto'`, the color will assigned as
5446 * visual color, such as series color.
5447 *
5448 * @default
5449 * "transparent"
5450 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textBorderColor
5451 */
5452 textBorderColor?: string | undefined;
5453
5454 /**
5455 * Storke line width of the text.
5456 *
5457 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textBorderWidth
5458 */
5459 textBorderWidth?: number | undefined;
5460
5461 /**
5462 * Shadow color of the text itself.
5463 *
5464 * @default
5465 * "transparent"
5466 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowColor
5467 */
5468 textShadowColor?: string | undefined;
5469
5470 /**
5471 * Shadow blue of the text itself.
5472 *
5473 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowBlur
5474 */
5475 textShadowBlur?: number | undefined;
5476
5477 /**
5478 * Shadow X offset of the text itself.
5479 *
5480 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowOffsetX
5481 */
5482 textShadowOffsetX?: number | undefined;
5483
5484 /**
5485 * Shadow Y offset of the text itself.
5486 *
5487 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.textShadowOffsetY
5488 */
5489 textShadowOffsetY?: number | undefined;
5490
5491 /**
5492 * "Rich text styles" can be defined in this `rich`
5493 * property. For example:
5494 *
5495 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis)
5496 *
5497 * For more details, see
5498 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
5499 * please.
5500 *
5501 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich
5502 */
5503 rich?: {
5504 /**
5505 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
5506 */
5507 [userStyle: string]: {
5508 /**
5509 * text color.
5510 *
5511 * If set as `'auto'`, the color will assigned
5512 * as visual color, such as series color.
5513 *
5514 * @default
5515 * ""#fff""
5516 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
5517 */
5518 color?: string | undefined;
5519
5520 /**
5521 * font style
5522 *
5523 * Options are:
5524 *
5525 * + `'normal'`
5526 * + `'italic'`
5527 * + `'oblique'`
5528 *
5529 * @default
5530 * "normal"
5531 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
5532 */
5533 fontStyle?: string | undefined;
5534
5535 /**
5536 * font thick weight
5537 *
5538 * Options are:
5539 *
5540 * + `'normal'`
5541 * + `'bold'`
5542 * + `'bolder'`
5543 * + `'lighter'`
5544 * + 100 | 200 | 300 | 400...
5545 *
5546 * @default
5547 * "normal"
5548 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
5549 */
5550 fontWeight?: string | number | undefined;
5551
5552 /**
5553 * font family
5554 *
5555 * Can also be 'serif' , 'monospace',
5556 * ...
5557 *
5558 * @default
5559 * "sans-serif"
5560 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
5561 */
5562 fontFamily?: string | undefined;
5563
5564 /**
5565 * font size
5566 *
5567 * @default
5568 * 12
5569 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
5570 */
5571 fontSize?: number | undefined;
5572
5573 /**
5574 * Horizontal alignment of text, automatic
5575 * by default.
5576 *
5577 * Options are:
5578 *
5579 * + `'left'`
5580 * + `'center'`
5581 * + `'right'`
5582 *
5583 * If `align` is not set in `rich`, `align`
5584 * in parent level will be used.
5585 * For example:
5586 *
5587 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
5588 *
5589 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
5590 */
5591 align?: string | undefined;
5592
5593 /**
5594 * Vertical alignment of text, automatic
5595 * by default.
5596 *
5597 * Options are:
5598 *
5599 * + `'top'`
5600 * + `'middle'`
5601 * + `'bottom'`
5602 *
5603 * If `verticalAlign` is not set in `rich`,
5604 * `verticalAlign` in parent level will
5605 * be used. For example:
5606 *
5607 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
5608 *
5609 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
5610 */
5611 verticalAlign?: string | undefined;
5612
5613 /**
5614 * Line height of the text fregment.
5615 *
5616 * If `lineHeight` is not set in `rich`,
5617 * `lineHeight` in parent level will be
5618 * used. For example:
5619 *
5620 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
5621 *
5622 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
5623 */
5624 lineHeight?: number | undefined;
5625
5626 /**
5627 * Background color of the text fregment.
5628 *
5629 * Can be color string, like `'#123234'`,
5630 * `'red'`, `rgba(0,23,11,0.3)'`.
5631 *
5632 * Or image can be used, for example:
5633 *
5634 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
5635 *
5636 * `width` or `height` can be specified
5637 * when using background image, or auto
5638 * adapted by default.
5639 *
5640 * If set as `'auto'`, the color will assigned
5641 * as visual color, such as series color.
5642 *
5643 * @default
5644 * "transparent"
5645 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
5646 */
5647 backgroundColor?: object | string | undefined;
5648
5649 /**
5650 * Border color of the text fregment.
5651 *
5652 * If set as `'auto'`, the color will assigned
5653 * as visual color, such as series color.
5654 *
5655 * @default
5656 * "transparent"
5657 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
5658 */
5659 borderColor?: string | undefined;
5660
5661 /**
5662 * Border width of the text fregment.
5663 *
5664 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
5665 */
5666 borderWidth?: number | undefined;
5667
5668 /**
5669 * Border radius of the text fregment.
5670 *
5671 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
5672 */
5673 borderRadius?: number | undefined;
5674
5675 /**
5676 * Padding of the text fregment, for example:
5677 *
5678 * + `padding: [3, 4, 5, 6]`: represents
5679 * padding of `[top, right, bottom, left]`.
5680 * + `padding: 4`: represents `padding:
5681 * [4, 4, 4, 4]`.
5682 * + `padding: [3, 4]`: represents `padding:
5683 * [3, 4, 3, 4]`.
5684 *
5685 * Notice, `width` and `height` specifies
5686 * the width and height of the content,
5687 * without `padding`.
5688 *
5689 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
5690 */
5691 padding?: any[] | number | undefined;
5692
5693 /**
5694 * Shadow color of the text block.
5695 *
5696 * @default
5697 * "transparent"
5698 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
5699 */
5700 shadowColor?: string | undefined;
5701
5702 /**
5703 * Show blur of the text block.
5704 *
5705 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
5706 */
5707 shadowBlur?: number | undefined;
5708
5709 /**
5710 * Shadow X offset of the text block.
5711 *
5712 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
5713 */
5714 shadowOffsetX?: number | undefined;
5715
5716 /**
5717 * Shadow Y offset of the text block.
5718 *
5719 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
5720 */
5721 shadowOffsetY?: number | undefined;
5722
5723 /**
5724 * Width of the text block.
5725 * It is the width of the text by default.
5726 * In most cases, there is no need to specify
5727 * it.
5728 * You may want to use it in some cases
5729 * like make simple table or using background
5730 * image (see `backgroundColor`).
5731 *
5732 * Notice, `width` and `height` specifies
5733 * the width and height of the content,
5734 * without `padding`.
5735 *
5736 * `width` can also be percent string, like
5737 * `'100%'`, which represents the percent
5738 * of `contentWidth` (that is, the width
5739 * without `padding`) of its container box.
5740 * It is based on `contentWidth` because
5741 * that each text fregment is layout based
5742 * on the `content box`, where it makes
5743 * no sense that calculating width based
5744 * on `outerWith` in prectice.
5745 *
5746 * Notice, `width` and `height` only work
5747 * when `rich` specified.
5748 *
5749 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
5750 */
5751 width?: number | string | undefined;
5752
5753 /**
5754 * Height of the text block.
5755 * It is the width of the text by default.
5756 * You may want to use it in some cases
5757 * like using background image (see `backgroundColor`).
5758 *
5759 * Notice, `width` and `height` specifies
5760 * the width and height of the content,
5761 * without `padding`.
5762 *
5763 * Notice, `width` and `height` only work
5764 * when `rich` specified.
5765 *
5766 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
5767 */
5768 height?: number | string | undefined;
5769
5770 /**
5771 * Storke color of the text.
5772 *
5773 * If set as `'auto'`, the color will assigned
5774 * as visual color, such as series color.
5775 *
5776 * @default
5777 * "transparent"
5778 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
5779 */
5780 textBorderColor?: string | undefined;
5781
5782 /**
5783 * Storke line width of the text.
5784 *
5785 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
5786 */
5787 textBorderWidth?: number | undefined;
5788
5789 /**
5790 * Shadow color of the text itself.
5791 *
5792 * @default
5793 * "transparent"
5794 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
5795 */
5796 textShadowColor?: string | undefined;
5797
5798 /**
5799 * Shadow blue of the text itself.
5800 *
5801 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
5802 */
5803 textShadowBlur?: number | undefined;
5804
5805 /**
5806 * Shadow X offset of the text itself.
5807 *
5808 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
5809 */
5810 textShadowOffsetX?: number | undefined;
5811
5812 /**
5813 * Shadow Y offset of the text itself.
5814 *
5815 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
5816 */
5817 textShadowOffsetY?: number | undefined;
5818 };
5819 } | undefined;
5820 } | undefined;
5821 } | undefined;
5822 }>
5823 | undefined;
5824
5825 /**
5826 * Whether to enable animation.
5827 *
5828 * @default
5829 * "true"
5830 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animation
5831 */
5832 animation?: boolean | undefined;
5833
5834 /**
5835 * Whether to set graphic number threshold to animation.
5836 * Animation will be disabled when graphic number is larger
5837 * than threshold.
5838 *
5839 * @default
5840 * 2000
5841 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationThreshold
5842 */
5843 animationThreshold?: number | undefined;
5844
5845 /**
5846 * Duration of the first animation, which supports callback
5847 * function for different data to have different animation effect:
5848 *
5849 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
5850 *
5851 * @default
5852 * 1000
5853 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDuration
5854 */
5855 animationDuration?: Function | number | undefined;
5856
5857 /**
5858 * Easing method used for the first animation.
5859 * Varied easing effects can be found at
5860 * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
5861 * .
5862 *
5863 * @default
5864 * "cubicOut"
5865 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationEasing
5866 */
5867 animationEasing?: string | undefined;
5868
5869 /**
5870 * Delay before updating the first animation, which supports
5871 * callback function for different data to have different animation
5872 * effect.
5873 *
5874 * For example:
5875 *
5876 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
5877 *
5878 * See
5879 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
5880 * for more information.
5881 *
5882 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDelay
5883 */
5884 animationDelay?: Function | number | undefined;
5885
5886 /**
5887 * Time for animation to complete, which supports callback function
5888 * for different data to have different animation effect:
5889 *
5890 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
5891 *
5892 * @default
5893 * 300
5894 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDurationUpdate
5895 */
5896 animationDurationUpdate?: Function | number | undefined;
5897
5898 /**
5899 * Easing method used for animation.
5900 *
5901 * @default
5902 * "cubicOut"
5903 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationEasingUpdate
5904 */
5905 animationEasingUpdate?: string | undefined;
5906
5907 /**
5908 * Delay before updating animation, which supports callback
5909 * function for different data to have different animation effect.
5910 *
5911 * For example:
5912 *
5913 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markPoint)
5914 *
5915 * See
5916 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
5917 * for more information.
5918 *
5919 * prefix
5920 *
5921 * @see https://echarts.apache.org/en/option.html#series-bar.markPoint.animationDelayUpdate
5922 */
5923 animationDelayUpdate?: Function | number | undefined;
5924 } | undefined;
5925
5926 /**
5927 * Use a line in the chart to illustrate.
5928 *
5929 * @see https://echarts.apache.org/en/option.html#series-bar.markLine
5930 */
5931 markLine?: {
5932 /**
5933 * Whether to ignore mouse events.
5934 * Default value is false, for triggering and responding to
5935 * mouse events.
5936 *
5937 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.silent
5938 */
5939 silent?: boolean | undefined;
5940
5941 /**
5942 * Symbol type at the two ends of the mark line.
5943 * It can be an array for two ends, or assigned seperately.
5944 * See
5945 * [data.symbol](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbol)
5946 * for more format information.
5947 *
5948 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.symbol
5949 */
5950 symbol?: any[] | string | undefined;
5951
5952 /**
5953 * Symbol size at the two ends of the mark line.
5954 * It can be an array for two ends, or assigned seperately.
5955 *
5956 * **Attention:** You cannot assgin width and height seperately
5957 * as normal `symbolSize`.
5958 *
5959 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.symbolSize
5960 */
5961 symbolSize?: any[] | number | undefined;
5962
5963 /**
5964 * Precison of marking line value, which is useful when displaying
5965 * average value mark line.
5966 *
5967 * @default
5968 * 2
5969 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.precision
5970 */
5971 precision?: number | undefined;
5972
5973 /**
5974 * Mark line text.
5975 *
5976 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label
5977 */
5978 label?: {
5979 /**
5980 * Whether show label or not.
5981 *
5982 * @default
5983 * "true"
5984 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.show
5985 */
5986 show?: boolean | undefined;
5987
5988 /**
5989 * Positions of labels can be:
5990 *
5991 * + `'start'` starting point of the line.
5992 * + `'middle'` middle point of the line.
5993 * + `'end'` ending point of the line.
5994 *
5995 * @default
5996 * "end"
5997 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.position
5998 */
5999 position?: string | undefined;
6000
6001 /**
6002 * Data label formatter, which supports string template
6003 * and callback function.
6004 * In either form, `\n` is supported to represent a new
6005 * line.
6006 *
6007 * **String template**
6008 *
6009 * Model variation includes:
6010 *
6011 * + `{a}`: series name.
6012 * + `{b}`: the name of a data item.
6013 * + `{c}`: the value of a data item.
6014 * + `{d}`: the percent.
6015 * + `{@xxx}: the value of a dimension named`'xxx'`, for
6016 * example,`{@product}`refers the value of`'product'\` dimension。
6017 * + `{@[n]}: the value of a dimension at the index of`n`,
6018 * for example,`{@\[3\]}\` refers the value at dimensions\[3\].
6019 *
6020 * **example:**
6021 *
6022 * ```
6023 * formatter: '{b}: {d}'
6024 *
6025 * ```
6026 *
6027 * **Callback function**
6028 *
6029 * Callback function is in form of:
6030 *
6031 * ```
6032 * (params: Object|Array) => string
6033 *
6034 * ```
6035 *
6036 * where `params` is the single dataset needed by formatter,
6037 * which is formed as:
6038 *
6039 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.label)
6040 *
6041 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.formatter
6042 */
6043 formatter?: Function | string | undefined;
6044
6045 /**
6046 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis
6047 */
6048 emphasis?: {
6049 /**
6050 * Whether show label or not.
6051 *
6052 * @default
6053 * "true"
6054 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis.show
6055 */
6056 show?: boolean | undefined;
6057
6058 /**
6059 * Positions of labels can be:
6060 *
6061 * + `'start'` starting point of the line.
6062 * + `'middle'` middle point of the line.
6063 * + `'end'` ending point of the line.
6064 *
6065 * @default
6066 * "end"
6067 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis.position
6068 */
6069 position?: string | undefined;
6070
6071 /**
6072 * Data label formatter, which supports string template
6073 * and callback function.
6074 * In either form, `\n` is supported to represent a
6075 * new line.
6076 *
6077 * **String template**
6078 *
6079 * Model variation includes:
6080 *
6081 * + `{a}`: series name.
6082 * + `{b}`: the name of a data item.
6083 * + `{c}`: the value of a data item.
6084 * + `{d}`: the percent.
6085 * + `{@xxx}: the value of a dimension named`'xxx'`,
6086 * for example,`{@product}`refers the value of`'product'\`
6087 * dimension。
6088 * + `{@[n]}: the value of a dimension at the index
6089 * of`n`, for example,`{@\[3\]}\` refers the value at
6090 * dimensions\[3\].
6091 *
6092 * **example:**
6093 *
6094 * ```
6095 * formatter: '{b}: {d}'
6096 *
6097 * ```
6098 *
6099 * **Callback function**
6100 *
6101 * Callback function is in form of:
6102 *
6103 * ```
6104 * (params: Object|Array) => string
6105 *
6106 * ```
6107 *
6108 * where `params` is the single dataset needed by formatter,
6109 * which is formed as:
6110 *
6111 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.label.emphasis)
6112 *
6113 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.label.emphasis.formatter
6114 */
6115 formatter?: Function | string | undefined;
6116 } | undefined;
6117 } | undefined;
6118
6119 /**
6120 * Mark line style.
6121 *
6122 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle
6123 */
6124 lineStyle?: {
6125 /**
6126 * Line color.
6127 *
6128 * > Color can be represented in RGB, for example `'rgb(128,
6129 * 128, 128)'`.
6130 * RGBA can be used when you need alpha channel, for example
6131 * `'rgba(128, 128, 128, 0.5)'`.
6132 * You may also use hexadecimal format, for example `'#ccc'`.
6133 * Gradient color and texture are also supported besides
6134 * single colors.
6135 * >
6136 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle)
6137 *
6138 * @default
6139 * "#000"
6140 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.color
6141 */
6142 color?: EChartOption.Color | undefined;
6143
6144 /**
6145 * line width.
6146 *
6147 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.width
6148 */
6149 width?: number | undefined;
6150
6151 /**
6152 * line type.
6153 *
6154 * Options are:
6155 *
6156 * + `'solid'`
6157 * + `'dashed'`
6158 * + `'dotted'`
6159 *
6160 * @default
6161 * "solid"
6162 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.type
6163 */
6164 type?: string | undefined;
6165
6166 /**
6167 * Size of shadow blur.
6168 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
6169 * `shadowOffsetY` to set shadow to component.
6170 *
6171 * For example:
6172 *
6173 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle)
6174 *
6175 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowBlur
6176 */
6177 shadowBlur?: number | undefined;
6178
6179 /**
6180 * Shadow color. Support same format as `color`.
6181 *
6182 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowColor
6183 */
6184 shadowColor?: EChartOption.Color | undefined;
6185
6186 /**
6187 * Offset distance on the horizontal direction of shadow.
6188 *
6189 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowOffsetX
6190 */
6191 shadowOffsetX?: number | undefined;
6192
6193 /**
6194 * Offset distance on the vertical direction of shadow.
6195 *
6196 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.shadowOffsetY
6197 */
6198 shadowOffsetY?: number | undefined;
6199
6200 /**
6201 * Opacity of the component.
6202 * Supports value from 0 to 1, and the component will not
6203 * be drawn when set to 0.
6204 *
6205 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.opacity
6206 */
6207 opacity?: number | undefined;
6208
6209 /**
6210 * Edge curvature, which supports value from 0 to 1.
6211 * The larger the value, the greater the curvature.
6212 *
6213 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.curveness
6214 */
6215 curveness?: number | undefined;
6216
6217 /**
6218 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis
6219 */
6220 emphasis?: {
6221 /**
6222 * Line color.
6223 *
6224 * > Color can be represented in RGB, for example `'rgb(128,
6225 * 128, 128)'`.
6226 * RGBA can be used when you need alpha channel, for
6227 * example `'rgba(128, 128, 128, 0.5)'`.
6228 * You may also use hexadecimal format, for example
6229 * `'#ccc'`.
6230 * Gradient color and texture are also supported besides
6231 * single colors.
6232 * >
6233 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle.emphasis)
6234 *
6235 * @default
6236 * "#000"
6237 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.color
6238 */
6239 color?: EChartOption.Color | undefined;
6240
6241 /**
6242 * line width.
6243 *
6244 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.width
6245 */
6246 width?: number | undefined;
6247
6248 /**
6249 * line type.
6250 *
6251 * Options are:
6252 *
6253 * + `'solid'`
6254 * + `'dashed'`
6255 * + `'dotted'`
6256 *
6257 * @default
6258 * "solid"
6259 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.type
6260 */
6261 type?: string | undefined;
6262
6263 /**
6264 * Size of shadow blur.
6265 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
6266 * `shadowOffsetY` to set shadow to component.
6267 *
6268 * For example:
6269 *
6270 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.lineStyle.emphasis)
6271 *
6272 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowBlur
6273 */
6274 shadowBlur?: number | undefined;
6275
6276 /**
6277 * Shadow color. Support same format as `color`.
6278 *
6279 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowColor
6280 */
6281 shadowColor?: EChartOption.Color | undefined;
6282
6283 /**
6284 * Offset distance on the horizontal direction of shadow.
6285 *
6286 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowOffsetX
6287 */
6288 shadowOffsetX?: number | undefined;
6289
6290 /**
6291 * Offset distance on the vertical direction of shadow.
6292 *
6293 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.shadowOffsetY
6294 */
6295 shadowOffsetY?: number | undefined;
6296
6297 /**
6298 * Opacity of the component.
6299 * Supports value from 0 to 1, and the component will
6300 * not be drawn when set to 0.
6301 *
6302 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.lineStyle.emphasis.opacity
6303 */
6304 opacity?: number | undefined;
6305 } | undefined;
6306 } | undefined;
6307
6308 /**
6309 * Data array of marking line.
6310 * Every array item can be an array of one or two values, representing
6311 * starting and ending point of the line, and every item is
6312 * an object.
6313 * Here are several ways to assign the positions of starting
6314 * and ending point.
6315 *
6316 * 1. Assign coordinate according to container with
6317 * [x](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.x)
6318 * ,
6319 * [y](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.y)
6320 * attribute, in which pixel values and percentage are supported.
6321 *
6322 * 2. Assign coordinate position with
6323 * [coord](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.coord)
6324 * attribute, in which `'min'`, `'max'`, `'average'` are supported
6325 * for each dimension.
6326 *
6327 * 3. Use
6328 * [type](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.type)
6329 * attribute to mark the maximum and minimum values in the series,
6330 * in which
6331 * [valueIndex](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueIndex)
6332 * or
6333 * [valueDim](https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueDim)
6334 * can be used to assign the dimension.
6335 *
6336 * 4.
6337 * You may also create a mark line in Cartesian coordinate at
6338 * a specific position in X or Y axis by assigning `xAxis` or
6339 * `yAxis`. See
6340 * [scatter-weight](https://echarts.apache.org/examples/en/editor.html?c=scatter-weight)
6341 * for example.
6342 *
6343 * When multiple attributes exist, priority is as the above
6344 * order.
6345 *
6346 * You may also set the type of mark line through `type`, stating
6347 * whether it is for the maximum value or average value.
6348 * Likewise, dimensions can be assigned through `valueIndex`.
6349 *
6350 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
6351 *
6352 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data
6353 */
6354 data?: {
6355 /**
6356 * Data of the starting point.
6357 *
6358 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0
6359 */
6360 0?: {
6361 /**
6362 * Special label types, are used to label maximum value,
6363 * minimum value and so on.
6364 *
6365 * **Options are:**
6366 *
6367 * + `'min'` maximum value.
6368 * + `'max'` minimum value.
6369 * + `'average'` average value.
6370 *
6371 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.type
6372 */
6373 type?: string | undefined;
6374
6375 /**
6376 * Works only when
6377 * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
6378 * is assigned.
6379 * It is used to state the dimension used to calculate
6380 * maximum value or minimum value.
6381 * It may be `0` (for xAxis, or radiusAxis), or `1`
6382 * (for yAxis, or angleAxis).
6383 * Dimension of the first numeric axis is used by default.
6384 *
6385 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueIndex
6386 */
6387 valueIndex?: number | undefined;
6388
6389 /**
6390 * Works only when
6391 * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
6392 * is assigned.
6393 * It is used to state the dimension used to calculate
6394 * maximum value or minimum value.
6395 * It may be the direct name of a dimension, like `x`,
6396 * or `angle` for line charts, or `open`, or `close`
6397 * for candlestick charts.
6398 *
6399 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.valueDim
6400 */
6401 valueDim?: string | undefined;
6402
6403 /**
6404 * Coordinates of the starting point or ending point,
6405 * whose format depends on the coordinate of the series.
6406 * It can be `x`, and `y` for
6407 * [rectangular coordinates](https://echarts.apache.org/en/option.html#grid)
6408 * , or `radius`, and `angle` for
6409 * [polar coordinates](https://echarts.apache.org/en/option.html#polar)
6410 * .
6411 *
6412 * **Notice:** For axis with
6413 * [axis.type](https://echarts.apache.org/en/option.html#xAixs.type)
6414 * `'category'`:
6415 *
6416 * + If coord value is `number`, it represents index
6417 * of
6418 * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
6419 * .
6420 * + If coord value is `string`, it represents concrete
6421 * value in
6422 * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
6423 *
6424 * Please notice that in this case `xAxis.data`
6425 * must not be written as \[number, number,
6426 *
6427 * \], but can only be written \[string, string,
6428 *
6429 * \].
6430 * Otherwise it is not able to be located by markPoint
6431 * / markLine.
6432 *
6433 * For example:
6434 *
6435 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0)
6436 *
6437 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.coord
6438 */
6439 coord?: any[] | undefined;
6440
6441 /**
6442 * Name of the marker, which will display as a label.
6443 *
6444 * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markLine.data.0.name
6445 */
6446 name?: string | undefined;
6447
6448 /**
6449 * X position according to container, in pixel.
6450 *
6451 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.x
6452 */
6453 x?: number | undefined;
6454
6455 /**
6456 * Y position according to container, in pixel.
6457 *
6458 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.y
6459 */
6460 y?: number | undefined;
6461
6462 /**
6463 * Label value, which can be ignored.
6464 *
6465 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.value
6466 */
6467 value?: number | undefined;
6468
6469 /**
6470 * Symbol of starting point.
6471 *
6472 * Icon types provided by ECharts includes `'circle'`,
6473 * `'rect'`, `'roundRect'`, `'triangle'`, `'diamond'`,
6474 * `'pin'`, `'arrow'`, `'none'`
6475 *
6476 * It can be set to an image with `'image://url'` ,
6477 * in which URL is the link to an image, or `dataURI`
6478 * of an image.
6479 *
6480 * An image URL example:
6481 *
6482 * ```
6483 * 'image://http://xxx.xxx.xxx/a/b.png'
6484 *
6485 * ```
6486 *
6487 * A `dataURI` example:
6488 *
6489 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0)
6490 *
6491 * Icons can be set to arbitrary vector path via `'path://'`
6492 * in ECharts.
6493 * As compared with raster image, vector paths prevent
6494 * from jagging and blurring when scaled, and have a
6495 * better control over changing colors.
6496 * Size of vectoer icon will be adapted automatically.
6497 * Refer to
6498 * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
6499 * for more information about format of path.
6500 * You may export vector paths from tools like Adobe
6501 * Illustrator.
6502 *
6503 * For example:
6504 *
6505 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0)
6506 *
6507 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbol
6508 */
6509 symbol?: string | undefined;
6510
6511 /**
6512 * starting point symbol size.
6513 * It can be set to single numbers like `10`, or use
6514 * an array to represent width and height.
6515 * For example, `[20, 10]` means symbol width is `20`,
6516 * and height is`10`.
6517 *
6518 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolSize
6519 */
6520 symbolSize?: any[] | number | undefined;
6521
6522 /**
6523 * Rotate degree of starting point symbol.
6524 * Note that when `symbol` is set to be `'arrow'` in
6525 * `markLine`, `symbolRotate` value will be ignored,
6526 * and compulsively use tangent angle.
6527 *
6528 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolRotate
6529 */
6530 symbolRotate?: number | undefined;
6531
6532 /**
6533 * Whether to keep aspect for symbols in the form of
6534 * `path://`.
6535 *
6536 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolKeepAspect
6537 */
6538 symbolKeepAspect?: boolean | undefined;
6539
6540 /**
6541 * Offset of starting point symbol relative to original
6542 * position.
6543 * By default, symbol will be put in the center position
6544 * of data.
6545 * But if symbol is from user-defined vector path or
6546 * image, you may not expect symbol to be in center.
6547 * In this case, you may use this attribute to set offset
6548 * to default position.
6549 * It can be in absolute pixel value, or in relative
6550 * percentage value.
6551 *
6552 * For example, `[0, '50%']` means to move upside side
6553 * position of symbol height.
6554 * It can be used to make the arrow in the bottom to
6555 * be at data position when symbol is pin.
6556 *
6557 * @default
6558 * [0, 0]
6559 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.symbolOffset
6560 */
6561 symbolOffset?: any[] | undefined;
6562
6563 /**
6564 * Line style of this data item, which will be merged
6565 * with `lineStyle` of starting point and ending point.
6566 *
6567 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle
6568 */
6569 lineStyle?: {
6570 /**
6571 * Line color.
6572 *
6573 * > Color can be represented in RGB, for example
6574 * `'rgb(128, 128, 128)'`.
6575 * RGBA can be used when you need alpha channel,
6576 * for example `'rgba(128, 128, 128, 0.5)'`.
6577 * You may also use hexadecimal format, for example
6578 * `'#ccc'`.
6579 * Gradient color and texture are also supported
6580 * besides single colors.
6581 * >
6582 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle)
6583 *
6584 * @default
6585 * "#000"
6586 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.color
6587 */
6588 color?: EChartOption.Color | undefined;
6589
6590 /**
6591 * line width.
6592 *
6593 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.width
6594 */
6595 width?: number | undefined;
6596
6597 /**
6598 * line type.
6599 *
6600 * Options are:
6601 *
6602 * + `'solid'`
6603 * + `'dashed'`
6604 * + `'dotted'`
6605 *
6606 * @default
6607 * "solid"
6608 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.type
6609 */
6610 type?: string | undefined;
6611
6612 /**
6613 * Size of shadow blur.
6614 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
6615 * `shadowOffsetY` to set shadow to component.
6616 *
6617 * For example:
6618 *
6619 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle)
6620 *
6621 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowBlur
6622 */
6623 shadowBlur?: number | undefined;
6624
6625 /**
6626 * Shadow color. Support same format as `color`.
6627 *
6628 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowColor
6629 */
6630 shadowColor?: EChartOption.Color | undefined;
6631
6632 /**
6633 * Offset distance on the horizontal direction of
6634 * shadow.
6635 *
6636 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowOffsetX
6637 */
6638 shadowOffsetX?: number | undefined;
6639
6640 /**
6641 * Offset distance on the vertical direction of
6642 * shadow.
6643 *
6644 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.shadowOffsetY
6645 */
6646 shadowOffsetY?: number | undefined;
6647
6648 /**
6649 * Opacity of the component.
6650 * Supports value from 0 to 1, and the component
6651 * will not be drawn when set to 0.
6652 *
6653 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.opacity
6654 */
6655 opacity?: number | undefined;
6656
6657 /**
6658 * Edge curvature, which supports value from 0 to
6659 * 1.
6660 * The larger the value, the greater the curvature.
6661 *
6662 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.curveness
6663 */
6664 curveness?: number | undefined;
6665
6666 /**
6667 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis
6668 */
6669 emphasis?: {
6670 /**
6671 * Line color.
6672 *
6673 * > Color can be represented in RGB, for example
6674 * `'rgb(128, 128, 128)'`.
6675 * RGBA can be used when you need alpha channel,
6676 * for example `'rgba(128, 128, 128, 0.5)'`.
6677 * You may also use hexadecimal format, for
6678 * example `'#ccc'`.
6679 * Gradient color and texture are also supported
6680 * besides single colors.
6681 * >
6682 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle.emphasis)
6683 *
6684 * @default
6685 * "#000"
6686 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.color
6687 */
6688 color?: EChartOption.Color | undefined;
6689
6690 /**
6691 * line width.
6692 *
6693 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.width
6694 */
6695 width?: number | undefined;
6696
6697 /**
6698 * line type.
6699 *
6700 * Options are:
6701 *
6702 * + `'solid'`
6703 * + `'dashed'`
6704 * + `'dotted'`
6705 *
6706 * @default
6707 * "solid"
6708 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.type
6709 */
6710 type?: string | undefined;
6711
6712 /**
6713 * Size of shadow blur.
6714 * This attribute should be used along with
6715 * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
6716 * to set shadow to component.
6717 *
6718 * For example:
6719 *
6720 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.lineStyle.emphasis)
6721 *
6722 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowBlur
6723 */
6724 shadowBlur?: number | undefined;
6725
6726 /**
6727 * Shadow color.
6728 * Support same format as `color`.
6729 *
6730 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowColor
6731 */
6732 shadowColor?: EChartOption.Color | undefined;
6733
6734 /**
6735 * Offset distance on the horizontal direction
6736 * of shadow.
6737 *
6738 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowOffsetX
6739 */
6740 shadowOffsetX?: number | undefined;
6741
6742 /**
6743 * Offset distance on the vertical direction
6744 * of shadow.
6745 *
6746 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.shadowOffsetY
6747 */
6748 shadowOffsetY?: number | undefined;
6749
6750 /**
6751 * Opacity of the component.
6752 * Supports value from 0 to 1, and the component
6753 * will not be drawn when set to 0.
6754 *
6755 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.opacity
6756 */
6757 opacity?: number | undefined;
6758
6759 /**
6760 * Edge curvature, which supports value from
6761 * 0 to 1.
6762 * The larger the value, the greater the curvature.
6763 *
6764 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.lineStyle.emphasis.curveness
6765 */
6766 curveness?: number | undefined;
6767 } | undefined;
6768 } | undefined;
6769
6770 /**
6771 * Label of this data item, which will be merged with
6772 * `label` of starting point and ending point.
6773 *
6774 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label
6775 */
6776 label?: {
6777 /**
6778 * Whether show label or not.
6779 *
6780 * @default
6781 * "true"
6782 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.show
6783 */
6784 show?: boolean | undefined;
6785
6786 /**
6787 * Positions of labels can be:
6788 *
6789 * + `'start'` starting point of the line.
6790 * + `'middle'` middle point of the line.
6791 * + `'end'` ending point of the line.
6792 *
6793 * @default
6794 * "end"
6795 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.position
6796 */
6797 position?: string | undefined;
6798
6799 /**
6800 * Data label formatter, which supports string template
6801 * and callback function.
6802 * In either form, `\n` is supported to represent
6803 * a new line.
6804 *
6805 * **String template**
6806 *
6807 * Model variation includes:
6808 *
6809 * + `{a}`: series name.
6810 * + `{b}`: the name of a data item.
6811 * + `{c}`: the value of a data item.
6812 * + `{d}`: the percent.
6813 * + `{@xxx}: the value of a dimension named`'xxx'`,
6814 * for example,`{@product}`refers the value of`'product'\`
6815 * dimension。
6816 * + `{@[n]}: the value of a dimension at the index
6817 * of`n`, for example,`{@\[3\]}\` refers the value
6818 * at dimensions\[3\].
6819 *
6820 * **example:**
6821 *
6822 * ```
6823 * formatter: '{b}: {d}'
6824 *
6825 * ```
6826 *
6827 * **Callback function**
6828 *
6829 * Callback function is in form of:
6830 *
6831 * ```
6832 * (params: Object|Array) => string
6833 *
6834 * ```
6835 *
6836 * where `params` is the single dataset needed by
6837 * formatter, which is formed as:
6838 *
6839 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.label)
6840 *
6841 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.formatter
6842 */
6843 formatter?: Function | string | undefined;
6844
6845 /**
6846 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis
6847 */
6848 emphasis?: {
6849 /**
6850 * Whether show label or not.
6851 *
6852 * @default
6853 * "true"
6854 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis.show
6855 */
6856 show?: boolean | undefined;
6857
6858 /**
6859 * Positions of labels can be:
6860 *
6861 * + `'start'` starting point of the line.
6862 * + `'middle'` middle point of the line.
6863 * + `'end'` ending point of the line.
6864 *
6865 * @default
6866 * "end"
6867 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis.position
6868 */
6869 position?: string | undefined;
6870
6871 /**
6872 * Data label formatter, which supports string
6873 * template and callback function.
6874 * In either form, `\n` is supported to represent
6875 * a new line.
6876 *
6877 * **String template**
6878 *
6879 * Model variation includes:
6880 *
6881 * + `{a}`: series name.
6882 * + `{b}`: the name of a data item.
6883 * + `{c}`: the value of a data item.
6884 * + `{d}`: the percent.
6885 * + `{@xxx}: the value of a dimension named`'xxx'`,
6886 * for example,`{@product}`refers the value
6887 * of`'product'\` dimension。
6888 * + `{@[n]}: the value of a dimension at the
6889 * index of`n`, for example,`{@\[3\]}\` refers
6890 * the value at dimensions\[3\].
6891 *
6892 * **example:**
6893 *
6894 * ```
6895 * formatter: '{b}: {d}'
6896 *
6897 * ```
6898 *
6899 * **Callback function**
6900 *
6901 * Callback function is in form of:
6902 *
6903 * ```
6904 * (params: Object|Array) => string
6905 *
6906 * ```
6907 *
6908 * where `params` is the single dataset needed
6909 * by formatter, which is formed as:
6910 *
6911 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.0.label.emphasis)
6912 *
6913 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.0.label.emphasis.formatter
6914 */
6915 formatter?: Function | string | undefined;
6916 } | undefined;
6917 } | undefined;
6918 } | undefined;
6919
6920 /**
6921 * Data of the ending point.
6922 *
6923 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1
6924 */
6925 1?: {
6926 /**
6927 * Special label types, are used to label maximum value,
6928 * minimum value and so on.
6929 *
6930 * **Options are:**
6931 *
6932 * + `'min'` maximum value.
6933 * + `'max'` minimum value.
6934 * + `'average'` average value.
6935 *
6936 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.type
6937 */
6938 type?: string | undefined;
6939
6940 /**
6941 * Works only when
6942 * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
6943 * is assigned.
6944 * It is used to state the dimension used to calculate
6945 * maximum value or minimum value.
6946 * It may be `0` (for xAxis, or radiusAxis), or `1`
6947 * (for yAxis, or angleAxis).
6948 * Dimension of the first numeric axis is used by default.
6949 *
6950 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.valueIndex
6951 */
6952 valueIndex?: number | undefined;
6953
6954 /**
6955 * Works only when
6956 * [type](https://echarts.apache.org/en/option.html#series-.markLine.data.type)
6957 * is assigned.
6958 * It is used to state the dimension used to calculate
6959 * maximum value or minimum value.
6960 * It may be the direct name of a dimension, like `x`,
6961 * or `angle` for line charts, or `open`, or `close`
6962 * for candlestick charts.
6963 *
6964 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.valueDim
6965 */
6966 valueDim?: string | undefined;
6967
6968 /**
6969 * Coordinates of the starting point or ending point,
6970 * whose format depends on the coordinate of the series.
6971 * It can be `x`, and `y` for
6972 * [rectangular coordinates](https://echarts.apache.org/en/option.html#grid)
6973 * , or `radius`, and `angle` for
6974 * [polar coordinates](https://echarts.apache.org/en/option.html#polar)
6975 * .
6976 *
6977 * **Notice:** For axis with
6978 * [axis.type](https://echarts.apache.org/en/option.html#xAixs.type)
6979 * `'category'`:
6980 *
6981 * + If coord value is `number`, it represents index
6982 * of
6983 * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
6984 * .
6985 * + If coord value is `string`, it represents concrete
6986 * value in
6987 * [axis.data](https://echarts.apache.org/en/option.html#xAxis.data)
6988 *
6989 * Please notice that in this case `xAxis.data`
6990 * must not be written as \[number, number,
6991 *
6992 * \], but can only be written \[string, string,
6993 *
6994 * \].
6995 * Otherwise it is not able to be located by markPoint
6996 * / markLine.
6997 *
6998 * For example:
6999 *
7000 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1)
7001 *
7002 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.coord
7003 */
7004 coord?: any[] | undefined;
7005
7006 /**
7007 * Name of the marker, which will display as a label.
7008 *
7009 * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markLine.data.1.name
7010 */
7011 name?: string | undefined;
7012
7013 /**
7014 * X position according to container, in pixel.
7015 *
7016 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.x
7017 */
7018 x?: number | undefined;
7019
7020 /**
7021 * Y position according to container, in pixel.
7022 *
7023 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.y
7024 */
7025 y?: number | undefined;
7026
7027 /**
7028 * Label value, which can be ignored.
7029 *
7030 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.value
7031 */
7032 value?: number | undefined;
7033
7034 /**
7035 * Symbol of ending point.
7036 *
7037 * Icon types provided by ECharts includes `'circle'`,
7038 * `'rect'`, `'roundRect'`, `'triangle'`, `'diamond'`,
7039 * `'pin'`, `'arrow'`, `'none'`
7040 *
7041 * It can be set to an image with `'image://url'` ,
7042 * in which URL is the link to an image, or `dataURI`
7043 * of an image.
7044 *
7045 * An image URL example:
7046 *
7047 * ```
7048 * 'image://http://xxx.xxx.xxx/a/b.png'
7049 *
7050 * ```
7051 *
7052 * A `dataURI` example:
7053 *
7054 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1)
7055 *
7056 * Icons can be set to arbitrary vector path via `'path://'`
7057 * in ECharts.
7058 * As compared with raster image, vector paths prevent
7059 * from jagging and blurring when scaled, and have a
7060 * better control over changing colors.
7061 * Size of vectoer icon will be adapted automatically.
7062 * Refer to
7063 * [SVG PathData](http://www.w3.org/TR/SVG/paths.html#PathData)
7064 * for more information about format of path.
7065 * You may export vector paths from tools like Adobe
7066 * Illustrator.
7067 *
7068 * For example:
7069 *
7070 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1)
7071 *
7072 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbol
7073 */
7074 symbol?: string | undefined;
7075
7076 /**
7077 * ending point symbol size.
7078 * It can be set to single numbers like `10`, or use
7079 * an array to represent width and height.
7080 * For example, `[20, 10]` means symbol width is `20`,
7081 * and height is`10`.
7082 *
7083 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolSize
7084 */
7085 symbolSize?: any[] | number | undefined;
7086
7087 /**
7088 * Rotate degree of ending point symbol.
7089 * Note that when `symbol` is set to be `'arrow'` in
7090 * `markLine`, `symbolRotate` value will be ignored,
7091 * and compulsively use tangent angle.
7092 *
7093 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolRotate
7094 */
7095 symbolRotate?: number | undefined;
7096
7097 /**
7098 * Whether to keep aspect for symbols in the form of
7099 * `path://`.
7100 *
7101 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolKeepAspect
7102 */
7103 symbolKeepAspect?: boolean | undefined;
7104
7105 /**
7106 * Offset of ending point symbol relative to original
7107 * position.
7108 * By default, symbol will be put in the center position
7109 * of data.
7110 * But if symbol is from user-defined vector path or
7111 * image, you may not expect symbol to be in center.
7112 * In this case, you may use this attribute to set offset
7113 * to default position.
7114 * It can be in absolute pixel value, or in relative
7115 * percentage value.
7116 *
7117 * For example, `[0, '50%']` means to move upside side
7118 * position of symbol height.
7119 * It can be used to make the arrow in the bottom to
7120 * be at data position when symbol is pin.
7121 *
7122 * @default
7123 * [0, 0]
7124 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.symbolOffset
7125 */
7126 symbolOffset?: any[] | undefined;
7127
7128 /**
7129 * Line style of this data item, which will be merged
7130 * with `lineStyle` of starting point and ending point.
7131 *
7132 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle
7133 */
7134 lineStyle?: {
7135 /**
7136 * Line color.
7137 *
7138 * > Color can be represented in RGB, for example
7139 * `'rgb(128, 128, 128)'`.
7140 * RGBA can be used when you need alpha channel,
7141 * for example `'rgba(128, 128, 128, 0.5)'`.
7142 * You may also use hexadecimal format, for example
7143 * `'#ccc'`.
7144 * Gradient color and texture are also supported
7145 * besides single colors.
7146 * >
7147 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle)
7148 *
7149 * @default
7150 * "#000"
7151 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.color
7152 */
7153 color?: EChartOption.Color | undefined;
7154
7155 /**
7156 * line width.
7157 *
7158 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.width
7159 */
7160 width?: number | undefined;
7161
7162 /**
7163 * line type.
7164 *
7165 * Options are:
7166 *
7167 * + `'solid'`
7168 * + `'dashed'`
7169 * + `'dotted'`
7170 *
7171 * @default
7172 * "solid"
7173 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.type
7174 */
7175 type?: string | undefined;
7176
7177 /**
7178 * Size of shadow blur.
7179 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
7180 * `shadowOffsetY` to set shadow to component.
7181 *
7182 * For example:
7183 *
7184 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle)
7185 *
7186 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowBlur
7187 */
7188 shadowBlur?: number | undefined;
7189
7190 /**
7191 * Shadow color. Support same format as `color`.
7192 *
7193 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowColor
7194 */
7195 shadowColor?: EChartOption.Color | undefined;
7196
7197 /**
7198 * Offset distance on the horizontal direction of
7199 * shadow.
7200 *
7201 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowOffsetX
7202 */
7203 shadowOffsetX?: number | undefined;
7204
7205 /**
7206 * Offset distance on the vertical direction of
7207 * shadow.
7208 *
7209 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.shadowOffsetY
7210 */
7211 shadowOffsetY?: number | undefined;
7212
7213 /**
7214 * Opacity of the component.
7215 * Supports value from 0 to 1, and the component
7216 * will not be drawn when set to 0.
7217 *
7218 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.opacity
7219 */
7220 opacity?: number | undefined;
7221
7222 /**
7223 * Edge curvature, which supports value from 0 to
7224 * 1.
7225 * The larger the value, the greater the curvature.
7226 *
7227 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.curveness
7228 */
7229 curveness?: number | undefined;
7230
7231 /**
7232 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis
7233 */
7234 emphasis?: {
7235 /**
7236 * Line color.
7237 *
7238 * > Color can be represented in RGB, for example
7239 * `'rgb(128, 128, 128)'`.
7240 * RGBA can be used when you need alpha channel,
7241 * for example `'rgba(128, 128, 128, 0.5)'`.
7242 * You may also use hexadecimal format, for
7243 * example `'#ccc'`.
7244 * Gradient color and texture are also supported
7245 * besides single colors.
7246 * >
7247 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle.emphasis)
7248 *
7249 * @default
7250 * "#000"
7251 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.color
7252 */
7253 color?: EChartOption.Color | undefined;
7254
7255 /**
7256 * line width.
7257 *
7258 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.width
7259 */
7260 width?: number | undefined;
7261
7262 /**
7263 * line type.
7264 *
7265 * Options are:
7266 *
7267 * + `'solid'`
7268 * + `'dashed'`
7269 * + `'dotted'`
7270 *
7271 * @default
7272 * "solid"
7273 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.type
7274 */
7275 type?: string | undefined;
7276
7277 /**
7278 * Size of shadow blur.
7279 * This attribute should be used along with
7280 * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
7281 * to set shadow to component.
7282 *
7283 * For example:
7284 *
7285 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.lineStyle.emphasis)
7286 *
7287 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowBlur
7288 */
7289 shadowBlur?: number | undefined;
7290
7291 /**
7292 * Shadow color.
7293 * Support same format as `color`.
7294 *
7295 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowColor
7296 */
7297 shadowColor?: EChartOption.Color | undefined;
7298
7299 /**
7300 * Offset distance on the horizontal direction
7301 * of shadow.
7302 *
7303 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowOffsetX
7304 */
7305 shadowOffsetX?: number | undefined;
7306
7307 /**
7308 * Offset distance on the vertical direction
7309 * of shadow.
7310 *
7311 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.shadowOffsetY
7312 */
7313 shadowOffsetY?: number | undefined;
7314
7315 /**
7316 * Opacity of the component.
7317 * Supports value from 0 to 1, and the component
7318 * will not be drawn when set to 0.
7319 *
7320 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.opacity
7321 */
7322 opacity?: number | undefined;
7323
7324 /**
7325 * Edge curvature, which supports value from
7326 * 0 to 1.
7327 * The larger the value, the greater the curvature.
7328 *
7329 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.lineStyle.emphasis.curveness
7330 */
7331 curveness?: number | undefined;
7332 } | undefined;
7333 } | undefined;
7334
7335 /**
7336 * Label of this data item, which will be merged with
7337 * `label` of starting point and ending point.
7338 *
7339 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label
7340 */
7341 label?: {
7342 /**
7343 * Whether show label or not.
7344 *
7345 * @default
7346 * "true"
7347 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.show
7348 */
7349 show?: boolean | undefined;
7350
7351 /**
7352 * Positions of labels can be:
7353 *
7354 * + `'start'` starting point of the line.
7355 * + `'middle'` middle point of the line.
7356 * + `'end'` ending point of the line.
7357 *
7358 * @default
7359 * "end"
7360 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.position
7361 */
7362 position?: string | undefined;
7363
7364 /**
7365 * Data label formatter, which supports string template
7366 * and callback function.
7367 * In either form, `\n` is supported to represent
7368 * a new line.
7369 *
7370 * **String template**
7371 *
7372 * Model variation includes:
7373 *
7374 * + `{a}`: series name.
7375 * + `{b}`: the name of a data item.
7376 * + `{c}`: the value of a data item.
7377 * + `{d}`: the percent.
7378 * + `{@xxx}: the value of a dimension named`'xxx'`,
7379 * for example,`{@product}`refers the value of`'product'\`
7380 * dimension。
7381 * + `{@[n]}: the value of a dimension at the index
7382 * of`n`, for example,`{@\[3\]}\` refers the value
7383 * at dimensions\[3\].
7384 *
7385 * **example:**
7386 *
7387 * ```
7388 * formatter: '{b}: {d}'
7389 *
7390 * ```
7391 *
7392 * **Callback function**
7393 *
7394 * Callback function is in form of:
7395 *
7396 * ```
7397 * (params: Object|Array) => string
7398 *
7399 * ```
7400 *
7401 * where `params` is the single dataset needed by
7402 * formatter, which is formed as:
7403 *
7404 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.label)
7405 *
7406 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.formatter
7407 */
7408 formatter?: Function | string | undefined;
7409
7410 /**
7411 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis
7412 */
7413 emphasis?: {
7414 /**
7415 * Whether show label or not.
7416 *
7417 * @default
7418 * "true"
7419 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis.show
7420 */
7421 show?: boolean | undefined;
7422
7423 /**
7424 * Positions of labels can be:
7425 *
7426 * + `'start'` starting point of the line.
7427 * + `'middle'` middle point of the line.
7428 * + `'end'` ending point of the line.
7429 *
7430 * @default
7431 * "end"
7432 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis.position
7433 */
7434 position?: string | undefined;
7435
7436 /**
7437 * Data label formatter, which supports string
7438 * template and callback function.
7439 * In either form, `\n` is supported to represent
7440 * a new line.
7441 *
7442 * **String template**
7443 *
7444 * Model variation includes:
7445 *
7446 * + `{a}`: series name.
7447 * + `{b}`: the name of a data item.
7448 * + `{c}`: the value of a data item.
7449 * + `{d}`: the percent.
7450 * + `{@xxx}: the value of a dimension named`'xxx'`,
7451 * for example,`{@product}`refers the value
7452 * of`'product'\` dimension。
7453 * + `{@[n]}: the value of a dimension at the
7454 * index of`n`, for example,`{@\[3\]}\` refers
7455 * the value at dimensions\[3\].
7456 *
7457 * **example:**
7458 *
7459 * ```
7460 * formatter: '{b}: {d}'
7461 *
7462 * ```
7463 *
7464 * **Callback function**
7465 *
7466 * Callback function is in form of:
7467 *
7468 * ```
7469 * (params: Object|Array) => string
7470 *
7471 * ```
7472 *
7473 * where `params` is the single dataset needed
7474 * by formatter, which is formed as:
7475 *
7476 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine.data.1.label.emphasis)
7477 *
7478 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.data.1.label.emphasis.formatter
7479 */
7480 formatter?: Function | string | undefined;
7481 } | undefined;
7482 } | undefined;
7483 } | undefined;
7484 } | undefined;
7485
7486 /**
7487 * Whether to enable animation.
7488 *
7489 * @default
7490 * "true"
7491 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animation
7492 */
7493 animation?: boolean | undefined;
7494
7495 /**
7496 * Whether to set graphic number threshold to animation.
7497 * Animation will be disabled when graphic number is larger
7498 * than threshold.
7499 *
7500 * @default
7501 * 2000
7502 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationThreshold
7503 */
7504 animationThreshold?: number | undefined;
7505
7506 /**
7507 * Duration of the first animation, which supports callback
7508 * function for different data to have different animation effect:
7509 *
7510 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
7511 *
7512 * @default
7513 * 1000
7514 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDuration
7515 */
7516 animationDuration?: Function | number | undefined;
7517
7518 /**
7519 * Easing method used for the first animation.
7520 * Varied easing effects can be found at
7521 * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
7522 * .
7523 *
7524 * @default
7525 * "cubicOut"
7526 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationEasing
7527 */
7528 animationEasing?: string | undefined;
7529
7530 /**
7531 * Delay before updating the first animation, which supports
7532 * callback function for different data to have different animation
7533 * effect.
7534 *
7535 * For example:
7536 *
7537 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
7538 *
7539 * See
7540 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
7541 * for more information.
7542 *
7543 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDelay
7544 */
7545 animationDelay?: Function | number | undefined;
7546
7547 /**
7548 * Time for animation to complete, which supports callback function
7549 * for different data to have different animation effect:
7550 *
7551 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
7552 *
7553 * @default
7554 * 300
7555 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDurationUpdate
7556 */
7557 animationDurationUpdate?: Function | number | undefined;
7558
7559 /**
7560 * Easing method used for animation.
7561 *
7562 * @default
7563 * "cubicOut"
7564 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationEasingUpdate
7565 */
7566 animationEasingUpdate?: string | undefined;
7567
7568 /**
7569 * Delay before updating animation, which supports callback
7570 * function for different data to have different animation effect.
7571 *
7572 * For example:
7573 *
7574 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markLine)
7575 *
7576 * See
7577 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
7578 * for more information.
7579 *
7580 * @see https://echarts.apache.org/en/option.html#series-bar.markLine.animationDelayUpdate
7581 */
7582 animationDelayUpdate?: Function | number | undefined;
7583 } | undefined;
7584
7585 /**
7586 * Used to mark an area in chart.
7587 * For example, mark a time interval.
7588 *
7589 * @see https://echarts.apache.org/en/option.html#series-bar.markArea
7590 */
7591 markArea?: {
7592 /**
7593 * Whether to ignore mouse events.
7594 * Default value is false, for triggering and responding to
7595 * mouse events.
7596 *
7597 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.silent
7598 */
7599 silent?: boolean | undefined;
7600
7601 /**
7602 * Label in mark area.
7603 *
7604 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label
7605 */
7606 label?: {
7607 /**
7608 * Whether to show label.
7609 *
7610 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.show
7611 */
7612 show?: boolean | undefined;
7613
7614 /**
7615 * Label position.
7616 *
7617 * **Followings are the options:**
7618 *
7619 * + \[x, y\]
7620 *
7621 * Use relative percentage, or absolute pixel values to
7622 * represent position of label relative to top-left corner
7623 * of bounding box. For example:
7624 *
7625 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
7626 *
7627 * + 'top'
7628 *
7629 * + 'left'
7630 * + 'right'
7631 * + 'bottom'
7632 * + 'inside'
7633 * + 'insideLeft'
7634 * + 'insideRight'
7635 * + 'insideTop'
7636 * + 'insideBottom'
7637 * + 'insideTopLeft'
7638 * + 'insideBottomLeft'
7639 * + 'insideTopRight'
7640 * + 'insideBottomRight'
7641 *
7642 * See:
7643 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
7644 * .
7645 *
7646 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.position
7647 */
7648 position?: any[] | string | undefined;
7649
7650 /**
7651 * Distance to the host graphic element.
7652 * Works when position is string value (like `'top'`、`'insideRight'`).
7653 *
7654 * See:
7655 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
7656 * .
7657 *
7658 * @default
7659 * 5
7660 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.distance
7661 */
7662 distance?: number | undefined;
7663
7664 /**
7665 * Rotate label, from -90 degree to 90, positive value represents
7666 * rotate anti-clockwise.
7667 *
7668 * See:
7669 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
7670 * .
7671 *
7672 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rotate
7673 */
7674 rotate?: number | undefined;
7675
7676 /**
7677 * Whether to move text slightly.
7678 * For example: `[30, 40]` means move `30` horizontally
7679 * and move `40` vertically.
7680 *
7681 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.offset
7682 */
7683 offset?: any[] | undefined;
7684
7685 /**
7686 * text color.
7687 *
7688 * If set as `'auto'`, the color will assigned as visual
7689 * color, such as series color.
7690 *
7691 * @default
7692 * ""#fff""
7693 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.color
7694 */
7695 color?: string | undefined;
7696
7697 /**
7698 * font style
7699 *
7700 * Options are:
7701 *
7702 * + `'normal'`
7703 * + `'italic'`
7704 * + `'oblique'`
7705 *
7706 * @default
7707 * "normal"
7708 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontStyle
7709 */
7710 fontStyle?: string | undefined;
7711
7712 /**
7713 * font thick weight
7714 *
7715 * Options are:
7716 *
7717 * + `'normal'`
7718 * + `'bold'`
7719 * + `'bolder'`
7720 * + `'lighter'`
7721 * + 100 | 200 | 300 | 400...
7722 *
7723 * @default
7724 * "normal"
7725 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontWeight
7726 */
7727 fontWeight?: string | number | undefined;
7728
7729 /**
7730 * font family
7731 *
7732 * Can also be 'serif' , 'monospace', ...
7733 *
7734 * @default
7735 * "sans-serif"
7736 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontFamily
7737 */
7738 fontFamily?: string | undefined;
7739
7740 /**
7741 * font size
7742 *
7743 * @default
7744 * 12
7745 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.fontSize
7746 */
7747 fontSize?: number | undefined;
7748
7749 /**
7750 * Horizontal alignment of text, automatic by default.
7751 *
7752 * Options are:
7753 *
7754 * + `'left'`
7755 * + `'center'`
7756 * + `'right'`
7757 *
7758 * If `align` is not set in `rich`, `align` in parent level
7759 * will be used. For example:
7760 *
7761 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
7762 *
7763 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.align
7764 */
7765 align?: string | undefined;
7766
7767 /**
7768 * Vertical alignment of text, automatic by default.
7769 *
7770 * Options are:
7771 *
7772 * + `'top'`
7773 * + `'middle'`
7774 * + `'bottom'`
7775 *
7776 * If `verticalAlign` is not set in `rich`, `verticalAlign`
7777 * in parent level will be used. For example:
7778 *
7779 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
7780 *
7781 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.verticalAlign
7782 */
7783 verticalAlign?: string | undefined;
7784
7785 /**
7786 * Line height of the text fregment.
7787 *
7788 * If `lineHeight` is not set in `rich`, `lineHeight` in
7789 * parent level will be used. For example:
7790 *
7791 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
7792 *
7793 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.lineHeight
7794 */
7795 lineHeight?: number | undefined;
7796
7797 /**
7798 * Background color of the text fregment.
7799 *
7800 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
7801 *
7802 * Or image can be used, for example:
7803 *
7804 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
7805 *
7806 * `width` or `height` can be specified when using background
7807 * image, or auto adapted by default.
7808 *
7809 * If set as `'auto'`, the color will assigned as visual
7810 * color, such as series color.
7811 *
7812 * @default
7813 * "transparent"
7814 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.backgroundColor
7815 */
7816 backgroundColor?: object | string | undefined;
7817
7818 /**
7819 * Border color of the text fregment.
7820 *
7821 * If set as `'auto'`, the color will assigned as visual
7822 * color, such as series color.
7823 *
7824 * @default
7825 * "transparent"
7826 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.borderColor
7827 */
7828 borderColor?: string | undefined;
7829
7830 /**
7831 * Border width of the text fregment.
7832 *
7833 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.borderWidth
7834 */
7835 borderWidth?: number | undefined;
7836
7837 /**
7838 * Border radius of the text fregment.
7839 *
7840 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.borderRadius
7841 */
7842 borderRadius?: number | undefined;
7843
7844 /**
7845 * Padding of the text fregment, for example:
7846 *
7847 * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
7848 * right, bottom, left]`.
7849 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
7850 * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
7851 *
7852 * Notice, `width` and `height` specifies the width and
7853 * height of the content, without `padding`.
7854 *
7855 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.padding
7856 */
7857 padding?: any[] | number | undefined;
7858
7859 /**
7860 * Shadow color of the text block.
7861 *
7862 * @default
7863 * "transparent"
7864 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowColor
7865 */
7866 shadowColor?: string | undefined;
7867
7868 /**
7869 * Show blur of the text block.
7870 *
7871 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowBlur
7872 */
7873 shadowBlur?: number | undefined;
7874
7875 /**
7876 * Shadow X offset of the text block.
7877 *
7878 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowOffsetX
7879 */
7880 shadowOffsetX?: number | undefined;
7881
7882 /**
7883 * Shadow Y offset of the text block.
7884 *
7885 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.shadowOffsetY
7886 */
7887 shadowOffsetY?: number | undefined;
7888
7889 /**
7890 * Width of the text block.
7891 * It is the width of the text by default.
7892 * In most cases, there is no need to specify it.
7893 * You may want to use it in some cases like make simple
7894 * table or using background image (see `backgroundColor`).
7895 *
7896 * Notice, `width` and `height` specifies the width and
7897 * height of the content, without `padding`.
7898 *
7899 * `width` can also be percent string, like `'100%'`, which
7900 * represents the percent of `contentWidth` (that is, the
7901 * width without `padding`) of its container box.
7902 * It is based on `contentWidth` because that each text
7903 * fregment is layout based on the `content box`, where
7904 * it makes no sense that calculating width based on `outerWith`
7905 * in prectice.
7906 *
7907 * Notice, `width` and `height` only work when `rich` specified.
7908 *
7909 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.width
7910 */
7911 width?: number | string | undefined;
7912
7913 /**
7914 * Height of the text block.
7915 * It is the width of the text by default.
7916 * You may want to use it in some cases like using background
7917 * image (see `backgroundColor`).
7918 *
7919 * Notice, `width` and `height` specifies the width and
7920 * height of the content, without `padding`.
7921 *
7922 * Notice, `width` and `height` only work when `rich` specified.
7923 *
7924 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.height
7925 */
7926 height?: number | string | undefined;
7927
7928 /**
7929 * Storke color of the text.
7930 *
7931 * If set as `'auto'`, the color will assigned as visual
7932 * color, such as series color.
7933 *
7934 * @default
7935 * "transparent"
7936 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textBorderColor
7937 */
7938 textBorderColor?: string | undefined;
7939
7940 /**
7941 * Storke line width of the text.
7942 *
7943 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textBorderWidth
7944 */
7945 textBorderWidth?: number | undefined;
7946
7947 /**
7948 * Shadow color of the text itself.
7949 *
7950 * @default
7951 * "transparent"
7952 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowColor
7953 */
7954 textShadowColor?: string | undefined;
7955
7956 /**
7957 * Shadow blue of the text itself.
7958 *
7959 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowBlur
7960 */
7961 textShadowBlur?: number | undefined;
7962
7963 /**
7964 * Shadow X offset of the text itself.
7965 *
7966 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowOffsetX
7967 */
7968 textShadowOffsetX?: number | undefined;
7969
7970 /**
7971 * Shadow Y offset of the text itself.
7972 *
7973 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.textShadowOffsetY
7974 */
7975 textShadowOffsetY?: number | undefined;
7976
7977 /**
7978 * "Rich text styles" can be defined in this `rich` property.
7979 * For example:
7980 *
7981 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label)
7982 *
7983 * For more details, see
7984 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
7985 * please.
7986 *
7987 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich
7988 */
7989 rich?: {
7990 /**
7991 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E
7992 */
7993 [userStyle: string]: {
7994 /**
7995 * text color.
7996 *
7997 * If set as `'auto'`, the color will assigned as
7998 * visual color, such as series color.
7999 *
8000 * @default
8001 * ""#fff""
8002 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.color
8003 */
8004 color?: string | undefined;
8005
8006 /**
8007 * font style
8008 *
8009 * Options are:
8010 *
8011 * + `'normal'`
8012 * + `'italic'`
8013 * + `'oblique'`
8014 *
8015 * @default
8016 * "normal"
8017 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
8018 */
8019 fontStyle?: string | undefined;
8020
8021 /**
8022 * font thick weight
8023 *
8024 * Options are:
8025 *
8026 * + `'normal'`
8027 * + `'bold'`
8028 * + `'bolder'`
8029 * + `'lighter'`
8030 * + 100 | 200 | 300 | 400...
8031 *
8032 * @default
8033 * "normal"
8034 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
8035 */
8036 fontWeight?: string | number | undefined;
8037
8038 /**
8039 * font family
8040 *
8041 * Can also be 'serif' , 'monospace', ...
8042 *
8043 * @default
8044 * "sans-serif"
8045 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
8046 */
8047 fontFamily?: string | undefined;
8048
8049 /**
8050 * font size
8051 *
8052 * @default
8053 * 12
8054 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
8055 */
8056 fontSize?: number | undefined;
8057
8058 /**
8059 * Horizontal alignment of text, automatic by default.
8060 *
8061 * Options are:
8062 *
8063 * + `'left'`
8064 * + `'center'`
8065 * + `'right'`
8066 *
8067 * If `align` is not set in `rich`, `align` in parent
8068 * level will be used. For example:
8069 *
8070 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
8071 *
8072 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.align
8073 */
8074 align?: string | undefined;
8075
8076 /**
8077 * Vertical alignment of text, automatic by default.
8078 *
8079 * Options are:
8080 *
8081 * + `'top'`
8082 * + `'middle'`
8083 * + `'bottom'`
8084 *
8085 * If `verticalAlign` is not set in `rich`, `verticalAlign`
8086 * in parent level will be used. For example:
8087 *
8088 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
8089 *
8090 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
8091 */
8092 verticalAlign?: string | undefined;
8093
8094 /**
8095 * Line height of the text fregment.
8096 *
8097 * If `lineHeight` is not set in `rich`, `lineHeight`
8098 * in parent level will be used. For example:
8099 *
8100 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
8101 *
8102 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
8103 */
8104 lineHeight?: number | undefined;
8105
8106 /**
8107 * Background color of the text fregment.
8108 *
8109 * Can be color string, like `'#123234'`, `'red'`,
8110 * `rgba(0,23,11,0.3)'`.
8111 *
8112 * Or image can be used, for example:
8113 *
8114 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E)
8115 *
8116 * `width` or `height` can be specified when using
8117 * background image, or auto adapted by default.
8118 *
8119 * If set as `'auto'`, the color will assigned as
8120 * visual color, such as series color.
8121 *
8122 * @default
8123 * "transparent"
8124 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
8125 */
8126 backgroundColor?: object | string | undefined;
8127
8128 /**
8129 * Border color of the text fregment.
8130 *
8131 * If set as `'auto'`, the color will assigned as
8132 * visual color, such as series color.
8133 *
8134 * @default
8135 * "transparent"
8136 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
8137 */
8138 borderColor?: string | undefined;
8139
8140 /**
8141 * Border width of the text fregment.
8142 *
8143 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
8144 */
8145 borderWidth?: number | undefined;
8146
8147 /**
8148 * Border radius of the text fregment.
8149 *
8150 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
8151 */
8152 borderRadius?: number | undefined;
8153
8154 /**
8155 * Padding of the text fregment, for example:
8156 *
8157 * + `padding: [3, 4, 5, 6]`: represents padding
8158 * of `[top, right, bottom, left]`.
8159 * + `padding: 4`: represents `padding: [4, 4, 4,
8160 * 4]`.
8161 * + `padding: [3, 4]`: represents `padding: [3,
8162 * 4, 3, 4]`.
8163 *
8164 * Notice, `width` and `height` specifies the width
8165 * and height of the content, without `padding`.
8166 *
8167 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.padding
8168 */
8169 padding?: any[] | number | undefined;
8170
8171 /**
8172 * Shadow color of the text block.
8173 *
8174 * @default
8175 * "transparent"
8176 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
8177 */
8178 shadowColor?: string | undefined;
8179
8180 /**
8181 * Show blur of the text block.
8182 *
8183 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
8184 */
8185 shadowBlur?: number | undefined;
8186
8187 /**
8188 * Shadow X offset of the text block.
8189 *
8190 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
8191 */
8192 shadowOffsetX?: number | undefined;
8193
8194 /**
8195 * Shadow Y offset of the text block.
8196 *
8197 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
8198 */
8199 shadowOffsetY?: number | undefined;
8200
8201 /**
8202 * Width of the text block.
8203 * It is the width of the text by default.
8204 * In most cases, there is no need to specify it.
8205 * You may want to use it in some cases like make
8206 * simple table or using background image (see `backgroundColor`).
8207 *
8208 * Notice, `width` and `height` specifies the width
8209 * and height of the content, without `padding`.
8210 *
8211 * `width` can also be percent string, like `'100%'`,
8212 * which represents the percent of `contentWidth`
8213 * (that is, the width without `padding`) of its
8214 * container box.
8215 * It is based on `contentWidth` because that each
8216 * text fregment is layout based on the `content
8217 * box`, where it makes no sense that calculating
8218 * width based on `outerWith` in prectice.
8219 *
8220 * Notice, `width` and `height` only work when `rich`
8221 * specified.
8222 *
8223 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.width
8224 */
8225 width?: number | string | undefined;
8226
8227 /**
8228 * Height of the text block.
8229 * It is the width of the text by default.
8230 * You may want to use it in some cases like using
8231 * background image (see `backgroundColor`).
8232 *
8233 * Notice, `width` and `height` specifies the width
8234 * and height of the content, without `padding`.
8235 *
8236 * Notice, `width` and `height` only work when `rich`
8237 * specified.
8238 *
8239 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.height
8240 */
8241 height?: number | string | undefined;
8242
8243 /**
8244 * Storke color of the text.
8245 *
8246 * If set as `'auto'`, the color will assigned as
8247 * visual color, such as series color.
8248 *
8249 * @default
8250 * "transparent"
8251 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
8252 */
8253 textBorderColor?: string | undefined;
8254
8255 /**
8256 * Storke line width of the text.
8257 *
8258 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
8259 */
8260 textBorderWidth?: number | undefined;
8261
8262 /**
8263 * Shadow color of the text itself.
8264 *
8265 * @default
8266 * "transparent"
8267 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
8268 */
8269 textShadowColor?: string | undefined;
8270
8271 /**
8272 * Shadow blue of the text itself.
8273 *
8274 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
8275 */
8276 textShadowBlur?: number | undefined;
8277
8278 /**
8279 * Shadow X offset of the text itself.
8280 *
8281 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
8282 */
8283 textShadowOffsetX?: number | undefined;
8284
8285 /**
8286 * Shadow Y offset of the text itself.
8287 *
8288 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
8289 */
8290 textShadowOffsetY?: number | undefined;
8291 };
8292 } | undefined;
8293
8294 /**
8295 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis
8296 */
8297 emphasis?: {
8298 /**
8299 * Whether to show label.
8300 *
8301 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.show
8302 */
8303 show?: boolean | undefined;
8304
8305 /**
8306 * Label position.
8307 *
8308 * **Followings are the options:**
8309 *
8310 * + \[x, y\]
8311 *
8312 * Use relative percentage, or absolute pixel values
8313 * to represent position of label relative to top-left
8314 * corner of bounding box. For example:
8315 *
8316 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
8317 *
8318 * + 'top'
8319 *
8320 * + 'left'
8321 * + 'right'
8322 * + 'bottom'
8323 * + 'inside'
8324 * + 'insideLeft'
8325 * + 'insideRight'
8326 * + 'insideTop'
8327 * + 'insideBottom'
8328 * + 'insideTopLeft'
8329 * + 'insideBottomLeft'
8330 * + 'insideTopRight'
8331 * + 'insideBottomRight'
8332 *
8333 * See:
8334 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
8335 * .
8336 *
8337 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.position
8338 */
8339 position?: any[] | string | undefined;
8340
8341 /**
8342 * Distance to the host graphic element.
8343 * Works when position is string value (like `'top'`、`'insideRight'`).
8344 *
8345 * See:
8346 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
8347 * .
8348 *
8349 * @default
8350 * 5
8351 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.distance
8352 */
8353 distance?: number | undefined;
8354
8355 /**
8356 * Rotate label, from -90 degree to 90, positive value
8357 * represents rotate anti-clockwise.
8358 *
8359 * See:
8360 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
8361 * .
8362 *
8363 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rotate
8364 */
8365 rotate?: number | undefined;
8366
8367 /**
8368 * Whether to move text slightly.
8369 * For example: `[30, 40]` means move `30` horizontally
8370 * and move `40` vertically.
8371 *
8372 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.offset
8373 */
8374 offset?: any[] | undefined;
8375
8376 /**
8377 * text color.
8378 *
8379 * If set as `'auto'`, the color will assigned as visual
8380 * color, such as series color.
8381 *
8382 * @default
8383 * ""#fff""
8384 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.color
8385 */
8386 color?: string | undefined;
8387
8388 /**
8389 * font style
8390 *
8391 * Options are:
8392 *
8393 * + `'normal'`
8394 * + `'italic'`
8395 * + `'oblique'`
8396 *
8397 * @default
8398 * "normal"
8399 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontStyle
8400 */
8401 fontStyle?: string | undefined;
8402
8403 /**
8404 * font thick weight
8405 *
8406 * Options are:
8407 *
8408 * + `'normal'`
8409 * + `'bold'`
8410 * + `'bolder'`
8411 * + `'lighter'`
8412 * + 100 | 200 | 300 | 400...
8413 *
8414 * @default
8415 * "normal"
8416 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontWeight
8417 */
8418 fontWeight?: string | number | undefined;
8419
8420 /**
8421 * font family
8422 *
8423 * Can also be 'serif' , 'monospace', ...
8424 *
8425 * @default
8426 * "sans-serif"
8427 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontFamily
8428 */
8429 fontFamily?: string | undefined;
8430
8431 /**
8432 * font size
8433 *
8434 * @default
8435 * 12
8436 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.fontSize
8437 */
8438 fontSize?: number | undefined;
8439
8440 /**
8441 * Horizontal alignment of text, automatic by default.
8442 *
8443 * Options are:
8444 *
8445 * + `'left'`
8446 * + `'center'`
8447 * + `'right'`
8448 *
8449 * If `align` is not set in `rich`, `align` in parent
8450 * level will be used. For example:
8451 *
8452 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
8453 *
8454 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.align
8455 */
8456 align?: string | undefined;
8457
8458 /**
8459 * Vertical alignment of text, automatic by default.
8460 *
8461 * Options are:
8462 *
8463 * + `'top'`
8464 * + `'middle'`
8465 * + `'bottom'`
8466 *
8467 * If `verticalAlign` is not set in `rich`, `verticalAlign`
8468 * in parent level will be used. For example:
8469 *
8470 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
8471 *
8472 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.verticalAlign
8473 */
8474 verticalAlign?: string | undefined;
8475
8476 /**
8477 * Line height of the text fregment.
8478 *
8479 * If `lineHeight` is not set in `rich`, `lineHeight`
8480 * in parent level will be used. For example:
8481 *
8482 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
8483 *
8484 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.lineHeight
8485 */
8486 lineHeight?: number | undefined;
8487
8488 /**
8489 * Background color of the text fregment.
8490 *
8491 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
8492 *
8493 * Or image can be used, for example:
8494 *
8495 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
8496 *
8497 * `width` or `height` can be specified when using background
8498 * image, or auto adapted by default.
8499 *
8500 * If set as `'auto'`, the color will assigned as visual
8501 * color, such as series color.
8502 *
8503 * @default
8504 * "transparent"
8505 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.backgroundColor
8506 */
8507 backgroundColor?: object | string | undefined;
8508
8509 /**
8510 * Border color of the text fregment.
8511 *
8512 * If set as `'auto'`, the color will assigned as visual
8513 * color, such as series color.
8514 *
8515 * @default
8516 * "transparent"
8517 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.borderColor
8518 */
8519 borderColor?: string | undefined;
8520
8521 /**
8522 * Border width of the text fregment.
8523 *
8524 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.borderWidth
8525 */
8526 borderWidth?: number | undefined;
8527
8528 /**
8529 * Border radius of the text fregment.
8530 *
8531 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.borderRadius
8532 */
8533 borderRadius?: number | undefined;
8534
8535 /**
8536 * Padding of the text fregment, for example:
8537 *
8538 * + `padding: [3, 4, 5, 6]`: represents padding of
8539 * `[top, right, bottom, left]`.
8540 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
8541 * + `padding: [3, 4]`: represents `padding: [3, 4,
8542 * 3, 4]`.
8543 *
8544 * Notice, `width` and `height` specifies the width
8545 * and height of the content, without `padding`.
8546 *
8547 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.padding
8548 */
8549 padding?: any[] | number | undefined;
8550
8551 /**
8552 * Shadow color of the text block.
8553 *
8554 * @default
8555 * "transparent"
8556 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowColor
8557 */
8558 shadowColor?: string | undefined;
8559
8560 /**
8561 * Show blur of the text block.
8562 *
8563 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowBlur
8564 */
8565 shadowBlur?: number | undefined;
8566
8567 /**
8568 * Shadow X offset of the text block.
8569 *
8570 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowOffsetX
8571 */
8572 shadowOffsetX?: number | undefined;
8573
8574 /**
8575 * Shadow Y offset of the text block.
8576 *
8577 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.shadowOffsetY
8578 */
8579 shadowOffsetY?: number | undefined;
8580
8581 /**
8582 * Width of the text block.
8583 * It is the width of the text by default.
8584 * In most cases, there is no need to specify it.
8585 * You may want to use it in some cases like make simple
8586 * table or using background image (see `backgroundColor`).
8587 *
8588 * Notice, `width` and `height` specifies the width
8589 * and height of the content, without `padding`.
8590 *
8591 * `width` can also be percent string, like `'100%'`,
8592 * which represents the percent of `contentWidth` (that
8593 * is, the width without `padding`) of its container
8594 * box.
8595 * It is based on `contentWidth` because that each text
8596 * fregment is layout based on the `content box`, where
8597 * it makes no sense that calculating width based on
8598 * `outerWith` in prectice.
8599 *
8600 * Notice, `width` and `height` only work when `rich`
8601 * specified.
8602 *
8603 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.width
8604 */
8605 width?: number | string | undefined;
8606
8607 /**
8608 * Height of the text block.
8609 * It is the width of the text by default.
8610 * You may want to use it in some cases like using background
8611 * image (see `backgroundColor`).
8612 *
8613 * Notice, `width` and `height` specifies the width
8614 * and height of the content, without `padding`.
8615 *
8616 * Notice, `width` and `height` only work when `rich`
8617 * specified.
8618 *
8619 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.height
8620 */
8621 height?: number | string | undefined;
8622
8623 /**
8624 * Storke color of the text.
8625 *
8626 * If set as `'auto'`, the color will assigned as visual
8627 * color, such as series color.
8628 *
8629 * @default
8630 * "transparent"
8631 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textBorderColor
8632 */
8633 textBorderColor?: string | undefined;
8634
8635 /**
8636 * Storke line width of the text.
8637 *
8638 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textBorderWidth
8639 */
8640 textBorderWidth?: number | undefined;
8641
8642 /**
8643 * Shadow color of the text itself.
8644 *
8645 * @default
8646 * "transparent"
8647 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowColor
8648 */
8649 textShadowColor?: string | undefined;
8650
8651 /**
8652 * Shadow blue of the text itself.
8653 *
8654 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowBlur
8655 */
8656 textShadowBlur?: number | undefined;
8657
8658 /**
8659 * Shadow X offset of the text itself.
8660 *
8661 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowOffsetX
8662 */
8663 textShadowOffsetX?: number | undefined;
8664
8665 /**
8666 * Shadow Y offset of the text itself.
8667 *
8668 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.textShadowOffsetY
8669 */
8670 textShadowOffsetY?: number | undefined;
8671
8672 /**
8673 * "Rich text styles" can be defined in this `rich`
8674 * property. For example:
8675 *
8676 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis)
8677 *
8678 * For more details, see
8679 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
8680 * please.
8681 *
8682 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich
8683 */
8684 rich?: {
8685 /**
8686 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
8687 */
8688 [userStyle: string]: {
8689 /**
8690 * text color.
8691 *
8692 * If set as `'auto'`, the color will assigned
8693 * as visual color, such as series color.
8694 *
8695 * @default
8696 * ""#fff""
8697 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
8698 */
8699 color?: string | undefined;
8700
8701 /**
8702 * font style
8703 *
8704 * Options are:
8705 *
8706 * + `'normal'`
8707 * + `'italic'`
8708 * + `'oblique'`
8709 *
8710 * @default
8711 * "normal"
8712 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
8713 */
8714 fontStyle?: string | undefined;
8715
8716 /**
8717 * font thick weight
8718 *
8719 * Options are:
8720 *
8721 * + `'normal'`
8722 * + `'bold'`
8723 * + `'bolder'`
8724 * + `'lighter'`
8725 * + 100 | 200 | 300 | 400...
8726 *
8727 * @default
8728 * "normal"
8729 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
8730 */
8731 fontWeight?: string | number | undefined;
8732
8733 /**
8734 * font family
8735 *
8736 * Can also be 'serif' , 'monospace', ...
8737 *
8738 * @default
8739 * "sans-serif"
8740 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
8741 */
8742 fontFamily?: string | undefined;
8743
8744 /**
8745 * font size
8746 *
8747 * @default
8748 * 12
8749 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
8750 */
8751 fontSize?: number | undefined;
8752
8753 /**
8754 * Horizontal alignment of text, automatic by
8755 * default.
8756 *
8757 * Options are:
8758 *
8759 * + `'left'`
8760 * + `'center'`
8761 * + `'right'`
8762 *
8763 * If `align` is not set in `rich`, `align`
8764 * in parent level will be used.
8765 * For example:
8766 *
8767 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
8768 *
8769 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
8770 */
8771 align?: string | undefined;
8772
8773 /**
8774 * Vertical alignment of text, automatic by
8775 * default.
8776 *
8777 * Options are:
8778 *
8779 * + `'top'`
8780 * + `'middle'`
8781 * + `'bottom'`
8782 *
8783 * If `verticalAlign` is not set in `rich`,
8784 * `verticalAlign` in parent level will be used.
8785 * For example:
8786 *
8787 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
8788 *
8789 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
8790 */
8791 verticalAlign?: string | undefined;
8792
8793 /**
8794 * Line height of the text fregment.
8795 *
8796 * If `lineHeight` is not set in `rich`, `lineHeight`
8797 * in parent level will be used.
8798 * For example:
8799 *
8800 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
8801 *
8802 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
8803 */
8804 lineHeight?: number | undefined;
8805
8806 /**
8807 * Background color of the text fregment.
8808 *
8809 * Can be color string, like `'#123234'`, `'red'`,
8810 * `rgba(0,23,11,0.3)'`.
8811 *
8812 * Or image can be used, for example:
8813 *
8814 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
8815 *
8816 * `width` or `height` can be specified when
8817 * using background image, or auto adapted by
8818 * default.
8819 *
8820 * If set as `'auto'`, the color will assigned
8821 * as visual color, such as series color.
8822 *
8823 * @default
8824 * "transparent"
8825 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
8826 */
8827 backgroundColor?: object | string | undefined;
8828
8829 /**
8830 * Border color of the text fregment.
8831 *
8832 * If set as `'auto'`, the color will assigned
8833 * as visual color, such as series color.
8834 *
8835 * @default
8836 * "transparent"
8837 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
8838 */
8839 borderColor?: string | undefined;
8840
8841 /**
8842 * Border width of the text fregment.
8843 *
8844 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
8845 */
8846 borderWidth?: number | undefined;
8847
8848 /**
8849 * Border radius of the text fregment.
8850 *
8851 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
8852 */
8853 borderRadius?: number | undefined;
8854
8855 /**
8856 * Padding of the text fregment, for example:
8857 *
8858 * + `padding: [3, 4, 5, 6]`: represents padding
8859 * of `[top, right, bottom, left]`.
8860 * + `padding: 4`: represents `padding: [4,
8861 * 4, 4, 4]`.
8862 * + `padding: [3, 4]`: represents `padding:
8863 * [3, 4, 3, 4]`.
8864 *
8865 * Notice, `width` and `height` specifies the
8866 * width and height of the content, without
8867 * `padding`.
8868 *
8869 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
8870 */
8871 padding?: any[] | number | undefined;
8872
8873 /**
8874 * Shadow color of the text block.
8875 *
8876 * @default
8877 * "transparent"
8878 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
8879 */
8880 shadowColor?: string | undefined;
8881
8882 /**
8883 * Show blur of the text block.
8884 *
8885 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
8886 */
8887 shadowBlur?: number | undefined;
8888
8889 /**
8890 * Shadow X offset of the text block.
8891 *
8892 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
8893 */
8894 shadowOffsetX?: number | undefined;
8895
8896 /**
8897 * Shadow Y offset of the text block.
8898 *
8899 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
8900 */
8901 shadowOffsetY?: number | undefined;
8902
8903 /**
8904 * Width of the text block.
8905 * It is the width of the text by default.
8906 * In most cases, there is no need to specify
8907 * it.
8908 * You may want to use it in some cases like
8909 * make simple table or using background image
8910 * (see `backgroundColor`).
8911 *
8912 * Notice, `width` and `height` specifies the
8913 * width and height of the content, without
8914 * `padding`.
8915 *
8916 * `width` can also be percent string, like
8917 * `'100%'`, which represents the percent of
8918 * `contentWidth` (that is, the width without
8919 * `padding`) of its container box.
8920 * It is based on `contentWidth` because that
8921 * each text fregment is layout based on the
8922 * `content box`, where it makes no sense that
8923 * calculating width based on `outerWith` in
8924 * prectice.
8925 *
8926 * Notice, `width` and `height` only work when
8927 * `rich` specified.
8928 *
8929 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
8930 */
8931 width?: number | string | undefined;
8932
8933 /**
8934 * Height of the text block.
8935 * It is the width of the text by default.
8936 * You may want to use it in some cases like
8937 * using background image (see `backgroundColor`).
8938 *
8939 * Notice, `width` and `height` specifies the
8940 * width and height of the content, without
8941 * `padding`.
8942 *
8943 * Notice, `width` and `height` only work when
8944 * `rich` specified.
8945 *
8946 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
8947 */
8948 height?: number | string | undefined;
8949
8950 /**
8951 * Storke color of the text.
8952 *
8953 * If set as `'auto'`, the color will assigned
8954 * as visual color, such as series color.
8955 *
8956 * @default
8957 * "transparent"
8958 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
8959 */
8960 textBorderColor?: string | undefined;
8961
8962 /**
8963 * Storke line width of the text.
8964 *
8965 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
8966 */
8967 textBorderWidth?: number | undefined;
8968
8969 /**
8970 * Shadow color of the text itself.
8971 *
8972 * @default
8973 * "transparent"
8974 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
8975 */
8976 textShadowColor?: string | undefined;
8977
8978 /**
8979 * Shadow blue of the text itself.
8980 *
8981 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
8982 */
8983 textShadowBlur?: number | undefined;
8984
8985 /**
8986 * Shadow X offset of the text itself.
8987 *
8988 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
8989 */
8990 textShadowOffsetX?: number | undefined;
8991
8992 /**
8993 * Shadow Y offset of the text itself.
8994 *
8995 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
8996 */
8997 textShadowOffsetY?: number | undefined;
8998 };
8999 } | undefined;
9000 } | undefined;
9001 } | undefined;
9002
9003 /**
9004 * Style of the mark area.
9005 *
9006 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle
9007 */
9008 itemStyle?: {
9009 /**
9010 * color.
9011 *
9012 * > Color can be represented in RGB, for example `'rgb(128,
9013 * 128, 128)'`.
9014 * RGBA can be used when you need alpha channel, for example
9015 * `'rgba(128, 128, 128, 0.5)'`.
9016 * You may also use hexadecimal format, for example `'#ccc'`.
9017 * Gradient color and texture are also supported besides
9018 * single colors.
9019 * >
9020 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle)
9021 *
9022 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.color
9023 */
9024 color?: EChartOption.Color | undefined;
9025
9026 /**
9027 * border color, whose format is similar to that of `color`.
9028 *
9029 * @default
9030 * "#000"
9031 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.borderColor
9032 */
9033 borderColor?: EChartOption.Color | undefined;
9034
9035 /**
9036 * border width. No border when it is set to be 0.
9037 *
9038 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.borderWidth
9039 */
9040 borderWidth?: number | undefined;
9041
9042 /**
9043 * Border type, which can be `'solid'`, `'dashed'`, or `'dotted'`.
9044 * `'solid'` by default.
9045 *
9046 * @default
9047 * "solid"
9048 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.borderType
9049 */
9050 borderType?: string | undefined;
9051
9052 /**
9053 * Size of shadow blur.
9054 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
9055 * `shadowOffsetY` to set shadow to component.
9056 *
9057 * For example:
9058 *
9059 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle)
9060 *
9061 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowBlur
9062 */
9063 shadowBlur?: number | undefined;
9064
9065 /**
9066 * Shadow color. Support same format as `color`.
9067 *
9068 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowColor
9069 */
9070 shadowColor?: EChartOption.Color | undefined;
9071
9072 /**
9073 * Offset distance on the horizontal direction of shadow.
9074 *
9075 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowOffsetX
9076 */
9077 shadowOffsetX?: number | undefined;
9078
9079 /**
9080 * Offset distance on the vertical direction of shadow.
9081 *
9082 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.shadowOffsetY
9083 */
9084 shadowOffsetY?: number | undefined;
9085
9086 /**
9087 * Opacity of the component.
9088 * Supports value from 0 to 1, and the component will not
9089 * be drawn when set to 0.
9090 *
9091 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.opacity
9092 */
9093 opacity?: number | undefined;
9094
9095 /**
9096 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis
9097 */
9098 emphasis?: {
9099 /**
9100 * color.
9101 *
9102 * > Color can be represented in RGB, for example `'rgb(128,
9103 * 128, 128)'`.
9104 * RGBA can be used when you need alpha channel, for
9105 * example `'rgba(128, 128, 128, 0.5)'`.
9106 * You may also use hexadecimal format, for example
9107 * `'#ccc'`.
9108 * Gradient color and texture are also supported besides
9109 * single colors.
9110 * >
9111 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle.emphasis)
9112 *
9113 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.color
9114 */
9115 color?: EChartOption.Color | undefined;
9116
9117 /**
9118 * border color, whose format is similar to that of
9119 * `color`.
9120 *
9121 * @default
9122 * "#000"
9123 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.borderColor
9124 */
9125 borderColor?: EChartOption.Color | undefined;
9126
9127 /**
9128 * border width. No border when it is set to be 0.
9129 *
9130 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.borderWidth
9131 */
9132 borderWidth?: number | undefined;
9133
9134 /**
9135 * Border type, which can be `'solid'`, `'dashed'`,
9136 * or `'dotted'`. `'solid'` by default.
9137 *
9138 * @default
9139 * "solid"
9140 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.borderType
9141 */
9142 borderType?: string | undefined;
9143
9144 /**
9145 * Size of shadow blur.
9146 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
9147 * `shadowOffsetY` to set shadow to component.
9148 *
9149 * For example:
9150 *
9151 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.itemStyle.emphasis)
9152 *
9153 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowBlur
9154 */
9155 shadowBlur?: number | undefined;
9156
9157 /**
9158 * Shadow color. Support same format as `color`.
9159 *
9160 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowColor
9161 */
9162 shadowColor?: EChartOption.Color | undefined;
9163
9164 /**
9165 * Offset distance on the horizontal direction of shadow.
9166 *
9167 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowOffsetX
9168 */
9169 shadowOffsetX?: number | undefined;
9170
9171 /**
9172 * Offset distance on the vertical direction of shadow.
9173 *
9174 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.shadowOffsetY
9175 */
9176 shadowOffsetY?: number | undefined;
9177
9178 /**
9179 * Opacity of the component.
9180 * Supports value from 0 to 1, and the component will
9181 * not be drawn when set to 0.
9182 *
9183 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.itemStyle.emphasis.opacity
9184 */
9185 opacity?: number | undefined;
9186 } | undefined;
9187 } | undefined;
9188
9189 /**
9190 * The scope of the area is defined by `data`, which is an array
9191 * with two item, representing the left-top point and the right-bottom
9192 * point of rectangle area.
9193 * Each item can be defined as follows:
9194 *
9195 * 1.
9196 * Specify the coordinate in screen coordinate system using
9197 * [x](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.x)
9198 * ,
9199 * [y](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.y)
9200 * , where the unit is pixel (e.g.,
9201 * the value is `5`), or percent (e.g.,
9202 * the value is `'35%'`).
9203 *
9204 * 2.
9205 * Specify the coordinate in data coordinate system (i.e.,
9206 * cartesian) using
9207 * [coord](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.coord)
9208 * , which can be also set as `'min'`, `'max'`, `'average'`
9209 * (e.g,
9210 * `coord: [23, 'min']`, or `coord: ['average', 'max']`)。
9211 *
9212 * 1.
9213 * Locate the point on the min value or max value of `series.data`
9214 * using
9215 * [type](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.type)
9216 * , where
9217 * [valueIndex](https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.valueIndex)
9218 * or
9219 * [valueDim](https://echarts.apache.org/en/option.html#series-bar.markPoint.data.0.valueDim)
9220 * can be used to specify the dimension on which the min, max
9221 * or average are calculated.
9222 * 2.
9223 * If in cartesian, you can only specify `xAxis` or `yAxis`
9224 * to define a mark area based on only X or Y axis, see sample
9225 * [scatter-weight](https://echarts.apache.org/examples/en/editor.html?c=scatter-weight)
9226 *
9227 * The priority follows as above if more than one above definition
9228 * used.
9229 *
9230 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
9231 *
9232 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data
9233 */
9234 data?: {
9235 /**
9236 * Specify the left-top point.
9237 *
9238 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0
9239 */
9240 0?: {
9241 /**
9242 * Specify this item is on min or max or average value.
9243 *
9244 * **Options:**
9245 *
9246 * + `'min'` max value。
9247 * + `'max'` min value。
9248 * + `'average'` average value。
9249 *
9250 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.type
9251 */
9252 type?: string | undefined;
9253
9254 /**
9255 * Specify the dimension on which min, max, average
9256 * are calculated, available when
9257 * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
9258 * used.
9259 * The value can be `0` (means xAxis, radiusAxis) or
9260 * `1` (means yAxis, angleAxis), using the dimension
9261 * of the first axis by default.
9262 *
9263 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.valueIndex
9264 */
9265 valueIndex?: number | undefined;
9266
9267 /**
9268 * Specify the dimension on which min, max, average
9269 * are calculated, available when
9270 * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
9271 * used.
9272 * The value can be the name of the dimension (for example,
9273 * the value can be `x`, `angle` in line chart, and
9274 * `open`, `close` in candlestick).
9275 *
9276 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.valueDim
9277 */
9278 valueDim?: string | undefined;
9279
9280 /**
9281 * The format is \[start coordinate, end coordinate\],
9282 * where the coordinate system can be `x`, `y` on
9283 * [cartesian](https://echarts.apache.org/en/option.html#grid)
9284 * , or `radius`, `angle` on
9285 * [polar](https://echarts.apache.org/en/option.html#polar)
9286 * .
9287 *
9288 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.coord
9289 */
9290 coord?: any[] | undefined;
9291
9292 /**
9293 * Name of the marker, which will display as a label.
9294 *
9295 * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markArea.data.0.name
9296 */
9297 name?: string | undefined;
9298
9299 /**
9300 * x value on screen coordinate system, can be pixel
9301 * number (like `5`), or percent value (like `'20%'`).
9302 *
9303 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.x
9304 */
9305 x?: number | undefined;
9306
9307 /**
9308 * y value on screen coordinate system, can be pixel
9309 * number (like `5`), or percent value (like `'20%'`).
9310 *
9311 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.y
9312 */
9313 y?: number | undefined;
9314
9315 /**
9316 * value of the item, not necessary.
9317 *
9318 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.value
9319 */
9320 value?: number | undefined;
9321
9322 /**
9323 * Style of the item.
9324 * `itemStyle` of start point and end point will be
9325 * merged together.
9326 *
9327 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle
9328 */
9329 itemStyle?: {
9330 /**
9331 * color.
9332 *
9333 * > Color can be represented in RGB, for example
9334 * `'rgb(128, 128, 128)'`.
9335 * RGBA can be used when you need alpha channel,
9336 * for example `'rgba(128, 128, 128, 0.5)'`.
9337 * You may also use hexadecimal format, for example
9338 * `'#ccc'`.
9339 * Gradient color and texture are also supported
9340 * besides single colors.
9341 * >
9342 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle)
9343 *
9344 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.color
9345 */
9346 color?: EChartOption.Color | undefined;
9347
9348 /**
9349 * border color, whose format is similar to that
9350 * of `color`.
9351 *
9352 * @default
9353 * "#000"
9354 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.borderColor
9355 */
9356 borderColor?: EChartOption.Color | undefined;
9357
9358 /**
9359 * border width.
9360 * No border when it is set to be 0.
9361 *
9362 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.borderWidth
9363 */
9364 borderWidth?: number | undefined;
9365
9366 /**
9367 * Border type, which can be `'solid'`, `'dashed'`,
9368 * or `'dotted'`. `'solid'` by default.
9369 *
9370 * @default
9371 * "solid"
9372 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.borderType
9373 */
9374 borderType?: string | undefined;
9375
9376 /**
9377 * Size of shadow blur.
9378 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
9379 * `shadowOffsetY` to set shadow to component.
9380 *
9381 * For example:
9382 *
9383 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle)
9384 *
9385 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowBlur
9386 */
9387 shadowBlur?: number | undefined;
9388
9389 /**
9390 * Shadow color. Support same format as `color`.
9391 *
9392 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowColor
9393 */
9394 shadowColor?: EChartOption.Color | undefined;
9395
9396 /**
9397 * Offset distance on the horizontal direction of
9398 * shadow.
9399 *
9400 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowOffsetX
9401 */
9402 shadowOffsetX?: number | undefined;
9403
9404 /**
9405 * Offset distance on the vertical direction of
9406 * shadow.
9407 *
9408 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.shadowOffsetY
9409 */
9410 shadowOffsetY?: number | undefined;
9411
9412 /**
9413 * Opacity of the component.
9414 * Supports value from 0 to 1, and the component
9415 * will not be drawn when set to 0.
9416 *
9417 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.opacity
9418 */
9419 opacity?: number | undefined;
9420
9421 /**
9422 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis
9423 */
9424 emphasis?: {
9425 /**
9426 * color.
9427 *
9428 * > Color can be represented in RGB, for example
9429 * `'rgb(128, 128, 128)'`.
9430 * RGBA can be used when you need alpha channel,
9431 * for example `'rgba(128, 128, 128, 0.5)'`.
9432 * You may also use hexadecimal format, for
9433 * example `'#ccc'`.
9434 * Gradient color and texture are also supported
9435 * besides single colors.
9436 * >
9437 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle.emphasis)
9438 *
9439 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.color
9440 */
9441 color?: EChartOption.Color | undefined;
9442
9443 /**
9444 * border color, whose format is similar to
9445 * that of `color`.
9446 *
9447 * @default
9448 * "#000"
9449 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.borderColor
9450 */
9451 borderColor?: EChartOption.Color | undefined;
9452
9453 /**
9454 * border width.
9455 * No border when it is set to be 0.
9456 *
9457 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.borderWidth
9458 */
9459 borderWidth?: number | undefined;
9460
9461 /**
9462 * Border type, which can be `'solid'`, `'dashed'`,
9463 * or `'dotted'`. `'solid'` by default.
9464 *
9465 * @default
9466 * "solid"
9467 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.borderType
9468 */
9469 borderType?: string | undefined;
9470
9471 /**
9472 * Size of shadow blur.
9473 * This attribute should be used along with
9474 * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
9475 * to set shadow to component.
9476 *
9477 * For example:
9478 *
9479 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.itemStyle.emphasis)
9480 *
9481 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowBlur
9482 */
9483 shadowBlur?: number | undefined;
9484
9485 /**
9486 * Shadow color.
9487 * Support same format as `color`.
9488 *
9489 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowColor
9490 */
9491 shadowColor?: EChartOption.Color | undefined;
9492
9493 /**
9494 * Offset distance on the horizontal direction
9495 * of shadow.
9496 *
9497 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowOffsetX
9498 */
9499 shadowOffsetX?: number | undefined;
9500
9501 /**
9502 * Offset distance on the vertical direction
9503 * of shadow.
9504 *
9505 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.shadowOffsetY
9506 */
9507 shadowOffsetY?: number | undefined;
9508
9509 /**
9510 * Opacity of the component.
9511 * Supports value from 0 to 1, and the component
9512 * will not be drawn when set to 0.
9513 *
9514 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.itemStyle.emphasis.opacity
9515 */
9516 opacity?: number | undefined;
9517 } | undefined;
9518 } | undefined;
9519
9520 /**
9521 * Label style of the item.
9522 * Label style of start point and end point will be
9523 * merged together.
9524 *
9525 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label
9526 */
9527 label?: {
9528 /**
9529 * Whether to show label.
9530 *
9531 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.show
9532 */
9533 show?: boolean | undefined;
9534
9535 /**
9536 * Label position.
9537 *
9538 * **Followings are the options:**
9539 *
9540 * + \[x, y\]
9541 *
9542 * Use relative percentage, or absolute pixel values
9543 * to represent position of label relative to top-left
9544 * corner of bounding box. For example:
9545 *
9546 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
9547 *
9548 * + 'top'
9549 *
9550 * + 'left'
9551 * + 'right'
9552 * + 'bottom'
9553 * + 'inside'
9554 * + 'insideLeft'
9555 * + 'insideRight'
9556 * + 'insideTop'
9557 * + 'insideBottom'
9558 * + 'insideTopLeft'
9559 * + 'insideBottomLeft'
9560 * + 'insideTopRight'
9561 * + 'insideBottomRight'
9562 *
9563 * See:
9564 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
9565 * .
9566 *
9567 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.position
9568 */
9569 position?: any[] | string | undefined;
9570
9571 /**
9572 * Distance to the host graphic element.
9573 * Works when position is string value (like `'top'`、`'insideRight'`).
9574 *
9575 * See:
9576 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
9577 * .
9578 *
9579 * @default
9580 * 5
9581 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.distance
9582 */
9583 distance?: number | undefined;
9584
9585 /**
9586 * Rotate label, from -90 degree to 90, positive
9587 * value represents rotate anti-clockwise.
9588 *
9589 * See:
9590 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
9591 * .
9592 *
9593 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rotate
9594 */
9595 rotate?: number | undefined;
9596
9597 /**
9598 * Whether to move text slightly.
9599 * For example: `[30, 40]` means move `30` horizontally
9600 * and move `40` vertically.
9601 *
9602 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.offset
9603 */
9604 offset?: any[] | undefined;
9605
9606 /**
9607 * text color.
9608 *
9609 * If set as `'auto'`, the color will assigned as
9610 * visual color, such as series color.
9611 *
9612 * @default
9613 * ""#fff""
9614 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.color
9615 */
9616 color?: string | undefined;
9617
9618 /**
9619 * font style
9620 *
9621 * Options are:
9622 *
9623 * + `'normal'`
9624 * + `'italic'`
9625 * + `'oblique'`
9626 *
9627 * @default
9628 * "normal"
9629 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontStyle
9630 */
9631 fontStyle?: string | undefined;
9632
9633 /**
9634 * font thick weight
9635 *
9636 * Options are:
9637 *
9638 * + `'normal'`
9639 * + `'bold'`
9640 * + `'bolder'`
9641 * + `'lighter'`
9642 * + 100 | 200 | 300 | 400...
9643 *
9644 * @default
9645 * "normal"
9646 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontWeight
9647 */
9648 fontWeight?: string | number | undefined;
9649
9650 /**
9651 * font family
9652 *
9653 * Can also be 'serif' , 'monospace', ...
9654 *
9655 * @default
9656 * "sans-serif"
9657 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontFamily
9658 */
9659 fontFamily?: string | undefined;
9660
9661 /**
9662 * font size
9663 *
9664 * @default
9665 * 12
9666 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.fontSize
9667 */
9668 fontSize?: number | undefined;
9669
9670 /**
9671 * Horizontal alignment of text, automatic by default.
9672 *
9673 * Options are:
9674 *
9675 * + `'left'`
9676 * + `'center'`
9677 * + `'right'`
9678 *
9679 * If `align` is not set in `rich`, `align` in parent
9680 * level will be used. For example:
9681 *
9682 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
9683 *
9684 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.align
9685 */
9686 align?: string | undefined;
9687
9688 /**
9689 * Vertical alignment of text, automatic by default.
9690 *
9691 * Options are:
9692 *
9693 * + `'top'`
9694 * + `'middle'`
9695 * + `'bottom'`
9696 *
9697 * If `verticalAlign` is not set in `rich`, `verticalAlign`
9698 * in parent level will be used. For example:
9699 *
9700 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
9701 *
9702 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.verticalAlign
9703 */
9704 verticalAlign?: string | undefined;
9705
9706 /**
9707 * Line height of the text fregment.
9708 *
9709 * If `lineHeight` is not set in `rich`, `lineHeight`
9710 * in parent level will be used. For example:
9711 *
9712 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
9713 *
9714 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.lineHeight
9715 */
9716 lineHeight?: number | undefined;
9717
9718 /**
9719 * Background color of the text fregment.
9720 *
9721 * Can be color string, like `'#123234'`, `'red'`,
9722 * `rgba(0,23,11,0.3)'`.
9723 *
9724 * Or image can be used, for example:
9725 *
9726 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
9727 *
9728 * `width` or `height` can be specified when using
9729 * background image, or auto adapted by default.
9730 *
9731 * If set as `'auto'`, the color will assigned as
9732 * visual color, such as series color.
9733 *
9734 * @default
9735 * "transparent"
9736 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.backgroundColor
9737 */
9738 backgroundColor?: object | string | undefined;
9739
9740 /**
9741 * Border color of the text fregment.
9742 *
9743 * If set as `'auto'`, the color will assigned as
9744 * visual color, such as series color.
9745 *
9746 * @default
9747 * "transparent"
9748 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.borderColor
9749 */
9750 borderColor?: string | undefined;
9751
9752 /**
9753 * Border width of the text fregment.
9754 *
9755 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.borderWidth
9756 */
9757 borderWidth?: number | undefined;
9758
9759 /**
9760 * Border radius of the text fregment.
9761 *
9762 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.borderRadius
9763 */
9764 borderRadius?: number | undefined;
9765
9766 /**
9767 * Padding of the text fregment, for example:
9768 *
9769 * + `padding: [3, 4, 5, 6]`: represents padding
9770 * of `[top, right, bottom, left]`.
9771 * + `padding: 4`: represents `padding: [4, 4, 4,
9772 * 4]`.
9773 * + `padding: [3, 4]`: represents `padding: [3,
9774 * 4, 3, 4]`.
9775 *
9776 * Notice, `width` and `height` specifies the width
9777 * and height of the content, without `padding`.
9778 *
9779 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.padding
9780 */
9781 padding?: any[] | number | undefined;
9782
9783 /**
9784 * Shadow color of the text block.
9785 *
9786 * @default
9787 * "transparent"
9788 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowColor
9789 */
9790 shadowColor?: string | undefined;
9791
9792 /**
9793 * Show blur of the text block.
9794 *
9795 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowBlur
9796 */
9797 shadowBlur?: number | undefined;
9798
9799 /**
9800 * Shadow X offset of the text block.
9801 *
9802 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowOffsetX
9803 */
9804 shadowOffsetX?: number | undefined;
9805
9806 /**
9807 * Shadow Y offset of the text block.
9808 *
9809 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.shadowOffsetY
9810 */
9811 shadowOffsetY?: number | undefined;
9812
9813 /**
9814 * Width of the text block.
9815 * It is the width of the text by default.
9816 * In most cases, there is no need to specify it.
9817 * You may want to use it in some cases like make
9818 * simple table or using background image (see `backgroundColor`).
9819 *
9820 * Notice, `width` and `height` specifies the width
9821 * and height of the content, without `padding`.
9822 *
9823 * `width` can also be percent string, like `'100%'`,
9824 * which represents the percent of `contentWidth`
9825 * (that is, the width without `padding`) of its
9826 * container box.
9827 * It is based on `contentWidth` because that each
9828 * text fregment is layout based on the `content
9829 * box`, where it makes no sense that calculating
9830 * width based on `outerWith` in prectice.
9831 *
9832 * Notice, `width` and `height` only work when `rich`
9833 * specified.
9834 *
9835 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.width
9836 */
9837 width?: number | string | undefined;
9838
9839 /**
9840 * Height of the text block.
9841 * It is the width of the text by default.
9842 * You may want to use it in some cases like using
9843 * background image (see `backgroundColor`).
9844 *
9845 * Notice, `width` and `height` specifies the width
9846 * and height of the content, without `padding`.
9847 *
9848 * Notice, `width` and `height` only work when `rich`
9849 * specified.
9850 *
9851 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.height
9852 */
9853 height?: number | string | undefined;
9854
9855 /**
9856 * Storke color of the text.
9857 *
9858 * If set as `'auto'`, the color will assigned as
9859 * visual color, such as series color.
9860 *
9861 * @default
9862 * "transparent"
9863 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textBorderColor
9864 */
9865 textBorderColor?: string | undefined;
9866
9867 /**
9868 * Storke line width of the text.
9869 *
9870 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textBorderWidth
9871 */
9872 textBorderWidth?: number | undefined;
9873
9874 /**
9875 * Shadow color of the text itself.
9876 *
9877 * @default
9878 * "transparent"
9879 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowColor
9880 */
9881 textShadowColor?: string | undefined;
9882
9883 /**
9884 * Shadow blue of the text itself.
9885 *
9886 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowBlur
9887 */
9888 textShadowBlur?: number | undefined;
9889
9890 /**
9891 * Shadow X offset of the text itself.
9892 *
9893 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowOffsetX
9894 */
9895 textShadowOffsetX?: number | undefined;
9896
9897 /**
9898 * Shadow Y offset of the text itself.
9899 *
9900 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.textShadowOffsetY
9901 */
9902 textShadowOffsetY?: number | undefined;
9903
9904 /**
9905 * "Rich text styles" can be defined in this `rich`
9906 * property. For example:
9907 *
9908 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label)
9909 *
9910 * For more details, see
9911 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
9912 * please.
9913 *
9914 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich
9915 */
9916 rich?: {
9917 /**
9918 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E
9919 */
9920 [userStyle: string]: {
9921 /**
9922 * text color.
9923 *
9924 * If set as `'auto'`, the color will assigned
9925 * as visual color, such as series color.
9926 *
9927 * @default
9928 * ""#fff""
9929 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.color
9930 */
9931 color?: string | undefined;
9932
9933 /**
9934 * font style
9935 *
9936 * Options are:
9937 *
9938 * + `'normal'`
9939 * + `'italic'`
9940 * + `'oblique'`
9941 *
9942 * @default
9943 * "normal"
9944 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
9945 */
9946 fontStyle?: string | undefined;
9947
9948 /**
9949 * font thick weight
9950 *
9951 * Options are:
9952 *
9953 * + `'normal'`
9954 * + `'bold'`
9955 * + `'bolder'`
9956 * + `'lighter'`
9957 * + 100 | 200 | 300 | 400...
9958 *
9959 * @default
9960 * "normal"
9961 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
9962 */
9963 fontWeight?: string | number | undefined;
9964
9965 /**
9966 * font family
9967 *
9968 * Can also be 'serif' , 'monospace',
9969 * ...
9970 *
9971 * @default
9972 * "sans-serif"
9973 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
9974 */
9975 fontFamily?: string | undefined;
9976
9977 /**
9978 * font size
9979 *
9980 * @default
9981 * 12
9982 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
9983 */
9984 fontSize?: number | undefined;
9985
9986 /**
9987 * Horizontal alignment of text, automatic
9988 * by default.
9989 *
9990 * Options are:
9991 *
9992 * + `'left'`
9993 * + `'center'`
9994 * + `'right'`
9995 *
9996 * If `align` is not set in `rich`, `align`
9997 * in parent level will be used.
9998 * For example:
9999 *
10000 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
10001 *
10002 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.align
10003 */
10004 align?: string | undefined;
10005
10006 /**
10007 * Vertical alignment of text, automatic
10008 * by default.
10009 *
10010 * Options are:
10011 *
10012 * + `'top'`
10013 * + `'middle'`
10014 * + `'bottom'`
10015 *
10016 * If `verticalAlign` is not set in `rich`,
10017 * `verticalAlign` in parent level will
10018 * be used. For example:
10019 *
10020 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
10021 *
10022 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
10023 */
10024 verticalAlign?: string | undefined;
10025
10026 /**
10027 * Line height of the text fregment.
10028 *
10029 * If `lineHeight` is not set in `rich`,
10030 * `lineHeight` in parent level will be
10031 * used. For example:
10032 *
10033 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
10034 *
10035 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
10036 */
10037 lineHeight?: number | undefined;
10038
10039 /**
10040 * Background color of the text fregment.
10041 *
10042 * Can be color string, like `'#123234'`,
10043 * `'red'`, `rgba(0,23,11,0.3)'`.
10044 *
10045 * Or image can be used, for example:
10046 *
10047 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E)
10048 *
10049 * `width` or `height` can be specified
10050 * when using background image, or auto
10051 * adapted by default.
10052 *
10053 * If set as `'auto'`, the color will assigned
10054 * as visual color, such as series color.
10055 *
10056 * @default
10057 * "transparent"
10058 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
10059 */
10060 backgroundColor?: object | string | undefined;
10061
10062 /**
10063 * Border color of the text fregment.
10064 *
10065 * If set as `'auto'`, the color will assigned
10066 * as visual color, such as series color.
10067 *
10068 * @default
10069 * "transparent"
10070 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
10071 */
10072 borderColor?: string | undefined;
10073
10074 /**
10075 * Border width of the text fregment.
10076 *
10077 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
10078 */
10079 borderWidth?: number | undefined;
10080
10081 /**
10082 * Border radius of the text fregment.
10083 *
10084 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
10085 */
10086 borderRadius?: number | undefined;
10087
10088 /**
10089 * Padding of the text fregment, for example:
10090 *
10091 * + `padding: [3, 4, 5, 6]`: represents
10092 * padding of `[top, right, bottom, left]`.
10093 * + `padding: 4`: represents `padding:
10094 * [4, 4, 4, 4]`.
10095 * + `padding: [3, 4]`: represents `padding:
10096 * [3, 4, 3, 4]`.
10097 *
10098 * Notice, `width` and `height` specifies
10099 * the width and height of the content,
10100 * without `padding`.
10101 *
10102 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.padding
10103 */
10104 padding?: any[] | number | undefined;
10105
10106 /**
10107 * Shadow color of the text block.
10108 *
10109 * @default
10110 * "transparent"
10111 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
10112 */
10113 shadowColor?: string | undefined;
10114
10115 /**
10116 * Show blur of the text block.
10117 *
10118 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
10119 */
10120 shadowBlur?: number | undefined;
10121
10122 /**
10123 * Shadow X offset of the text block.
10124 *
10125 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
10126 */
10127 shadowOffsetX?: number | undefined;
10128
10129 /**
10130 * Shadow Y offset of the text block.
10131 *
10132 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
10133 */
10134 shadowOffsetY?: number | undefined;
10135
10136 /**
10137 * Width of the text block.
10138 * It is the width of the text by default.
10139 * In most cases, there is no need to specify
10140 * it.
10141 * You may want to use it in some cases
10142 * like make simple table or using background
10143 * image (see `backgroundColor`).
10144 *
10145 * Notice, `width` and `height` specifies
10146 * the width and height of the content,
10147 * without `padding`.
10148 *
10149 * `width` can also be percent string, like
10150 * `'100%'`, which represents the percent
10151 * of `contentWidth` (that is, the width
10152 * without `padding`) of its container box.
10153 * It is based on `contentWidth` because
10154 * that each text fregment is layout based
10155 * on the `content box`, where it makes
10156 * no sense that calculating width based
10157 * on `outerWith` in prectice.
10158 *
10159 * Notice, `width` and `height` only work
10160 * when `rich` specified.
10161 *
10162 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.width
10163 */
10164 width?: number | string | undefined;
10165
10166 /**
10167 * Height of the text block.
10168 * It is the width of the text by default.
10169 * You may want to use it in some cases
10170 * like using background image (see `backgroundColor`).
10171 *
10172 * Notice, `width` and `height` specifies
10173 * the width and height of the content,
10174 * without `padding`.
10175 *
10176 * Notice, `width` and `height` only work
10177 * when `rich` specified.
10178 *
10179 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.height
10180 */
10181 height?: number | string | undefined;
10182
10183 /**
10184 * Storke color of the text.
10185 *
10186 * If set as `'auto'`, the color will assigned
10187 * as visual color, such as series color.
10188 *
10189 * @default
10190 * "transparent"
10191 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
10192 */
10193 textBorderColor?: string | undefined;
10194
10195 /**
10196 * Storke line width of the text.
10197 *
10198 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
10199 */
10200 textBorderWidth?: number | undefined;
10201
10202 /**
10203 * Shadow color of the text itself.
10204 *
10205 * @default
10206 * "transparent"
10207 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
10208 */
10209 textShadowColor?: string | undefined;
10210
10211 /**
10212 * Shadow blue of the text itself.
10213 *
10214 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
10215 */
10216 textShadowBlur?: number | undefined;
10217
10218 /**
10219 * Shadow X offset of the text itself.
10220 *
10221 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
10222 */
10223 textShadowOffsetX?: number | undefined;
10224
10225 /**
10226 * Shadow Y offset of the text itself.
10227 *
10228 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
10229 */
10230 textShadowOffsetY?: number | undefined;
10231 };
10232 } | undefined;
10233
10234 /**
10235 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis
10236 */
10237 emphasis?: {
10238 /**
10239 * Whether to show label.
10240 *
10241 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.show
10242 */
10243 show?: boolean | undefined;
10244
10245 /**
10246 * Label position.
10247 *
10248 * **Followings are the options:**
10249 *
10250 * + \[x, y\]
10251 *
10252 * Use relative percentage, or absolute pixel
10253 * values to represent position of label relative
10254 * to top-left corner of bounding box.
10255 * For example:
10256 *
10257 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
10258 *
10259 * + 'top'
10260 *
10261 * + 'left'
10262 * + 'right'
10263 * + 'bottom'
10264 * + 'inside'
10265 * + 'insideLeft'
10266 * + 'insideRight'
10267 * + 'insideTop'
10268 * + 'insideBottom'
10269 * + 'insideTopLeft'
10270 * + 'insideBottomLeft'
10271 * + 'insideTopRight'
10272 * + 'insideBottomRight'
10273 *
10274 * See:
10275 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
10276 * .
10277 *
10278 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.position
10279 */
10280 position?: any[] | string | undefined;
10281
10282 /**
10283 * Distance to the host graphic element.
10284 * Works when position is string value (like
10285 * `'top'`、`'insideRight'`).
10286 *
10287 * See:
10288 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
10289 * .
10290 *
10291 * @default
10292 * 5
10293 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.distance
10294 */
10295 distance?: number | undefined;
10296
10297 /**
10298 * Rotate label, from -90 degree to 90, positive
10299 * value represents rotate anti-clockwise.
10300 *
10301 * See:
10302 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
10303 * .
10304 *
10305 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rotate
10306 */
10307 rotate?: number | undefined;
10308
10309 /**
10310 * Whether to move text slightly.
10311 * For example: `[30, 40]` means move `30` horizontally
10312 * and move `40` vertically.
10313 *
10314 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.offset
10315 */
10316 offset?: any[] | undefined;
10317
10318 /**
10319 * text color.
10320 *
10321 * If set as `'auto'`, the color will assigned
10322 * as visual color, such as series color.
10323 *
10324 * @default
10325 * ""#fff""
10326 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.color
10327 */
10328 color?: string | undefined;
10329
10330 /**
10331 * font style
10332 *
10333 * Options are:
10334 *
10335 * + `'normal'`
10336 * + `'italic'`
10337 * + `'oblique'`
10338 *
10339 * @default
10340 * "normal"
10341 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontStyle
10342 */
10343 fontStyle?: string | undefined;
10344
10345 /**
10346 * font thick weight
10347 *
10348 * Options are:
10349 *
10350 * + `'normal'`
10351 * + `'bold'`
10352 * + `'bolder'`
10353 * + `'lighter'`
10354 * + 100 | 200 | 300 | 400...
10355 *
10356 * @default
10357 * "normal"
10358 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontWeight
10359 */
10360 fontWeight?: string | number | undefined;
10361
10362 /**
10363 * font family
10364 *
10365 * Can also be 'serif' , 'monospace', ...
10366 *
10367 * @default
10368 * "sans-serif"
10369 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontFamily
10370 */
10371 fontFamily?: string | undefined;
10372
10373 /**
10374 * font size
10375 *
10376 * @default
10377 * 12
10378 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.fontSize
10379 */
10380 fontSize?: number | undefined;
10381
10382 /**
10383 * Horizontal alignment of text, automatic by
10384 * default.
10385 *
10386 * Options are:
10387 *
10388 * + `'left'`
10389 * + `'center'`
10390 * + `'right'`
10391 *
10392 * If `align` is not set in `rich`, `align`
10393 * in parent level will be used.
10394 * For example:
10395 *
10396 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
10397 *
10398 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.align
10399 */
10400 align?: string | undefined;
10401
10402 /**
10403 * Vertical alignment of text, automatic by
10404 * default.
10405 *
10406 * Options are:
10407 *
10408 * + `'top'`
10409 * + `'middle'`
10410 * + `'bottom'`
10411 *
10412 * If `verticalAlign` is not set in `rich`,
10413 * `verticalAlign` in parent level will be used.
10414 * For example:
10415 *
10416 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
10417 *
10418 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.verticalAlign
10419 */
10420 verticalAlign?: string | undefined;
10421
10422 /**
10423 * Line height of the text fregment.
10424 *
10425 * If `lineHeight` is not set in `rich`, `lineHeight`
10426 * in parent level will be used.
10427 * For example:
10428 *
10429 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
10430 *
10431 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.lineHeight
10432 */
10433 lineHeight?: number | undefined;
10434
10435 /**
10436 * Background color of the text fregment.
10437 *
10438 * Can be color string, like `'#123234'`, `'red'`,
10439 * `rgba(0,23,11,0.3)'`.
10440 *
10441 * Or image can be used, for example:
10442 *
10443 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
10444 *
10445 * `width` or `height` can be specified when
10446 * using background image, or auto adapted by
10447 * default.
10448 *
10449 * If set as `'auto'`, the color will assigned
10450 * as visual color, such as series color.
10451 *
10452 * @default
10453 * "transparent"
10454 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.backgroundColor
10455 */
10456 backgroundColor?: object | string | undefined;
10457
10458 /**
10459 * Border color of the text fregment.
10460 *
10461 * If set as `'auto'`, the color will assigned
10462 * as visual color, such as series color.
10463 *
10464 * @default
10465 * "transparent"
10466 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.borderColor
10467 */
10468 borderColor?: string | undefined;
10469
10470 /**
10471 * Border width of the text fregment.
10472 *
10473 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.borderWidth
10474 */
10475 borderWidth?: number | undefined;
10476
10477 /**
10478 * Border radius of the text fregment.
10479 *
10480 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.borderRadius
10481 */
10482 borderRadius?: number | undefined;
10483
10484 /**
10485 * Padding of the text fregment, for example:
10486 *
10487 * + `padding: [3, 4, 5, 6]`: represents padding
10488 * of `[top, right, bottom, left]`.
10489 * + `padding: 4`: represents `padding: [4,
10490 * 4, 4, 4]`.
10491 * + `padding: [3, 4]`: represents `padding:
10492 * [3, 4, 3, 4]`.
10493 *
10494 * Notice, `width` and `height` specifies the
10495 * width and height of the content, without
10496 * `padding`.
10497 *
10498 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.padding
10499 */
10500 padding?: any[] | number | undefined;
10501
10502 /**
10503 * Shadow color of the text block.
10504 *
10505 * @default
10506 * "transparent"
10507 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowColor
10508 */
10509 shadowColor?: string | undefined;
10510
10511 /**
10512 * Show blur of the text block.
10513 *
10514 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowBlur
10515 */
10516 shadowBlur?: number | undefined;
10517
10518 /**
10519 * Shadow X offset of the text block.
10520 *
10521 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowOffsetX
10522 */
10523 shadowOffsetX?: number | undefined;
10524
10525 /**
10526 * Shadow Y offset of the text block.
10527 *
10528 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.shadowOffsetY
10529 */
10530 shadowOffsetY?: number | undefined;
10531
10532 /**
10533 * Width of the text block.
10534 * It is the width of the text by default.
10535 * In most cases, there is no need to specify
10536 * it.
10537 * You may want to use it in some cases like
10538 * make simple table or using background image
10539 * (see `backgroundColor`).
10540 *
10541 * Notice, `width` and `height` specifies the
10542 * width and height of the content, without
10543 * `padding`.
10544 *
10545 * `width` can also be percent string, like
10546 * `'100%'`, which represents the percent of
10547 * `contentWidth` (that is, the width without
10548 * `padding`) of its container box.
10549 * It is based on `contentWidth` because that
10550 * each text fregment is layout based on the
10551 * `content box`, where it makes no sense that
10552 * calculating width based on `outerWith` in
10553 * prectice.
10554 *
10555 * Notice, `width` and `height` only work when
10556 * `rich` specified.
10557 *
10558 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.width
10559 */
10560 width?: number | string | undefined;
10561
10562 /**
10563 * Height of the text block.
10564 * It is the width of the text by default.
10565 * You may want to use it in some cases like
10566 * using background image (see `backgroundColor`).
10567 *
10568 * Notice, `width` and `height` specifies the
10569 * width and height of the content, without
10570 * `padding`.
10571 *
10572 * Notice, `width` and `height` only work when
10573 * `rich` specified.
10574 *
10575 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.height
10576 */
10577 height?: number | string | undefined;
10578
10579 /**
10580 * Storke color of the text.
10581 *
10582 * If set as `'auto'`, the color will assigned
10583 * as visual color, such as series color.
10584 *
10585 * @default
10586 * "transparent"
10587 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textBorderColor
10588 */
10589 textBorderColor?: string | undefined;
10590
10591 /**
10592 * Storke line width of the text.
10593 *
10594 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textBorderWidth
10595 */
10596 textBorderWidth?: number | undefined;
10597
10598 /**
10599 * Shadow color of the text itself.
10600 *
10601 * @default
10602 * "transparent"
10603 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowColor
10604 */
10605 textShadowColor?: string | undefined;
10606
10607 /**
10608 * Shadow blue of the text itself.
10609 *
10610 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowBlur
10611 */
10612 textShadowBlur?: number | undefined;
10613
10614 /**
10615 * Shadow X offset of the text itself.
10616 *
10617 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowOffsetX
10618 */
10619 textShadowOffsetX?: number | undefined;
10620
10621 /**
10622 * Shadow Y offset of the text itself.
10623 *
10624 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.textShadowOffsetY
10625 */
10626 textShadowOffsetY?: number | undefined;
10627
10628 /**
10629 * "Rich text styles" can be defined in this
10630 * `rich` property. For example:
10631 *
10632 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis)
10633 *
10634 * For more details, see
10635 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
10636 * please.
10637 *
10638 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich
10639 */
10640 rich?: {
10641 /**
10642 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
10643 */
10644 [userStyle: string]: {
10645 /**
10646 * text color.
10647 *
10648 * If set as `'auto'`, the color will
10649 * assigned as visual color, such as
10650 * series color.
10651 *
10652 * @default
10653 * ""#fff""
10654 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
10655 */
10656 color?: string | undefined;
10657
10658 /**
10659 * font style
10660 *
10661 * Options are:
10662 *
10663 * + `'normal'`
10664 * + `'italic'`
10665 * + `'oblique'`
10666 *
10667 * @default
10668 * "normal"
10669 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
10670 */
10671 fontStyle?: string | undefined;
10672
10673 /**
10674 * font thick weight
10675 *
10676 * Options are:
10677 *
10678 * + `'normal'`
10679 * + `'bold'`
10680 * + `'bolder'`
10681 * + `'lighter'`
10682 * + 100 | 200 | 300 | 400...
10683 *
10684 * @default
10685 * "normal"
10686 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
10687 */
10688 fontWeight?: string | number | undefined;
10689
10690 /**
10691 * font family
10692 *
10693 * Can also be 'serif' , 'monospace',
10694 * ...
10695 *
10696 * @default
10697 * "sans-serif"
10698 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
10699 */
10700 fontFamily?: string | undefined;
10701
10702 /**
10703 * font size
10704 *
10705 * @default
10706 * 12
10707 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
10708 */
10709 fontSize?: number | undefined;
10710
10711 /**
10712 * Horizontal alignment of text, automatic
10713 * by default.
10714 *
10715 * Options are:
10716 *
10717 * + `'left'`
10718 * + `'center'`
10719 * + `'right'`
10720 *
10721 * If `align` is not set in `rich`,
10722 * `align` in parent level will be used.
10723 * For example:
10724 *
10725 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
10726 *
10727 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
10728 */
10729 align?: string | undefined;
10730
10731 /**
10732 * Vertical alignment of text, automatic
10733 * by default.
10734 *
10735 * Options are:
10736 *
10737 * + `'top'`
10738 * + `'middle'`
10739 * + `'bottom'`
10740 *
10741 * If `verticalAlign` is not set in
10742 * `rich`, `verticalAlign` in parent
10743 * level will be used. For example:
10744 *
10745 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
10746 *
10747 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
10748 */
10749 verticalAlign?: string | undefined;
10750
10751 /**
10752 * Line height of the text fregment.
10753 *
10754 * If `lineHeight` is not set in `rich`,
10755 * `lineHeight` in parent level will
10756 * be used. For example:
10757 *
10758 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
10759 *
10760 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
10761 */
10762 lineHeight?: number | undefined;
10763
10764 /**
10765 * Background color of the text fregment.
10766 *
10767 * Can be color string, like `'#123234'`,
10768 * `'red'`, `rgba(0,23,11,0.3)'`.
10769 *
10770 * Or image can be used, for example:
10771 *
10772 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
10773 *
10774 * `width` or `height` can be specified
10775 * when using background image, or auto
10776 * adapted by default.
10777 *
10778 * If set as `'auto'`, the color will
10779 * assigned as visual color, such as
10780 * series color.
10781 *
10782 * @default
10783 * "transparent"
10784 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
10785 */
10786 backgroundColor?: object | string | undefined;
10787
10788 /**
10789 * Border color of the text fregment.
10790 *
10791 * If set as `'auto'`, the color will
10792 * assigned as visual color, such as
10793 * series color.
10794 *
10795 * @default
10796 * "transparent"
10797 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
10798 */
10799 borderColor?: string | undefined;
10800
10801 /**
10802 * Border width of the text fregment.
10803 *
10804 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
10805 */
10806 borderWidth?: number | undefined;
10807
10808 /**
10809 * Border radius of the text fregment.
10810 *
10811 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
10812 */
10813 borderRadius?: number | undefined;
10814
10815 /**
10816 * Padding of the text fregment, for
10817 * example:
10818 *
10819 * + `padding: [3, 4, 5, 6]`: represents
10820 * padding of `[top, right, bottom,
10821 * left]`.
10822 * + `padding: 4`: represents `padding:
10823 * [4, 4, 4, 4]`.
10824 * + `padding: [3, 4]`: represents `padding:
10825 * [3, 4, 3, 4]`.
10826 *
10827 * Notice, `width` and `height` specifies
10828 * the width and height of the content,
10829 * without `padding`.
10830 *
10831 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
10832 */
10833 padding?: any[] | number | undefined;
10834
10835 /**
10836 * Shadow color of the text block.
10837 *
10838 * @default
10839 * "transparent"
10840 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
10841 */
10842 shadowColor?: string | undefined;
10843
10844 /**
10845 * Show blur of the text block.
10846 *
10847 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
10848 */
10849 shadowBlur?: number | undefined;
10850
10851 /**
10852 * Shadow X offset of the text block.
10853 *
10854 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
10855 */
10856 shadowOffsetX?: number | undefined;
10857
10858 /**
10859 * Shadow Y offset of the text block.
10860 *
10861 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
10862 */
10863 shadowOffsetY?: number | undefined;
10864
10865 /**
10866 * Width of the text block.
10867 * It is the width of the text by default.
10868 * In most cases, there is no need to
10869 * specify it.
10870 * You may want to use it in some cases
10871 * like make simple table or using background
10872 * image (see `backgroundColor`).
10873 *
10874 * Notice, `width` and `height` specifies
10875 * the width and height of the content,
10876 * without `padding`.
10877 *
10878 * `width` can also be percent string,
10879 * like `'100%'`, which represents the
10880 * percent of `contentWidth` (that is,
10881 * the width without `padding`) of its
10882 * container box.
10883 * It is based on `contentWidth` because
10884 * that each text fregment is layout
10885 * based on the `content box`, where
10886 * it makes no sense that calculating
10887 * width based on `outerWith` in prectice.
10888 *
10889 * Notice, `width` and `height` only
10890 * work when `rich` specified.
10891 *
10892 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
10893 */
10894 width?: number | string | undefined;
10895
10896 /**
10897 * Height of the text block.
10898 * It is the width of the text by default.
10899 * You may want to use it in some cases
10900 * like using background image (see
10901 * `backgroundColor`).
10902 *
10903 * Notice, `width` and `height` specifies
10904 * the width and height of the content,
10905 * without `padding`.
10906 *
10907 * Notice, `width` and `height` only
10908 * work when `rich` specified.
10909 *
10910 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
10911 */
10912 height?: number | string | undefined;
10913
10914 /**
10915 * Storke color of the text.
10916 *
10917 * If set as `'auto'`, the color will
10918 * assigned as visual color, such as
10919 * series color.
10920 *
10921 * @default
10922 * "transparent"
10923 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
10924 */
10925 textBorderColor?: string | undefined;
10926
10927 /**
10928 * Storke line width of the text.
10929 *
10930 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
10931 */
10932 textBorderWidth?: number | undefined;
10933
10934 /**
10935 * Shadow color of the text itself.
10936 *
10937 * @default
10938 * "transparent"
10939 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
10940 */
10941 textShadowColor?: string | undefined;
10942
10943 /**
10944 * Shadow blue of the text itself.
10945 *
10946 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
10947 */
10948 textShadowBlur?: number | undefined;
10949
10950 /**
10951 * Shadow X offset of the text itself.
10952 *
10953 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
10954 */
10955 textShadowOffsetX?: number | undefined;
10956
10957 /**
10958 * Shadow Y offset of the text itself.
10959 *
10960 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.0.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
10961 */
10962 textShadowOffsetY?: number | undefined;
10963 };
10964 } | undefined;
10965 } | undefined;
10966 } | undefined;
10967 } | undefined;
10968
10969 /**
10970 * Specify the right-bottom point.
10971 *
10972 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1
10973 */
10974 1?: {
10975 /**
10976 * Specify this item is on min or max or average value.
10977 *
10978 * **Options:**
10979 *
10980 * + `'min'` max value。
10981 * + `'max'` min value。
10982 * + `'average'` average value。
10983 *
10984 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.type
10985 */
10986 type?: string | undefined;
10987
10988 /**
10989 * Specify the dimension on which min, max, average
10990 * are calculated, available when
10991 * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
10992 * used.
10993 * The value can be `0` (means xAxis, radiusAxis) or
10994 * `1` (means yAxis, angleAxis), using the dimension
10995 * of the first axis by default.
10996 *
10997 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.valueIndex
10998 */
10999 valueIndex?: number | undefined;
11000
11001 /**
11002 * Specify the dimension on which min, max, average
11003 * are calculated, available when
11004 * [type](https://echarts.apache.org/en/option.html#series-.markArea.data.type)
11005 * used.
11006 * The value can be the name of the dimension (for example,
11007 * the value can be `x`, `angle` in line chart, and
11008 * `open`, `close` in candlestick).
11009 *
11010 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.valueDim
11011 */
11012 valueDim?: string | undefined;
11013
11014 /**
11015 * The format is \[start coordinate, end coordinate\],
11016 * where the coordinate system can be `x`, `y` on
11017 * [cartesian](https://echarts.apache.org/en/option.html#grid)
11018 * , or `radius`, `angle` on
11019 * [polar](https://echarts.apache.org/en/option.html#polar)
11020 * .
11021 *
11022 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.coord
11023 */
11024 coord?: any[] | undefined;
11025
11026 /**
11027 * Name of the marker, which will display as a label.
11028 *
11029 * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#series-bar.markArea.data.1.name
11030 */
11031 name?: string | undefined;
11032
11033 /**
11034 * x value on screen coordinate system, can be pixel
11035 * number (like `5`), or percent value (like `'20%'`).
11036 *
11037 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.x
11038 */
11039 x?: number | undefined;
11040
11041 /**
11042 * y value on screen coordinate system, can be pixel
11043 * number (like `5`), or percent value (like `'20%'`).
11044 *
11045 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.y
11046 */
11047 y?: number | undefined;
11048
11049 /**
11050 * value of the item, not necessary.
11051 *
11052 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.value
11053 */
11054 value?: number | undefined;
11055
11056 /**
11057 * Style of the item.
11058 * `itemStyle` of start point and end point will be
11059 * merged together.
11060 *
11061 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle
11062 */
11063 itemStyle?: {
11064 /**
11065 * color.
11066 *
11067 * > Color can be represented in RGB, for example
11068 * `'rgb(128, 128, 128)'`.
11069 * RGBA can be used when you need alpha channel,
11070 * for example `'rgba(128, 128, 128, 0.5)'`.
11071 * You may also use hexadecimal format, for example
11072 * `'#ccc'`.
11073 * Gradient color and texture are also supported
11074 * besides single colors.
11075 * >
11076 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle)
11077 *
11078 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.color
11079 */
11080 color?: EChartOption.Color | undefined;
11081
11082 /**
11083 * border color, whose format is similar to that
11084 * of `color`.
11085 *
11086 * @default
11087 * "#000"
11088 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.borderColor
11089 */
11090 borderColor?: EChartOption.Color | undefined;
11091
11092 /**
11093 * border width.
11094 * No border when it is set to be 0.
11095 *
11096 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.borderWidth
11097 */
11098 borderWidth?: number | undefined;
11099
11100 /**
11101 * Border type, which can be `'solid'`, `'dashed'`,
11102 * or `'dotted'`. `'solid'` by default.
11103 *
11104 * @default
11105 * "solid"
11106 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.borderType
11107 */
11108 borderType?: string | undefined;
11109
11110 /**
11111 * Size of shadow blur.
11112 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
11113 * `shadowOffsetY` to set shadow to component.
11114 *
11115 * For example:
11116 *
11117 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle)
11118 *
11119 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowBlur
11120 */
11121 shadowBlur?: number | undefined;
11122
11123 /**
11124 * Shadow color. Support same format as `color`.
11125 *
11126 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowColor
11127 */
11128 shadowColor?: EChartOption.Color | undefined;
11129
11130 /**
11131 * Offset distance on the horizontal direction of
11132 * shadow.
11133 *
11134 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowOffsetX
11135 */
11136 shadowOffsetX?: number | undefined;
11137
11138 /**
11139 * Offset distance on the vertical direction of
11140 * shadow.
11141 *
11142 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.shadowOffsetY
11143 */
11144 shadowOffsetY?: number | undefined;
11145
11146 /**
11147 * Opacity of the component.
11148 * Supports value from 0 to 1, and the component
11149 * will not be drawn when set to 0.
11150 *
11151 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.opacity
11152 */
11153 opacity?: number | undefined;
11154
11155 /**
11156 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis
11157 */
11158 emphasis?: {
11159 /**
11160 * color.
11161 *
11162 * > Color can be represented in RGB, for example
11163 * `'rgb(128, 128, 128)'`.
11164 * RGBA can be used when you need alpha channel,
11165 * for example `'rgba(128, 128, 128, 0.5)'`.
11166 * You may also use hexadecimal format, for
11167 * example `'#ccc'`.
11168 * Gradient color and texture are also supported
11169 * besides single colors.
11170 * >
11171 * > [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle.emphasis)
11172 *
11173 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.color
11174 */
11175 color?: EChartOption.Color | undefined;
11176
11177 /**
11178 * border color, whose format is similar to
11179 * that of `color`.
11180 *
11181 * @default
11182 * "#000"
11183 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.borderColor
11184 */
11185 borderColor?: EChartOption.Color | undefined;
11186
11187 /**
11188 * border width.
11189 * No border when it is set to be 0.
11190 *
11191 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.borderWidth
11192 */
11193 borderWidth?: number | undefined;
11194
11195 /**
11196 * Border type, which can be `'solid'`, `'dashed'`,
11197 * or `'dotted'`. `'solid'` by default.
11198 *
11199 * @default
11200 * "solid"
11201 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.borderType
11202 */
11203 borderType?: string | undefined;
11204
11205 /**
11206 * Size of shadow blur.
11207 * This attribute should be used along with
11208 * `shadowColor`,`shadowOffsetX`, `shadowOffsetY`
11209 * to set shadow to component.
11210 *
11211 * For example:
11212 *
11213 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.itemStyle.emphasis)
11214 *
11215 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowBlur
11216 */
11217 shadowBlur?: number | undefined;
11218
11219 /**
11220 * Shadow color.
11221 * Support same format as `color`.
11222 *
11223 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowColor
11224 */
11225 shadowColor?: EChartOption.Color | undefined;
11226
11227 /**
11228 * Offset distance on the horizontal direction
11229 * of shadow.
11230 *
11231 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowOffsetX
11232 */
11233 shadowOffsetX?: number | undefined;
11234
11235 /**
11236 * Offset distance on the vertical direction
11237 * of shadow.
11238 *
11239 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.shadowOffsetY
11240 */
11241 shadowOffsetY?: number | undefined;
11242
11243 /**
11244 * Opacity of the component.
11245 * Supports value from 0 to 1, and the component
11246 * will not be drawn when set to 0.
11247 *
11248 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.itemStyle.emphasis.opacity
11249 */
11250 opacity?: number | undefined;
11251 } | undefined;
11252 } | undefined;
11253
11254 /**
11255 * Label style of the item.
11256 * Label style of start point and end point will be
11257 * merged together.
11258 *
11259 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label
11260 */
11261 label?: {
11262 /**
11263 * Whether to show label.
11264 *
11265 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.show
11266 */
11267 show?: boolean | undefined;
11268
11269 /**
11270 * Label position.
11271 *
11272 * **Followings are the options:**
11273 *
11274 * + \[x, y\]
11275 *
11276 * Use relative percentage, or absolute pixel values
11277 * to represent position of label relative to top-left
11278 * corner of bounding box. For example:
11279 *
11280 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
11281 *
11282 * + 'top'
11283 *
11284 * + 'left'
11285 * + 'right'
11286 * + 'bottom'
11287 * + 'inside'
11288 * + 'insideLeft'
11289 * + 'insideRight'
11290 * + 'insideTop'
11291 * + 'insideBottom'
11292 * + 'insideTopLeft'
11293 * + 'insideBottomLeft'
11294 * + 'insideTopRight'
11295 * + 'insideBottomRight'
11296 *
11297 * See:
11298 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
11299 * .
11300 *
11301 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.position
11302 */
11303 position?: any[] | string | undefined;
11304
11305 /**
11306 * Distance to the host graphic element.
11307 * Works when position is string value (like `'top'`、`'insideRight'`).
11308 *
11309 * See:
11310 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
11311 * .
11312 *
11313 * @default
11314 * 5
11315 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.distance
11316 */
11317 distance?: number | undefined;
11318
11319 /**
11320 * Rotate label, from -90 degree to 90, positive
11321 * value represents rotate anti-clockwise.
11322 *
11323 * See:
11324 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
11325 * .
11326 *
11327 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rotate
11328 */
11329 rotate?: number | undefined;
11330
11331 /**
11332 * Whether to move text slightly.
11333 * For example: `[30, 40]` means move `30` horizontally
11334 * and move `40` vertically.
11335 *
11336 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.offset
11337 */
11338 offset?: any[] | undefined;
11339
11340 /**
11341 * text color.
11342 *
11343 * If set as `'auto'`, the color will assigned as
11344 * visual color, such as series color.
11345 *
11346 * @default
11347 * ""#fff""
11348 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.color
11349 */
11350 color?: string | undefined;
11351
11352 /**
11353 * font style
11354 *
11355 * Options are:
11356 *
11357 * + `'normal'`
11358 * + `'italic'`
11359 * + `'oblique'`
11360 *
11361 * @default
11362 * "normal"
11363 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontStyle
11364 */
11365 fontStyle?: string | undefined;
11366
11367 /**
11368 * font thick weight
11369 *
11370 * Options are:
11371 *
11372 * + `'normal'`
11373 * + `'bold'`
11374 * + `'bolder'`
11375 * + `'lighter'`
11376 * + 100 | 200 | 300 | 400...
11377 *
11378 * @default
11379 * "normal"
11380 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontWeight
11381 */
11382 fontWeight?: string | number | undefined;
11383
11384 /**
11385 * font family
11386 *
11387 * Can also be 'serif' , 'monospace', ...
11388 *
11389 * @default
11390 * "sans-serif"
11391 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontFamily
11392 */
11393 fontFamily?: string | undefined;
11394
11395 /**
11396 * font size
11397 *
11398 * @default
11399 * 12
11400 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.fontSize
11401 */
11402 fontSize?: number | undefined;
11403
11404 /**
11405 * Horizontal alignment of text, automatic by default.
11406 *
11407 * Options are:
11408 *
11409 * + `'left'`
11410 * + `'center'`
11411 * + `'right'`
11412 *
11413 * If `align` is not set in `rich`, `align` in parent
11414 * level will be used. For example:
11415 *
11416 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
11417 *
11418 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.align
11419 */
11420 align?: string | undefined;
11421
11422 /**
11423 * Vertical alignment of text, automatic by default.
11424 *
11425 * Options are:
11426 *
11427 * + `'top'`
11428 * + `'middle'`
11429 * + `'bottom'`
11430 *
11431 * If `verticalAlign` is not set in `rich`, `verticalAlign`
11432 * in parent level will be used. For example:
11433 *
11434 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
11435 *
11436 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.verticalAlign
11437 */
11438 verticalAlign?: string | undefined;
11439
11440 /**
11441 * Line height of the text fregment.
11442 *
11443 * If `lineHeight` is not set in `rich`, `lineHeight`
11444 * in parent level will be used. For example:
11445 *
11446 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
11447 *
11448 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.lineHeight
11449 */
11450 lineHeight?: number | undefined;
11451
11452 /**
11453 * Background color of the text fregment.
11454 *
11455 * Can be color string, like `'#123234'`, `'red'`,
11456 * `rgba(0,23,11,0.3)'`.
11457 *
11458 * Or image can be used, for example:
11459 *
11460 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
11461 *
11462 * `width` or `height` can be specified when using
11463 * background image, or auto adapted by default.
11464 *
11465 * If set as `'auto'`, the color will assigned as
11466 * visual color, such as series color.
11467 *
11468 * @default
11469 * "transparent"
11470 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.backgroundColor
11471 */
11472 backgroundColor?: object | string | undefined;
11473
11474 /**
11475 * Border color of the text fregment.
11476 *
11477 * If set as `'auto'`, the color will assigned as
11478 * visual color, such as series color.
11479 *
11480 * @default
11481 * "transparent"
11482 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.borderColor
11483 */
11484 borderColor?: string | undefined;
11485
11486 /**
11487 * Border width of the text fregment.
11488 *
11489 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.borderWidth
11490 */
11491 borderWidth?: number | undefined;
11492
11493 /**
11494 * Border radius of the text fregment.
11495 *
11496 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.borderRadius
11497 */
11498 borderRadius?: number | undefined;
11499
11500 /**
11501 * Padding of the text fregment, for example:
11502 *
11503 * + `padding: [3, 4, 5, 6]`: represents padding
11504 * of `[top, right, bottom, left]`.
11505 * + `padding: 4`: represents `padding: [4, 4, 4,
11506 * 4]`.
11507 * + `padding: [3, 4]`: represents `padding: [3,
11508 * 4, 3, 4]`.
11509 *
11510 * Notice, `width` and `height` specifies the width
11511 * and height of the content, without `padding`.
11512 *
11513 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.padding
11514 */
11515 padding?: any[] | number | undefined;
11516
11517 /**
11518 * Shadow color of the text block.
11519 *
11520 * @default
11521 * "transparent"
11522 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowColor
11523 */
11524 shadowColor?: string | undefined;
11525
11526 /**
11527 * Show blur of the text block.
11528 *
11529 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowBlur
11530 */
11531 shadowBlur?: number | undefined;
11532
11533 /**
11534 * Shadow X offset of the text block.
11535 *
11536 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowOffsetX
11537 */
11538 shadowOffsetX?: number | undefined;
11539
11540 /**
11541 * Shadow Y offset of the text block.
11542 *
11543 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.shadowOffsetY
11544 */
11545 shadowOffsetY?: number | undefined;
11546
11547 /**
11548 * Width of the text block.
11549 * It is the width of the text by default.
11550 * In most cases, there is no need to specify it.
11551 * You may want to use it in some cases like make
11552 * simple table or using background image (see `backgroundColor`).
11553 *
11554 * Notice, `width` and `height` specifies the width
11555 * and height of the content, without `padding`.
11556 *
11557 * `width` can also be percent string, like `'100%'`,
11558 * which represents the percent of `contentWidth`
11559 * (that is, the width without `padding`) of its
11560 * container box.
11561 * It is based on `contentWidth` because that each
11562 * text fregment is layout based on the `content
11563 * box`, where it makes no sense that calculating
11564 * width based on `outerWith` in prectice.
11565 *
11566 * Notice, `width` and `height` only work when `rich`
11567 * specified.
11568 *
11569 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.width
11570 */
11571 width?: number | string | undefined;
11572
11573 /**
11574 * Height of the text block.
11575 * It is the width of the text by default.
11576 * You may want to use it in some cases like using
11577 * background image (see `backgroundColor`).
11578 *
11579 * Notice, `width` and `height` specifies the width
11580 * and height of the content, without `padding`.
11581 *
11582 * Notice, `width` and `height` only work when `rich`
11583 * specified.
11584 *
11585 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.height
11586 */
11587 height?: number | string | undefined;
11588
11589 /**
11590 * Storke color of the text.
11591 *
11592 * If set as `'auto'`, the color will assigned as
11593 * visual color, such as series color.
11594 *
11595 * @default
11596 * "transparent"
11597 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textBorderColor
11598 */
11599 textBorderColor?: string | undefined;
11600
11601 /**
11602 * Storke line width of the text.
11603 *
11604 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textBorderWidth
11605 */
11606 textBorderWidth?: number | undefined;
11607
11608 /**
11609 * Shadow color of the text itself.
11610 *
11611 * @default
11612 * "transparent"
11613 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowColor
11614 */
11615 textShadowColor?: string | undefined;
11616
11617 /**
11618 * Shadow blue of the text itself.
11619 *
11620 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowBlur
11621 */
11622 textShadowBlur?: number | undefined;
11623
11624 /**
11625 * Shadow X offset of the text itself.
11626 *
11627 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowOffsetX
11628 */
11629 textShadowOffsetX?: number | undefined;
11630
11631 /**
11632 * Shadow Y offset of the text itself.
11633 *
11634 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.textShadowOffsetY
11635 */
11636 textShadowOffsetY?: number | undefined;
11637
11638 /**
11639 * "Rich text styles" can be defined in this `rich`
11640 * property. For example:
11641 *
11642 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label)
11643 *
11644 * For more details, see
11645 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
11646 * please.
11647 *
11648 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich
11649 */
11650 rich?: {
11651 /**
11652 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E
11653 */
11654 [userStyle: string]: {
11655 /**
11656 * text color.
11657 *
11658 * If set as `'auto'`, the color will assigned
11659 * as visual color, such as series color.
11660 *
11661 * @default
11662 * ""#fff""
11663 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.color
11664 */
11665 color?: string | undefined;
11666
11667 /**
11668 * font style
11669 *
11670 * Options are:
11671 *
11672 * + `'normal'`
11673 * + `'italic'`
11674 * + `'oblique'`
11675 *
11676 * @default
11677 * "normal"
11678 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
11679 */
11680 fontStyle?: string | undefined;
11681
11682 /**
11683 * font thick weight
11684 *
11685 * Options are:
11686 *
11687 * + `'normal'`
11688 * + `'bold'`
11689 * + `'bolder'`
11690 * + `'lighter'`
11691 * + 100 | 200 | 300 | 400...
11692 *
11693 * @default
11694 * "normal"
11695 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
11696 */
11697 fontWeight?: string | number | undefined;
11698
11699 /**
11700 * font family
11701 *
11702 * Can also be 'serif' , 'monospace',
11703 * ...
11704 *
11705 * @default
11706 * "sans-serif"
11707 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
11708 */
11709 fontFamily?: string | undefined;
11710
11711 /**
11712 * font size
11713 *
11714 * @default
11715 * 12
11716 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
11717 */
11718 fontSize?: number | undefined;
11719
11720 /**
11721 * Horizontal alignment of text, automatic
11722 * by default.
11723 *
11724 * Options are:
11725 *
11726 * + `'left'`
11727 * + `'center'`
11728 * + `'right'`
11729 *
11730 * If `align` is not set in `rich`, `align`
11731 * in parent level will be used.
11732 * For example:
11733 *
11734 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
11735 *
11736 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.align
11737 */
11738 align?: string | undefined;
11739
11740 /**
11741 * Vertical alignment of text, automatic
11742 * by default.
11743 *
11744 * Options are:
11745 *
11746 * + `'top'`
11747 * + `'middle'`
11748 * + `'bottom'`
11749 *
11750 * If `verticalAlign` is not set in `rich`,
11751 * `verticalAlign` in parent level will
11752 * be used. For example:
11753 *
11754 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
11755 *
11756 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
11757 */
11758 verticalAlign?: string | undefined;
11759
11760 /**
11761 * Line height of the text fregment.
11762 *
11763 * If `lineHeight` is not set in `rich`,
11764 * `lineHeight` in parent level will be
11765 * used. For example:
11766 *
11767 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
11768 *
11769 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
11770 */
11771 lineHeight?: number | undefined;
11772
11773 /**
11774 * Background color of the text fregment.
11775 *
11776 * Can be color string, like `'#123234'`,
11777 * `'red'`, `rgba(0,23,11,0.3)'`.
11778 *
11779 * Or image can be used, for example:
11780 *
11781 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E)
11782 *
11783 * `width` or `height` can be specified
11784 * when using background image, or auto
11785 * adapted by default.
11786 *
11787 * If set as `'auto'`, the color will assigned
11788 * as visual color, such as series color.
11789 *
11790 * @default
11791 * "transparent"
11792 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
11793 */
11794 backgroundColor?: object | string | undefined;
11795
11796 /**
11797 * Border color of the text fregment.
11798 *
11799 * If set as `'auto'`, the color will assigned
11800 * as visual color, such as series color.
11801 *
11802 * @default
11803 * "transparent"
11804 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
11805 */
11806 borderColor?: string | undefined;
11807
11808 /**
11809 * Border width of the text fregment.
11810 *
11811 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
11812 */
11813 borderWidth?: number | undefined;
11814
11815 /**
11816 * Border radius of the text fregment.
11817 *
11818 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
11819 */
11820 borderRadius?: number | undefined;
11821
11822 /**
11823 * Padding of the text fregment, for example:
11824 *
11825 * + `padding: [3, 4, 5, 6]`: represents
11826 * padding of `[top, right, bottom, left]`.
11827 * + `padding: 4`: represents `padding:
11828 * [4, 4, 4, 4]`.
11829 * + `padding: [3, 4]`: represents `padding:
11830 * [3, 4, 3, 4]`.
11831 *
11832 * Notice, `width` and `height` specifies
11833 * the width and height of the content,
11834 * without `padding`.
11835 *
11836 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.padding
11837 */
11838 padding?: any[] | number | undefined;
11839
11840 /**
11841 * Shadow color of the text block.
11842 *
11843 * @default
11844 * "transparent"
11845 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
11846 */
11847 shadowColor?: string | undefined;
11848
11849 /**
11850 * Show blur of the text block.
11851 *
11852 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
11853 */
11854 shadowBlur?: number | undefined;
11855
11856 /**
11857 * Shadow X offset of the text block.
11858 *
11859 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
11860 */
11861 shadowOffsetX?: number | undefined;
11862
11863 /**
11864 * Shadow Y offset of the text block.
11865 *
11866 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
11867 */
11868 shadowOffsetY?: number | undefined;
11869
11870 /**
11871 * Width of the text block.
11872 * It is the width of the text by default.
11873 * In most cases, there is no need to specify
11874 * it.
11875 * You may want to use it in some cases
11876 * like make simple table or using background
11877 * image (see `backgroundColor`).
11878 *
11879 * Notice, `width` and `height` specifies
11880 * the width and height of the content,
11881 * without `padding`.
11882 *
11883 * `width` can also be percent string, like
11884 * `'100%'`, which represents the percent
11885 * of `contentWidth` (that is, the width
11886 * without `padding`) of its container box.
11887 * It is based on `contentWidth` because
11888 * that each text fregment is layout based
11889 * on the `content box`, where it makes
11890 * no sense that calculating width based
11891 * on `outerWith` in prectice.
11892 *
11893 * Notice, `width` and `height` only work
11894 * when `rich` specified.
11895 *
11896 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.width
11897 */
11898 width?: number | string | undefined;
11899
11900 /**
11901 * Height of the text block.
11902 * It is the width of the text by default.
11903 * You may want to use it in some cases
11904 * like using background image (see `backgroundColor`).
11905 *
11906 * Notice, `width` and `height` specifies
11907 * the width and height of the content,
11908 * without `padding`.
11909 *
11910 * Notice, `width` and `height` only work
11911 * when `rich` specified.
11912 *
11913 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.height
11914 */
11915 height?: number | string | undefined;
11916
11917 /**
11918 * Storke color of the text.
11919 *
11920 * If set as `'auto'`, the color will assigned
11921 * as visual color, such as series color.
11922 *
11923 * @default
11924 * "transparent"
11925 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
11926 */
11927 textBorderColor?: string | undefined;
11928
11929 /**
11930 * Storke line width of the text.
11931 *
11932 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
11933 */
11934 textBorderWidth?: number | undefined;
11935
11936 /**
11937 * Shadow color of the text itself.
11938 *
11939 * @default
11940 * "transparent"
11941 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
11942 */
11943 textShadowColor?: string | undefined;
11944
11945 /**
11946 * Shadow blue of the text itself.
11947 *
11948 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
11949 */
11950 textShadowBlur?: number | undefined;
11951
11952 /**
11953 * Shadow X offset of the text itself.
11954 *
11955 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
11956 */
11957 textShadowOffsetX?: number | undefined;
11958
11959 /**
11960 * Shadow Y offset of the text itself.
11961 *
11962 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
11963 */
11964 textShadowOffsetY?: number | undefined;
11965 };
11966 } | undefined;
11967
11968 /**
11969 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis
11970 */
11971 emphasis?: {
11972 /**
11973 * Whether to show label.
11974 *
11975 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.show
11976 */
11977 show?: boolean | undefined;
11978
11979 /**
11980 * Label position.
11981 *
11982 * **Followings are the options:**
11983 *
11984 * + \[x, y\]
11985 *
11986 * Use relative percentage, or absolute pixel
11987 * values to represent position of label relative
11988 * to top-left corner of bounding box.
11989 * For example:
11990 *
11991 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
11992 *
11993 * + 'top'
11994 *
11995 * + 'left'
11996 * + 'right'
11997 * + 'bottom'
11998 * + 'inside'
11999 * + 'insideLeft'
12000 * + 'insideRight'
12001 * + 'insideTop'
12002 * + 'insideBottom'
12003 * + 'insideTopLeft'
12004 * + 'insideBottomLeft'
12005 * + 'insideTopRight'
12006 * + 'insideBottomRight'
12007 *
12008 * See:
12009 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
12010 * .
12011 *
12012 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.position
12013 */
12014 position?: any[] | string | undefined;
12015
12016 /**
12017 * Distance to the host graphic element.
12018 * Works when position is string value (like
12019 * `'top'`、`'insideRight'`).
12020 *
12021 * See:
12022 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
12023 * .
12024 *
12025 * @default
12026 * 5
12027 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.distance
12028 */
12029 distance?: number | undefined;
12030
12031 /**
12032 * Rotate label, from -90 degree to 90, positive
12033 * value represents rotate anti-clockwise.
12034 *
12035 * See:
12036 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
12037 * .
12038 *
12039 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rotate
12040 */
12041 rotate?: number | undefined;
12042
12043 /**
12044 * Whether to move text slightly.
12045 * For example: `[30, 40]` means move `30` horizontally
12046 * and move `40` vertically.
12047 *
12048 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.offset
12049 */
12050 offset?: any[] | undefined;
12051
12052 /**
12053 * text color.
12054 *
12055 * If set as `'auto'`, the color will assigned
12056 * as visual color, such as series color.
12057 *
12058 * @default
12059 * ""#fff""
12060 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.color
12061 */
12062 color?: string | undefined;
12063
12064 /**
12065 * font style
12066 *
12067 * Options are:
12068 *
12069 * + `'normal'`
12070 * + `'italic'`
12071 * + `'oblique'`
12072 *
12073 * @default
12074 * "normal"
12075 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontStyle
12076 */
12077 fontStyle?: string | undefined;
12078
12079 /**
12080 * font thick weight
12081 *
12082 * Options are:
12083 *
12084 * + `'normal'`
12085 * + `'bold'`
12086 * + `'bolder'`
12087 * + `'lighter'`
12088 * + 100 | 200 | 300 | 400...
12089 *
12090 * @default
12091 * "normal"
12092 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontWeight
12093 */
12094 fontWeight?: string | number | undefined;
12095
12096 /**
12097 * font family
12098 *
12099 * Can also be 'serif' , 'monospace', ...
12100 *
12101 * @default
12102 * "sans-serif"
12103 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontFamily
12104 */
12105 fontFamily?: string | undefined;
12106
12107 /**
12108 * font size
12109 *
12110 * @default
12111 * 12
12112 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.fontSize
12113 */
12114 fontSize?: number | undefined;
12115
12116 /**
12117 * Horizontal alignment of text, automatic by
12118 * default.
12119 *
12120 * Options are:
12121 *
12122 * + `'left'`
12123 * + `'center'`
12124 * + `'right'`
12125 *
12126 * If `align` is not set in `rich`, `align`
12127 * in parent level will be used.
12128 * For example:
12129 *
12130 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
12131 *
12132 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.align
12133 */
12134 align?: string | undefined;
12135
12136 /**
12137 * Vertical alignment of text, automatic by
12138 * default.
12139 *
12140 * Options are:
12141 *
12142 * + `'top'`
12143 * + `'middle'`
12144 * + `'bottom'`
12145 *
12146 * If `verticalAlign` is not set in `rich`,
12147 * `verticalAlign` in parent level will be used.
12148 * For example:
12149 *
12150 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
12151 *
12152 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.verticalAlign
12153 */
12154 verticalAlign?: string | undefined;
12155
12156 /**
12157 * Line height of the text fregment.
12158 *
12159 * If `lineHeight` is not set in `rich`, `lineHeight`
12160 * in parent level will be used.
12161 * For example:
12162 *
12163 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
12164 *
12165 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.lineHeight
12166 */
12167 lineHeight?: number | undefined;
12168
12169 /**
12170 * Background color of the text fregment.
12171 *
12172 * Can be color string, like `'#123234'`, `'red'`,
12173 * `rgba(0,23,11,0.3)'`.
12174 *
12175 * Or image can be used, for example:
12176 *
12177 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
12178 *
12179 * `width` or `height` can be specified when
12180 * using background image, or auto adapted by
12181 * default.
12182 *
12183 * If set as `'auto'`, the color will assigned
12184 * as visual color, such as series color.
12185 *
12186 * @default
12187 * "transparent"
12188 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.backgroundColor
12189 */
12190 backgroundColor?: object | string | undefined;
12191
12192 /**
12193 * Border color of the text fregment.
12194 *
12195 * If set as `'auto'`, the color will assigned
12196 * as visual color, such as series color.
12197 *
12198 * @default
12199 * "transparent"
12200 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.borderColor
12201 */
12202 borderColor?: string | undefined;
12203
12204 /**
12205 * Border width of the text fregment.
12206 *
12207 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.borderWidth
12208 */
12209 borderWidth?: number | undefined;
12210
12211 /**
12212 * Border radius of the text fregment.
12213 *
12214 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.borderRadius
12215 */
12216 borderRadius?: number | undefined;
12217
12218 /**
12219 * Padding of the text fregment, for example:
12220 *
12221 * + `padding: [3, 4, 5, 6]`: represents padding
12222 * of `[top, right, bottom, left]`.
12223 * + `padding: 4`: represents `padding: [4,
12224 * 4, 4, 4]`.
12225 * + `padding: [3, 4]`: represents `padding:
12226 * [3, 4, 3, 4]`.
12227 *
12228 * Notice, `width` and `height` specifies the
12229 * width and height of the content, without
12230 * `padding`.
12231 *
12232 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.padding
12233 */
12234 padding?: any[] | number | undefined;
12235
12236 /**
12237 * Shadow color of the text block.
12238 *
12239 * @default
12240 * "transparent"
12241 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowColor
12242 */
12243 shadowColor?: string | undefined;
12244
12245 /**
12246 * Show blur of the text block.
12247 *
12248 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowBlur
12249 */
12250 shadowBlur?: number | undefined;
12251
12252 /**
12253 * Shadow X offset of the text block.
12254 *
12255 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowOffsetX
12256 */
12257 shadowOffsetX?: number | undefined;
12258
12259 /**
12260 * Shadow Y offset of the text block.
12261 *
12262 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.shadowOffsetY
12263 */
12264 shadowOffsetY?: number | undefined;
12265
12266 /**
12267 * Width of the text block.
12268 * It is the width of the text by default.
12269 * In most cases, there is no need to specify
12270 * it.
12271 * You may want to use it in some cases like
12272 * make simple table or using background image
12273 * (see `backgroundColor`).
12274 *
12275 * Notice, `width` and `height` specifies the
12276 * width and height of the content, without
12277 * `padding`.
12278 *
12279 * `width` can also be percent string, like
12280 * `'100%'`, which represents the percent of
12281 * `contentWidth` (that is, the width without
12282 * `padding`) of its container box.
12283 * It is based on `contentWidth` because that
12284 * each text fregment is layout based on the
12285 * `content box`, where it makes no sense that
12286 * calculating width based on `outerWith` in
12287 * prectice.
12288 *
12289 * Notice, `width` and `height` only work when
12290 * `rich` specified.
12291 *
12292 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.width
12293 */
12294 width?: number | string | undefined;
12295
12296 /**
12297 * Height of the text block.
12298 * It is the width of the text by default.
12299 * You may want to use it in some cases like
12300 * using background image (see `backgroundColor`).
12301 *
12302 * Notice, `width` and `height` specifies the
12303 * width and height of the content, without
12304 * `padding`.
12305 *
12306 * Notice, `width` and `height` only work when
12307 * `rich` specified.
12308 *
12309 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.height
12310 */
12311 height?: number | string | undefined;
12312
12313 /**
12314 * Storke color of the text.
12315 *
12316 * If set as `'auto'`, the color will assigned
12317 * as visual color, such as series color.
12318 *
12319 * @default
12320 * "transparent"
12321 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textBorderColor
12322 */
12323 textBorderColor?: string | undefined;
12324
12325 /**
12326 * Storke line width of the text.
12327 *
12328 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textBorderWidth
12329 */
12330 textBorderWidth?: number | undefined;
12331
12332 /**
12333 * Shadow color of the text itself.
12334 *
12335 * @default
12336 * "transparent"
12337 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowColor
12338 */
12339 textShadowColor?: string | undefined;
12340
12341 /**
12342 * Shadow blue of the text itself.
12343 *
12344 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowBlur
12345 */
12346 textShadowBlur?: number | undefined;
12347
12348 /**
12349 * Shadow X offset of the text itself.
12350 *
12351 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowOffsetX
12352 */
12353 textShadowOffsetX?: number | undefined;
12354
12355 /**
12356 * Shadow Y offset of the text itself.
12357 *
12358 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.textShadowOffsetY
12359 */
12360 textShadowOffsetY?: number | undefined;
12361
12362 /**
12363 * "Rich text styles" can be defined in this
12364 * `rich` property. For example:
12365 *
12366 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis)
12367 *
12368 * For more details, see
12369 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
12370 * please.
12371 *
12372 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich
12373 */
12374 rich?: {
12375 /**
12376 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
12377 */
12378 [userStyle: string]: {
12379 /**
12380 * text color.
12381 *
12382 * If set as `'auto'`, the color will
12383 * assigned as visual color, such as
12384 * series color.
12385 *
12386 * @default
12387 * ""#fff""
12388 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
12389 */
12390 color?: string | undefined;
12391
12392 /**
12393 * font style
12394 *
12395 * Options are:
12396 *
12397 * + `'normal'`
12398 * + `'italic'`
12399 * + `'oblique'`
12400 *
12401 * @default
12402 * "normal"
12403 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
12404 */
12405 fontStyle?: string | undefined;
12406
12407 /**
12408 * font thick weight
12409 *
12410 * Options are:
12411 *
12412 * + `'normal'`
12413 * + `'bold'`
12414 * + `'bolder'`
12415 * + `'lighter'`
12416 * + 100 | 200 | 300 | 400...
12417 *
12418 * @default
12419 * "normal"
12420 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
12421 */
12422 fontWeight?: string | number | undefined;
12423
12424 /**
12425 * font family
12426 *
12427 * Can also be 'serif' , 'monospace',
12428 * ...
12429 *
12430 * @default
12431 * "sans-serif"
12432 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
12433 */
12434 fontFamily?: string | undefined;
12435
12436 /**
12437 * font size
12438 *
12439 * @default
12440 * 12
12441 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
12442 */
12443 fontSize?: number | undefined;
12444
12445 /**
12446 * Horizontal alignment of text, automatic
12447 * by default.
12448 *
12449 * Options are:
12450 *
12451 * + `'left'`
12452 * + `'center'`
12453 * + `'right'`
12454 *
12455 * If `align` is not set in `rich`,
12456 * `align` in parent level will be used.
12457 * For example:
12458 *
12459 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
12460 *
12461 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
12462 */
12463 align?: string | undefined;
12464
12465 /**
12466 * Vertical alignment of text, automatic
12467 * by default.
12468 *
12469 * Options are:
12470 *
12471 * + `'top'`
12472 * + `'middle'`
12473 * + `'bottom'`
12474 *
12475 * If `verticalAlign` is not set in
12476 * `rich`, `verticalAlign` in parent
12477 * level will be used. For example:
12478 *
12479 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
12480 *
12481 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
12482 */
12483 verticalAlign?: string | undefined;
12484
12485 /**
12486 * Line height of the text fregment.
12487 *
12488 * If `lineHeight` is not set in `rich`,
12489 * `lineHeight` in parent level will
12490 * be used. For example:
12491 *
12492 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
12493 *
12494 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
12495 */
12496 lineHeight?: number | undefined;
12497
12498 /**
12499 * Background color of the text fregment.
12500 *
12501 * Can be color string, like `'#123234'`,
12502 * `'red'`, `rgba(0,23,11,0.3)'`.
12503 *
12504 * Or image can be used, for example:
12505 *
12506 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
12507 *
12508 * `width` or `height` can be specified
12509 * when using background image, or auto
12510 * adapted by default.
12511 *
12512 * If set as `'auto'`, the color will
12513 * assigned as visual color, such as
12514 * series color.
12515 *
12516 * @default
12517 * "transparent"
12518 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
12519 */
12520 backgroundColor?: object | string | undefined;
12521
12522 /**
12523 * Border color of the text fregment.
12524 *
12525 * If set as `'auto'`, the color will
12526 * assigned as visual color, such as
12527 * series color.
12528 *
12529 * @default
12530 * "transparent"
12531 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
12532 */
12533 borderColor?: string | undefined;
12534
12535 /**
12536 * Border width of the text fregment.
12537 *
12538 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
12539 */
12540 borderWidth?: number | undefined;
12541
12542 /**
12543 * Border radius of the text fregment.
12544 *
12545 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
12546 */
12547 borderRadius?: number | undefined;
12548
12549 /**
12550 * Padding of the text fregment, for
12551 * example:
12552 *
12553 * + `padding: [3, 4, 5, 6]`: represents
12554 * padding of `[top, right, bottom,
12555 * left]`.
12556 * + `padding: 4`: represents `padding:
12557 * [4, 4, 4, 4]`.
12558 * + `padding: [3, 4]`: represents `padding:
12559 * [3, 4, 3, 4]`.
12560 *
12561 * Notice, `width` and `height` specifies
12562 * the width and height of the content,
12563 * without `padding`.
12564 *
12565 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
12566 */
12567 padding?: any[] | number | undefined;
12568
12569 /**
12570 * Shadow color of the text block.
12571 *
12572 * @default
12573 * "transparent"
12574 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
12575 */
12576 shadowColor?: string | undefined;
12577
12578 /**
12579 * Show blur of the text block.
12580 *
12581 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
12582 */
12583 shadowBlur?: number | undefined;
12584
12585 /**
12586 * Shadow X offset of the text block.
12587 *
12588 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
12589 */
12590 shadowOffsetX?: number | undefined;
12591
12592 /**
12593 * Shadow Y offset of the text block.
12594 *
12595 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
12596 */
12597 shadowOffsetY?: number | undefined;
12598
12599 /**
12600 * Width of the text block.
12601 * It is the width of the text by default.
12602 * In most cases, there is no need to
12603 * specify it.
12604 * You may want to use it in some cases
12605 * like make simple table or using background
12606 * image (see `backgroundColor`).
12607 *
12608 * Notice, `width` and `height` specifies
12609 * the width and height of the content,
12610 * without `padding`.
12611 *
12612 * `width` can also be percent string,
12613 * like `'100%'`, which represents the
12614 * percent of `contentWidth` (that is,
12615 * the width without `padding`) of its
12616 * container box.
12617 * It is based on `contentWidth` because
12618 * that each text fregment is layout
12619 * based on the `content box`, where
12620 * it makes no sense that calculating
12621 * width based on `outerWith` in prectice.
12622 *
12623 * Notice, `width` and `height` only
12624 * work when `rich` specified.
12625 *
12626 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
12627 */
12628 width?: number | string | undefined;
12629
12630 /**
12631 * Height of the text block.
12632 * It is the width of the text by default.
12633 * You may want to use it in some cases
12634 * like using background image (see
12635 * `backgroundColor`).
12636 *
12637 * Notice, `width` and `height` specifies
12638 * the width and height of the content,
12639 * without `padding`.
12640 *
12641 * Notice, `width` and `height` only
12642 * work when `rich` specified.
12643 *
12644 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
12645 */
12646 height?: number | string | undefined;
12647
12648 /**
12649 * Storke color of the text.
12650 *
12651 * If set as `'auto'`, the color will
12652 * assigned as visual color, such as
12653 * series color.
12654 *
12655 * @default
12656 * "transparent"
12657 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
12658 */
12659 textBorderColor?: string | undefined;
12660
12661 /**
12662 * Storke line width of the text.
12663 *
12664 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
12665 */
12666 textBorderWidth?: number | undefined;
12667
12668 /**
12669 * Shadow color of the text itself.
12670 *
12671 * @default
12672 * "transparent"
12673 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
12674 */
12675 textShadowColor?: string | undefined;
12676
12677 /**
12678 * Shadow blue of the text itself.
12679 *
12680 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
12681 */
12682 textShadowBlur?: number | undefined;
12683
12684 /**
12685 * Shadow X offset of the text itself.
12686 *
12687 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
12688 */
12689 textShadowOffsetX?: number | undefined;
12690
12691 /**
12692 * Shadow Y offset of the text itself.
12693 *
12694 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.data.1.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
12695 */
12696 textShadowOffsetY?: number | undefined;
12697 };
12698 } | undefined;
12699 } | undefined;
12700 } | undefined;
12701 } | undefined;
12702 } | undefined;
12703
12704 /**
12705 * Whether to enable animation.
12706 *
12707 * @default
12708 * "true"
12709 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animation
12710 */
12711 animation?: boolean | undefined;
12712
12713 /**
12714 * Whether to set graphic number threshold to animation.
12715 * Animation will be disabled when graphic number is larger
12716 * than threshold.
12717 *
12718 * @default
12719 * 2000
12720 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationThreshold
12721 */
12722 animationThreshold?: number | undefined;
12723
12724 /**
12725 * Duration of the first animation, which supports callback
12726 * function for different data to have different animation effect:
12727 *
12728 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
12729 *
12730 * @default
12731 * 1000
12732 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDuration
12733 */
12734 animationDuration?: Function | number | undefined;
12735
12736 /**
12737 * Easing method used for the first animation.
12738 * Varied easing effects can be found at
12739 * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
12740 * .
12741 *
12742 * @default
12743 * "cubicOut"
12744 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationEasing
12745 */
12746 animationEasing?: string | undefined;
12747
12748 /**
12749 * Delay before updating the first animation, which supports
12750 * callback function for different data to have different animation
12751 * effect.
12752 *
12753 * For example:
12754 *
12755 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
12756 *
12757 * See
12758 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
12759 * for more information.
12760 *
12761 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDelay
12762 */
12763 animationDelay?: Function | number | undefined;
12764
12765 /**
12766 * Time for animation to complete, which supports callback function
12767 * for different data to have different animation effect:
12768 *
12769 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
12770 *
12771 * @default
12772 * 300
12773 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDurationUpdate
12774 */
12775 animationDurationUpdate?: Function | number | undefined;
12776
12777 /**
12778 * Easing method used for animation.
12779 *
12780 * @default
12781 * "cubicOut"
12782 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationEasingUpdate
12783 */
12784 animationEasingUpdate?: string | undefined;
12785
12786 /**
12787 * Delay before updating animation, which supports callback
12788 * function for different data to have different animation effect.
12789 *
12790 * For example:
12791 *
12792 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.markArea)
12793 *
12794 * See
12795 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
12796 * for more information.
12797 *
12798 * @see https://echarts.apache.org/en/option.html#series-bar.markArea.animationDelayUpdate
12799 */
12800 animationDelayUpdate?: Function | number | undefined;
12801 } | undefined;
12802
12803 /**
12804 * If clip the overflow on the coordinate system. Clip results varies between series:
12805 *
12806 * Scatter/EffectScatter:Ignore the symbols exceeds the coordinate system. Not clip the elements.
12807 * Bar:Clip all the overflowed. With bar width kept.
12808 * Line:Clip the overflowed line.
12809 * Lines: Clip all the overflowed.
12810 * Candlestick: Ignore the elements exceeds the coordinate system.
12811 * Custom: Clip all the olverflowed.
12812 *
12813 * All these series have default value true except custom series. Set it to false if you don't want to clip.
12814 *
12815 * @see https://echarts.apache.org/en/option.html#series-bar.clip
12816 */
12817 clip?: boolean | undefined;
12818
12819 /**
12820 * `zlevel` value of all graghical elements in bar chart.
12821 *
12822 * `zlevel` is used to make layers with Canvas.
12823 * Graphical elements with different `zlevel` values will be placed
12824 * in different Canvases, which is a common optimization technique.
12825 * We can put those frequently changed elements (like those with
12826 * animations) to a seperate `zlevel`.
12827 * Notice that too many Canvases will increase memory cost, and
12828 * should be used carefully on mobile phones to avoid crash.
12829 *
12830 * Canvases with bigger `zlevel` will be placed on Canvases with
12831 * smaller `zlevel`.
12832 *
12833 * @see https://echarts.apache.org/en/option.html#series-bar.zlevel
12834 */
12835 zlevel?: number | undefined;
12836
12837 /**
12838 * `z` value of all graghical elements in bar chart, which controls
12839 * order of drawing graphical components.
12840 * Components with smaller `z` values may be overwritten by those
12841 * with larger `z` values.
12842 *
12843 * `z` has a lower priority to `zlevel`, and will not create new
12844 * Canvas.
12845 *
12846 * @default
12847 * 2
12848 * @see https://echarts.apache.org/en/option.html#series-bar.z
12849 */
12850 z?: number | undefined;
12851
12852 /**
12853 * Whether to enable animation.
12854 *
12855 * @default
12856 * "true"
12857 * @see https://echarts.apache.org/en/option.html#series-bar.animation
12858 */
12859 animation?: boolean | undefined;
12860
12861 /**
12862 * Whether to set graphic number threshold to animation.
12863 * Animation will be disabled when graphic number is larger than
12864 * threshold.
12865 *
12866 * @default
12867 * 2000
12868 * @see https://echarts.apache.org/en/option.html#series-bar.animationThreshold
12869 */
12870 animationThreshold?: number | undefined;
12871
12872 /**
12873 * Duration of the first animation, which supports callback function
12874 * for different data to have different animation effect:
12875 *
12876 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
12877 *
12878 * @default
12879 * 1000
12880 * @see https://echarts.apache.org/en/option.html#series-bar.animationDuration
12881 */
12882 animationDuration?: Function | number | undefined;
12883
12884 /**
12885 * Easing method used for the first animation.
12886 * Varied easing effects can be found at
12887 * [easing effect example](https://echarts.apache.org/examples/en/editor.html?c=line-easing)
12888 * .
12889 *
12890 * @default
12891 * "cubicOut"
12892 * @see https://echarts.apache.org/en/option.html#series-bar.animationEasing
12893 */
12894 animationEasing?: string | undefined;
12895
12896 /**
12897 * Delay before updating the first animation, which supports callback
12898 * function for different data to have different animation effect.
12899 *
12900 * For example:
12901 *
12902 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
12903 *
12904 * See
12905 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
12906 * for more information.
12907 *
12908 * @see https://echarts.apache.org/en/option.html#series-bar.animationDelay
12909 */
12910 animationDelay?: Function | number | undefined;
12911
12912 /**
12913 * Time for animation to complete, which supports callback function
12914 * for different data to have different animation effect:
12915 *
12916 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
12917 *
12918 * @default
12919 * 300
12920 * @see https://echarts.apache.org/en/option.html#series-bar.animationDurationUpdate
12921 */
12922 animationDurationUpdate?: Function | number | undefined;
12923
12924 /**
12925 * Easing method used for animation.
12926 *
12927 * @default
12928 * "cubicOut"
12929 * @see https://echarts.apache.org/en/option.html#series-bar.animationEasingUpdate
12930 */
12931 animationEasingUpdate?: string | undefined;
12932
12933 /**
12934 * Delay before updating animation, which supports callback function
12935 * for different data to have different animation effect.
12936 *
12937 * For example:
12938 *
12939 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar)
12940 *
12941 * See
12942 * [this example](https://echarts.apache.org/examples/en/editor.html?c=bar-animation-delay)
12943 * for more information.
12944 *
12945 * @see https://echarts.apache.org/en/option.html#series-bar.animationDelayUpdate
12946 */
12947 animationDelayUpdate?: Function | number | undefined;
12948
12949 /**
12950 * tooltip settings in this series.
12951 *
12952 * @see https://echarts.apache.org/en/option.html#series-bar.tooltip
12953 */
12954 tooltip?: BaseTooltip | undefined;
12955 }
12956
12957 namespace SeriesBar {
12958 interface DataObject {
12959 /**
12960 * The name of data item.
12961 *
12962 * @see https://echarts.apache.org/en/option.html#series-bar.data.name
12963 */
12964 name?: string | undefined;
12965
12966 /**
12967 * The value of a single data item.
12968 *
12969 * @see https://echarts.apache.org/en/option.html#series-bar.data.value
12970 */
12971 value?: number | undefined;
12972
12973 /**
12974 * The style setting of the text label in a single bar.
12975 *
12976 * @see https://echarts.apache.org/en/option.html#series-bar.data.label
12977 */
12978 label?: {
12979 /**
12980 * Whether to show label.
12981 *
12982 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.show
12983 */
12984 show?: boolean | undefined;
12985
12986 /**
12987 * Label position.
12988 *
12989 * **Followings are the options:**
12990 *
12991 * + \[x, y\]
12992 *
12993 * Use relative percentage, or absolute pixel values to
12994 * represent position of label relative to top-left corner
12995 * of bounding box. For example:
12996 *
12997 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
12998 *
12999 * + 'top'
13000 *
13001 * + 'left'
13002 * + 'right'
13003 * + 'bottom'
13004 * + 'inside'
13005 * + 'insideLeft'
13006 * + 'insideRight'
13007 * + 'insideTop'
13008 * + 'insideBottom'
13009 * + 'insideTopLeft'
13010 * + 'insideBottomLeft'
13011 * + 'insideTopRight'
13012 * + 'insideBottomRight'
13013 *
13014 * See:
13015 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
13016 * .
13017 *
13018 * @default
13019 * "inside"
13020 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.position
13021 */
13022 position?: any[] | string | undefined;
13023
13024 /**
13025 * Distance to the host graphic element.
13026 * Works when position is string value (like `'top'`、`'insideRight'`).
13027 *
13028 * See:
13029 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
13030 * .
13031 *
13032 * @default
13033 * 5
13034 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.distance
13035 */
13036 distance?: number | undefined;
13037
13038 /**
13039 * Rotate label, from -90 degree to 90, positive value represents
13040 * rotate anti-clockwise.
13041 *
13042 * See:
13043 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
13044 * .
13045 *
13046 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rotate
13047 */
13048 rotate?: number | undefined;
13049
13050 /**
13051 * Whether to move text slightly.
13052 * For example: `[30, 40]` means move `30` horizontally
13053 * and move `40` vertically.
13054 *
13055 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.offset
13056 */
13057 offset?: any[] | undefined;
13058
13059 /**
13060 * text color.
13061 *
13062 * If set as `'auto'`, the color will assigned as visual
13063 * color, such as series color.
13064 *
13065 * @default
13066 * ""#fff""
13067 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.color
13068 */
13069 color?: string | undefined;
13070
13071 /**
13072 * font style
13073 *
13074 * Options are:
13075 *
13076 * + `'normal'`
13077 * + `'italic'`
13078 * + `'oblique'`
13079 *
13080 * @default
13081 * "normal"
13082 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontStyle
13083 */
13084 fontStyle?: string | undefined;
13085
13086 /**
13087 * font thick weight
13088 *
13089 * Options are:
13090 *
13091 * + `'normal'`
13092 * + `'bold'`
13093 * + `'bolder'`
13094 * + `'lighter'`
13095 * + 100 | 200 | 300 | 400...
13096 *
13097 * @default
13098 * "normal"
13099 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontWeight
13100 */
13101 fontWeight?: string | number | undefined;
13102
13103 /**
13104 * font family
13105 *
13106 * Can also be 'serif' , 'monospace', ...
13107 *
13108 * @default
13109 * "sans-serif"
13110 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontFamily
13111 */
13112 fontFamily?: string | undefined;
13113
13114 /**
13115 * font size
13116 *
13117 * @default
13118 * 12
13119 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.fontSize
13120 */
13121 fontSize?: number | undefined;
13122
13123 /**
13124 * Horizontal alignment of text, automatic by default.
13125 *
13126 * Options are:
13127 *
13128 * + `'left'`
13129 * + `'center'`
13130 * + `'right'`
13131 *
13132 * If `align` is not set in `rich`, `align` in parent level
13133 * will be used. For example:
13134 *
13135 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
13136 *
13137 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.align
13138 */
13139 align?: string | undefined;
13140
13141 /**
13142 * Vertical alignment of text, automatic by default.
13143 *
13144 * Options are:
13145 *
13146 * + `'top'`
13147 * + `'middle'`
13148 * + `'bottom'`
13149 *
13150 * If `verticalAlign` is not set in `rich`, `verticalAlign`
13151 * in parent level will be used. For example:
13152 *
13153 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
13154 *
13155 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.verticalAlign
13156 */
13157 verticalAlign?: string | undefined;
13158
13159 /**
13160 * Line height of the text fregment.
13161 *
13162 * If `lineHeight` is not set in `rich`, `lineHeight` in
13163 * parent level will be used. For example:
13164 *
13165 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
13166 *
13167 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.lineHeight
13168 */
13169 lineHeight?: number | undefined;
13170
13171 /**
13172 * Background color of the text fregment.
13173 *
13174 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
13175 *
13176 * Or image can be used, for example:
13177 *
13178 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
13179 *
13180 * `width` or `height` can be specified when using background
13181 * image, or auto adapted by default.
13182 *
13183 * If set as `'auto'`, the color will assigned as visual
13184 * color, such as series color.
13185 *
13186 * @default
13187 * "transparent"
13188 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.backgroundColor
13189 */
13190 backgroundColor?: object | string | undefined;
13191
13192 /**
13193 * Border color of the text fregment.
13194 *
13195 * If set as `'auto'`, the color will assigned as visual
13196 * color, such as series color.
13197 *
13198 * @default
13199 * "transparent"
13200 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.borderColor
13201 */
13202 borderColor?: string | undefined;
13203
13204 /**
13205 * Border width of the text fregment.
13206 *
13207 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.borderWidth
13208 */
13209 borderWidth?: number | undefined;
13210
13211 /**
13212 * Border radius of the text fregment.
13213 *
13214 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.borderRadius
13215 */
13216 borderRadius?: number | undefined;
13217
13218 /**
13219 * Padding of the text fregment, for example:
13220 *
13221 * + `padding: [3, 4, 5, 6]`: represents padding of `[top,
13222 * right, bottom, left]`.
13223 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
13224 * + `padding: [3, 4]`: represents `padding: [3, 4, 3, 4]`.
13225 *
13226 * Notice, `width` and `height` specifies the width and
13227 * height of the content, without `padding`.
13228 *
13229 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.padding
13230 */
13231 padding?: any[] | number | undefined;
13232
13233 /**
13234 * Shadow color of the text block.
13235 *
13236 * @default
13237 * "transparent"
13238 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowColor
13239 */
13240 shadowColor?: string | undefined;
13241
13242 /**
13243 * Show blur of the text block.
13244 *
13245 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowBlur
13246 */
13247 shadowBlur?: number | undefined;
13248
13249 /**
13250 * Shadow X offset of the text block.
13251 *
13252 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowOffsetX
13253 */
13254 shadowOffsetX?: number | undefined;
13255
13256 /**
13257 * Shadow Y offset of the text block.
13258 *
13259 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.shadowOffsetY
13260 */
13261 shadowOffsetY?: number | undefined;
13262
13263 /**
13264 * Width of the text block.
13265 * It is the width of the text by default.
13266 * In most cases, there is no need to specify it.
13267 * You may want to use it in some cases like make simple
13268 * table or using background image (see `backgroundColor`).
13269 *
13270 * Notice, `width` and `height` specifies the width and
13271 * height of the content, without `padding`.
13272 *
13273 * `width` can also be percent string, like `'100%'`, which
13274 * represents the percent of `contentWidth` (that is, the
13275 * width without `padding`) of its container box.
13276 * It is based on `contentWidth` because that each text
13277 * fregment is layout based on the `content box`, where
13278 * it makes no sense that calculating width based on `outerWith`
13279 * in prectice.
13280 *
13281 * Notice, `width` and `height` only work when `rich` specified.
13282 *
13283 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.width
13284 */
13285 width?: number | string | undefined;
13286
13287 /**
13288 * Height of the text block.
13289 * It is the width of the text by default.
13290 * You may want to use it in some cases like using background
13291 * image (see `backgroundColor`).
13292 *
13293 * Notice, `width` and `height` specifies the width and
13294 * height of the content, without `padding`.
13295 *
13296 * Notice, `width` and `height` only work when `rich` specified.
13297 *
13298 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.height
13299 */
13300 height?: number | string | undefined;
13301
13302 /**
13303 * Storke color of the text.
13304 *
13305 * If set as `'auto'`, the color will assigned as visual
13306 * color, such as series color.
13307 *
13308 * @default
13309 * "transparent"
13310 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textBorderColor
13311 */
13312 textBorderColor?: string | undefined;
13313
13314 /**
13315 * Storke line width of the text.
13316 *
13317 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textBorderWidth
13318 */
13319 textBorderWidth?: number | undefined;
13320
13321 /**
13322 * Shadow color of the text itself.
13323 *
13324 * @default
13325 * "transparent"
13326 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowColor
13327 */
13328 textShadowColor?: string | undefined;
13329
13330 /**
13331 * Shadow blue of the text itself.
13332 *
13333 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowBlur
13334 */
13335 textShadowBlur?: number | undefined;
13336
13337 /**
13338 * Shadow X offset of the text itself.
13339 *
13340 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowOffsetX
13341 */
13342 textShadowOffsetX?: number | undefined;
13343
13344 /**
13345 * Shadow Y offset of the text itself.
13346 *
13347 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.textShadowOffsetY
13348 */
13349 textShadowOffsetY?: number | undefined;
13350
13351 /**
13352 * "Rich text styles" can be defined in this `rich` property.
13353 * For example:
13354 *
13355 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label)
13356 *
13357 * For more details, see
13358 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
13359 * please.
13360 *
13361 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich
13362 */
13363 rich?: {
13364 /**
13365 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E
13366 */
13367 [userStyle: string]: {
13368 /**
13369 * text color.
13370 *
13371 * If set as `'auto'`, the color will assigned as
13372 * visual color, such as series color.
13373 *
13374 * @default
13375 * ""#fff""
13376 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.color
13377 */
13378 color?: string | undefined;
13379
13380 /**
13381 * font style
13382 *
13383 * Options are:
13384 *
13385 * + `'normal'`
13386 * + `'italic'`
13387 * + `'oblique'`
13388 *
13389 * @default
13390 * "normal"
13391 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
13392 */
13393 fontStyle?: string | undefined;
13394
13395 /**
13396 * font thick weight
13397 *
13398 * Options are:
13399 *
13400 * + `'normal'`
13401 * + `'bold'`
13402 * + `'bolder'`
13403 * + `'lighter'`
13404 * + 100 | 200 | 300 | 400...
13405 *
13406 * @default
13407 * "normal"
13408 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
13409 */
13410 fontWeight?: string | number | undefined;
13411
13412 /**
13413 * font family
13414 *
13415 * Can also be 'serif' , 'monospace', ...
13416 *
13417 * @default
13418 * "sans-serif"
13419 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
13420 */
13421 fontFamily?: string | undefined;
13422
13423 /**
13424 * font size
13425 *
13426 * @default
13427 * 12
13428 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.fontSize
13429 */
13430 fontSize?: number | undefined;
13431
13432 /**
13433 * Horizontal alignment of text, automatic by default.
13434 *
13435 * Options are:
13436 *
13437 * + `'left'`
13438 * + `'center'`
13439 * + `'right'`
13440 *
13441 * If `align` is not set in `rich`, `align` in parent
13442 * level will be used. For example:
13443 *
13444 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.rich.%3Cuser%20defined%20style%20name%3E)
13445 *
13446 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.align
13447 */
13448 align?: string | undefined;
13449
13450 /**
13451 * Vertical alignment of text, automatic by default.
13452 *
13453 * Options are:
13454 *
13455 * + `'top'`
13456 * + `'middle'`
13457 * + `'bottom'`
13458 *
13459 * If `verticalAlign` is not set in `rich`, `verticalAlign`
13460 * in parent level will be used. For example:
13461 *
13462 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.rich.%3Cuser%20defined%20style%20name%3E)
13463 *
13464 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
13465 */
13466 verticalAlign?: string | undefined;
13467
13468 /**
13469 * Line height of the text fregment.
13470 *
13471 * If `lineHeight` is not set in `rich`, `lineHeight`
13472 * in parent level will be used. For example:
13473 *
13474 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.rich.%3Cuser%20defined%20style%20name%3E)
13475 *
13476 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.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'`, `'red'`,
13484 * `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.data.label.rich.%3Cuser%20defined%20style%20name%3E)
13489 *
13490 * `width` or `height` can be specified when using
13491 * background image, or auto adapted by default.
13492 *
13493 * If set as `'auto'`, the color will assigned as
13494 * visual color, such as series color.
13495 *
13496 * @default
13497 * "transparent"
13498 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
13499 */
13500 backgroundColor?: object | string | undefined;
13501
13502 /**
13503 * Border color of the text fregment.
13504 *
13505 * If set as `'auto'`, the color will assigned as
13506 * visual color, such as series color.
13507 *
13508 * @default
13509 * "transparent"
13510 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderColor
13511 */
13512 borderColor?: string | undefined;
13513
13514 /**
13515 * Border width of the text fregment.
13516 *
13517 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
13518 */
13519 borderWidth?: number | undefined;
13520
13521 /**
13522 * Border radius of the text fregment.
13523 *
13524 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
13525 */
13526 borderRadius?: number | undefined;
13527
13528 /**
13529 * Padding of the text fregment, for example:
13530 *
13531 * + `padding: [3, 4, 5, 6]`: represents padding
13532 * of `[top, right, bottom, left]`.
13533 * + `padding: 4`: represents `padding: [4, 4, 4,
13534 * 4]`.
13535 * + `padding: [3, 4]`: represents `padding: [3,
13536 * 4, 3, 4]`.
13537 *
13538 * Notice, `width` and `height` specifies the width
13539 * and height of the content, without `padding`.
13540 *
13541 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.padding
13542 */
13543 padding?: any[] | number | undefined;
13544
13545 /**
13546 * Shadow color of the text block.
13547 *
13548 * @default
13549 * "transparent"
13550 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
13551 */
13552 shadowColor?: string | undefined;
13553
13554 /**
13555 * Show blur of the text block.
13556 *
13557 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
13558 */
13559 shadowBlur?: number | undefined;
13560
13561 /**
13562 * Shadow X offset of the text block.
13563 *
13564 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
13565 */
13566 shadowOffsetX?: number | undefined;
13567
13568 /**
13569 * Shadow Y offset of the text block.
13570 *
13571 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
13572 */
13573 shadowOffsetY?: number | undefined;
13574
13575 /**
13576 * Width of the text block.
13577 * It is the width of the text by default.
13578 * In most cases, there is no need to specify it.
13579 * You may want to use it in some cases like make
13580 * simple table or using background image (see `backgroundColor`).
13581 *
13582 * Notice, `width` and `height` specifies the width
13583 * and height of the content, without `padding`.
13584 *
13585 * `width` can also be percent string, like `'100%'`,
13586 * which represents the percent of `contentWidth`
13587 * (that is, the width without `padding`) of its
13588 * container box.
13589 * It is based on `contentWidth` because that each
13590 * text fregment is layout based on the `content
13591 * box`, where it makes no sense that calculating
13592 * width based on `outerWith` in prectice.
13593 *
13594 * Notice, `width` and `height` only work when `rich`
13595 * specified.
13596 *
13597 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.width
13598 */
13599 width?: number | string | undefined;
13600
13601 /**
13602 * Height of the text block.
13603 * It is the width of the text by default.
13604 * You may want to use it in some cases like using
13605 * background image (see `backgroundColor`).
13606 *
13607 * Notice, `width` and `height` specifies the width
13608 * and height of the content, without `padding`.
13609 *
13610 * Notice, `width` and `height` only work when `rich`
13611 * specified.
13612 *
13613 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.height
13614 */
13615 height?: number | string | undefined;
13616
13617 /**
13618 * Storke color of the text.
13619 *
13620 * If set as `'auto'`, the color will assigned as
13621 * visual color, such as series color.
13622 *
13623 * @default
13624 * "transparent"
13625 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
13626 */
13627 textBorderColor?: string | undefined;
13628
13629 /**
13630 * Storke line width of the text.
13631 *
13632 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
13633 */
13634 textBorderWidth?: number | undefined;
13635
13636 /**
13637 * Shadow color of the text itself.
13638 *
13639 * @default
13640 * "transparent"
13641 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
13642 */
13643 textShadowColor?: string | undefined;
13644
13645 /**
13646 * Shadow blue of the text itself.
13647 *
13648 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
13649 */
13650 textShadowBlur?: number | undefined;
13651
13652 /**
13653 * Shadow X offset of the text itself.
13654 *
13655 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
13656 */
13657 textShadowOffsetX?: number | undefined;
13658
13659 /**
13660 * Shadow Y offset of the text itself.
13661 *
13662 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
13663 */
13664 textShadowOffsetY?: number | undefined;
13665 };
13666 } | undefined;
13667
13668 /**
13669 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis
13670 */
13671 emphasis?: {
13672 /**
13673 * Whether to show label.
13674 *
13675 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.show
13676 */
13677 show?: boolean | undefined;
13678
13679 /**
13680 * Label position.
13681 *
13682 * **Followings are the options:**
13683 *
13684 * + \[x, y\]
13685 *
13686 * Use relative percentage, or absolute pixel values
13687 * to represent position of label relative to top-left
13688 * corner of bounding box. For example:
13689 *
13690 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
13691 *
13692 * + 'top'
13693 *
13694 * + 'left'
13695 * + 'right'
13696 * + 'bottom'
13697 * + 'inside'
13698 * + 'insideLeft'
13699 * + 'insideRight'
13700 * + 'insideTop'
13701 * + 'insideBottom'
13702 * + 'insideTopLeft'
13703 * + 'insideBottomLeft'
13704 * + 'insideTopRight'
13705 * + 'insideBottomRight'
13706 *
13707 * See:
13708 * [label position](https://echarts.apache.org/examples/en/view.html?c=doc-example/label-position)
13709 * .
13710 *
13711 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.position
13712 */
13713 position?: any[] | string | undefined;
13714
13715 /**
13716 * Distance to the host graphic element.
13717 * Works when position is string value (like `'top'`、`'insideRight'`).
13718 *
13719 * See:
13720 * [label position](https://echarts.apache.org/examples/en/editor.html?c=doc-example/label-position)
13721 * .
13722 *
13723 * @default
13724 * 5
13725 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.distance
13726 */
13727 distance?: number | undefined;
13728
13729 /**
13730 * Rotate label, from -90 degree to 90, positive value
13731 * represents rotate anti-clockwise.
13732 *
13733 * See:
13734 * [label rotation](https://echarts.apache.org/examples/en/editor.html?c=bar-label-rotation)
13735 * .
13736 *
13737 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rotate
13738 */
13739 rotate?: number | undefined;
13740
13741 /**
13742 * Whether to move text slightly.
13743 * For example: `[30, 40]` means move `30` horizontally
13744 * and move `40` vertically.
13745 *
13746 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.offset
13747 */
13748 offset?: any[] | undefined;
13749
13750 /**
13751 * text color.
13752 *
13753 * If set as `'auto'`, the color will assigned as visual
13754 * color, such as series color.
13755 *
13756 * @default
13757 * ""#fff""
13758 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.color
13759 */
13760 color?: string | undefined;
13761
13762 /**
13763 * font style
13764 *
13765 * Options are:
13766 *
13767 * + `'normal'`
13768 * + `'italic'`
13769 * + `'oblique'`
13770 *
13771 * @default
13772 * "normal"
13773 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontStyle
13774 */
13775 fontStyle?: string | undefined;
13776
13777 /**
13778 * font thick weight
13779 *
13780 * Options are:
13781 *
13782 * + `'normal'`
13783 * + `'bold'`
13784 * + `'bolder'`
13785 * + `'lighter'`
13786 * + 100 | 200 | 300 | 400...
13787 *
13788 * @default
13789 * "normal"
13790 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontWeight
13791 */
13792 fontWeight?: string | number | undefined;
13793
13794 /**
13795 * font family
13796 *
13797 * Can also be 'serif' , 'monospace', ...
13798 *
13799 * @default
13800 * "sans-serif"
13801 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontFamily
13802 */
13803 fontFamily?: string | undefined;
13804
13805 /**
13806 * font size
13807 *
13808 * @default
13809 * 12
13810 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.fontSize
13811 */
13812 fontSize?: number | undefined;
13813
13814 /**
13815 * Horizontal alignment of text, automatic by default.
13816 *
13817 * Options are:
13818 *
13819 * + `'left'`
13820 * + `'center'`
13821 * + `'right'`
13822 *
13823 * If `align` is not set in `rich`, `align` in parent
13824 * level will be used. For example:
13825 *
13826 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
13827 *
13828 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.align
13829 */
13830 align?: string | undefined;
13831
13832 /**
13833 * Vertical alignment of text, automatic by default.
13834 *
13835 * Options are:
13836 *
13837 * + `'top'`
13838 * + `'middle'`
13839 * + `'bottom'`
13840 *
13841 * If `verticalAlign` is not set in `rich`, `verticalAlign`
13842 * in parent level will be used. For example:
13843 *
13844 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
13845 *
13846 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.verticalAlign
13847 */
13848 verticalAlign?: string | undefined;
13849
13850 /**
13851 * Line height of the text fregment.
13852 *
13853 * If `lineHeight` is not set in `rich`, `lineHeight`
13854 * in parent level will be used. For example:
13855 *
13856 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
13857 *
13858 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.lineHeight
13859 */
13860 lineHeight?: number | undefined;
13861
13862 /**
13863 * Background color of the text fregment.
13864 *
13865 * Can be color string, like `'#123234'`, `'red'`, `rgba(0,23,11,0.3)'`.
13866 *
13867 * Or image can be used, for example:
13868 *
13869 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
13870 *
13871 * `width` or `height` can be specified when using background
13872 * image, or auto adapted by default.
13873 *
13874 * If set as `'auto'`, the color will assigned as visual
13875 * color, such as series color.
13876 *
13877 * @default
13878 * "transparent"
13879 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.backgroundColor
13880 */
13881 backgroundColor?: object | string | undefined;
13882
13883 /**
13884 * Border color of the text fregment.
13885 *
13886 * If set as `'auto'`, the color will assigned as visual
13887 * color, such as series color.
13888 *
13889 * @default
13890 * "transparent"
13891 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.borderColor
13892 */
13893 borderColor?: string | undefined;
13894
13895 /**
13896 * Border width of the text fregment.
13897 *
13898 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.borderWidth
13899 */
13900 borderWidth?: number | undefined;
13901
13902 /**
13903 * Border radius of the text fregment.
13904 *
13905 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.borderRadius
13906 */
13907 borderRadius?: number | undefined;
13908
13909 /**
13910 * Padding of the text fregment, for example:
13911 *
13912 * + `padding: [3, 4, 5, 6]`: represents padding of
13913 * `[top, right, bottom, left]`.
13914 * + `padding: 4`: represents `padding: [4, 4, 4, 4]`.
13915 * + `padding: [3, 4]`: represents `padding: [3, 4,
13916 * 3, 4]`.
13917 *
13918 * Notice, `width` and `height` specifies the width
13919 * and height of the content, without `padding`.
13920 *
13921 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.padding
13922 */
13923 padding?: any[] | number | undefined;
13924
13925 /**
13926 * Shadow color of the text block.
13927 *
13928 * @default
13929 * "transparent"
13930 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowColor
13931 */
13932 shadowColor?: string | undefined;
13933
13934 /**
13935 * Show blur of the text block.
13936 *
13937 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowBlur
13938 */
13939 shadowBlur?: number | undefined;
13940
13941 /**
13942 * Shadow X offset of the text block.
13943 *
13944 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowOffsetX
13945 */
13946 shadowOffsetX?: number | undefined;
13947
13948 /**
13949 * Shadow Y offset of the text block.
13950 *
13951 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.shadowOffsetY
13952 */
13953 shadowOffsetY?: number | undefined;
13954
13955 /**
13956 * Width of the text block.
13957 * It is the width of the text by default.
13958 * In most cases, there is no need to specify it.
13959 * You may want to use it in some cases like make simple
13960 * table or using background image (see `backgroundColor`).
13961 *
13962 * Notice, `width` and `height` specifies the width
13963 * and height of the content, without `padding`.
13964 *
13965 * `width` can also be percent string, like `'100%'`,
13966 * which represents the percent of `contentWidth` (that
13967 * is, the width without `padding`) of its container
13968 * box.
13969 * It is based on `contentWidth` because that each text
13970 * fregment is layout based on the `content box`, where
13971 * it makes no sense that calculating width based on
13972 * `outerWith` in prectice.
13973 *
13974 * Notice, `width` and `height` only work when `rich`
13975 * specified.
13976 *
13977 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.width
13978 */
13979 width?: number | string | undefined;
13980
13981 /**
13982 * Height of the text block.
13983 * It is the width of the text by default.
13984 * You may want to use it in some cases like using background
13985 * image (see `backgroundColor`).
13986 *
13987 * Notice, `width` and `height` specifies the width
13988 * and height of the content, without `padding`.
13989 *
13990 * Notice, `width` and `height` only work when `rich`
13991 * specified.
13992 *
13993 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.height
13994 */
13995 height?: number | string | undefined;
13996
13997 /**
13998 * Storke color of the text.
13999 *
14000 * If set as `'auto'`, the color will assigned as visual
14001 * color, such as series color.
14002 *
14003 * @default
14004 * "transparent"
14005 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textBorderColor
14006 */
14007 textBorderColor?: string | undefined;
14008
14009 /**
14010 * Storke line width of the text.
14011 *
14012 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textBorderWidth
14013 */
14014 textBorderWidth?: number | undefined;
14015
14016 /**
14017 * Shadow color of the text itself.
14018 *
14019 * @default
14020 * "transparent"
14021 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowColor
14022 */
14023 textShadowColor?: string | undefined;
14024
14025 /**
14026 * Shadow blue of the text itself.
14027 *
14028 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowBlur
14029 */
14030 textShadowBlur?: number | undefined;
14031
14032 /**
14033 * Shadow X offset of the text itself.
14034 *
14035 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowOffsetX
14036 */
14037 textShadowOffsetX?: number | undefined;
14038
14039 /**
14040 * Shadow Y offset of the text itself.
14041 *
14042 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.textShadowOffsetY
14043 */
14044 textShadowOffsetY?: number | undefined;
14045
14046 /**
14047 * "Rich text styles" can be defined in this `rich`
14048 * property. For example:
14049 *
14050 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis)
14051 *
14052 * For more details, see
14053 * [Rich Text](https://echarts.apache.org/en/option.htmltutorial.html#Rich%20Text)
14054 * please.
14055 *
14056 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich
14057 */
14058 rich?: {
14059 /**
14060 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E
14061 */
14062 [userStyle: string]: {
14063 /**
14064 * text color.
14065 *
14066 * If set as `'auto'`, the color will assigned
14067 * as visual color, such as series color.
14068 *
14069 * @default
14070 * ""#fff""
14071 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.color
14072 */
14073 color?: string | undefined;
14074
14075 /**
14076 * font style
14077 *
14078 * Options are:
14079 *
14080 * + `'normal'`
14081 * + `'italic'`
14082 * + `'oblique'`
14083 *
14084 * @default
14085 * "normal"
14086 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontStyle
14087 */
14088 fontStyle?: string | undefined;
14089
14090 /**
14091 * font thick weight
14092 *
14093 * Options are:
14094 *
14095 * + `'normal'`
14096 * + `'bold'`
14097 * + `'bolder'`
14098 * + `'lighter'`
14099 * + 100 | 200 | 300 | 400...
14100 *
14101 * @default
14102 * "normal"
14103 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontWeight
14104 */
14105 fontWeight?: string | number | undefined;
14106
14107 /**
14108 * font family
14109 *
14110 * Can also be 'serif' , 'monospace', ...
14111 *
14112 * @default
14113 * "sans-serif"
14114 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontFamily
14115 */
14116 fontFamily?: string | undefined;
14117
14118 /**
14119 * font size
14120 *
14121 * @default
14122 * 12
14123 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.fontSize
14124 */
14125 fontSize?: number | undefined;
14126
14127 /**
14128 * Horizontal alignment of text, automatic by
14129 * default.
14130 *
14131 * Options are:
14132 *
14133 * + `'left'`
14134 * + `'center'`
14135 * + `'right'`
14136 *
14137 * If `align` is not set in `rich`, `align`
14138 * in parent level will be used.
14139 * For example:
14140 *
14141 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
14142 *
14143 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.align
14144 */
14145 align?: string | undefined;
14146
14147 /**
14148 * Vertical alignment of text, automatic by
14149 * default.
14150 *
14151 * Options are:
14152 *
14153 * + `'top'`
14154 * + `'middle'`
14155 * + `'bottom'`
14156 *
14157 * If `verticalAlign` is not set in `rich`,
14158 * `verticalAlign` in parent level will be used.
14159 * For example:
14160 *
14161 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
14162 *
14163 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.verticalAlign
14164 */
14165 verticalAlign?: string | undefined;
14166
14167 /**
14168 * Line height of the text fregment.
14169 *
14170 * If `lineHeight` is not set in `rich`, `lineHeight`
14171 * in parent level will be used.
14172 * For example:
14173 *
14174 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
14175 *
14176 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.lineHeight
14177 */
14178 lineHeight?: number | undefined;
14179
14180 /**
14181 * Background color of the text fregment.
14182 *
14183 * Can be color string, like `'#123234'`, `'red'`,
14184 * `rgba(0,23,11,0.3)'`.
14185 *
14186 * Or image can be used, for example:
14187 *
14188 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E)
14189 *
14190 * `width` or `height` can be specified when
14191 * using background image, or auto adapted by
14192 * default.
14193 *
14194 * If set as `'auto'`, the color will assigned
14195 * as visual color, such as series color.
14196 *
14197 * @default
14198 * "transparent"
14199 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.backgroundColor
14200 */
14201 backgroundColor?: object | string | undefined;
14202
14203 /**
14204 * Border color of the text fregment.
14205 *
14206 * If set as `'auto'`, the color will assigned
14207 * as visual color, such as series color.
14208 *
14209 * @default
14210 * "transparent"
14211 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderColor
14212 */
14213 borderColor?: string | undefined;
14214
14215 /**
14216 * Border width of the text fregment.
14217 *
14218 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderWidth
14219 */
14220 borderWidth?: number | undefined;
14221
14222 /**
14223 * Border radius of the text fregment.
14224 *
14225 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.borderRadius
14226 */
14227 borderRadius?: number | undefined;
14228
14229 /**
14230 * Padding of the text fregment, for example:
14231 *
14232 * + `padding: [3, 4, 5, 6]`: represents padding
14233 * of `[top, right, bottom, left]`.
14234 * + `padding: 4`: represents `padding: [4,
14235 * 4, 4, 4]`.
14236 * + `padding: [3, 4]`: represents `padding:
14237 * [3, 4, 3, 4]`.
14238 *
14239 * Notice, `width` and `height` specifies the
14240 * width and height of the content, without
14241 * `padding`.
14242 *
14243 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.padding
14244 */
14245 padding?: any[] | number | undefined;
14246
14247 /**
14248 * Shadow color of the text block.
14249 *
14250 * @default
14251 * "transparent"
14252 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowColor
14253 */
14254 shadowColor?: string | undefined;
14255
14256 /**
14257 * Show blur of the text block.
14258 *
14259 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowBlur
14260 */
14261 shadowBlur?: number | undefined;
14262
14263 /**
14264 * Shadow X offset of the text block.
14265 *
14266 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetX
14267 */
14268 shadowOffsetX?: number | undefined;
14269
14270 /**
14271 * Shadow Y offset of the text block.
14272 *
14273 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.shadowOffsetY
14274 */
14275 shadowOffsetY?: number | undefined;
14276
14277 /**
14278 * Width of the text block.
14279 * It is the width of the text by default.
14280 * In most cases, there is no need to specify
14281 * it.
14282 * You may want to use it in some cases like
14283 * make simple table or using background image
14284 * (see `backgroundColor`).
14285 *
14286 * Notice, `width` and `height` specifies the
14287 * width and height of the content, without
14288 * `padding`.
14289 *
14290 * `width` can also be percent string, like
14291 * `'100%'`, which represents the percent of
14292 * `contentWidth` (that is, the width without
14293 * `padding`) of its container box.
14294 * It is based on `contentWidth` because that
14295 * each text fregment is layout based on the
14296 * `content box`, where it makes no sense that
14297 * calculating width based on `outerWith` in
14298 * prectice.
14299 *
14300 * Notice, `width` and `height` only work when
14301 * `rich` specified.
14302 *
14303 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.width
14304 */
14305 width?: number | string | undefined;
14306
14307 /**
14308 * Height of the text block.
14309 * It is the width of the text by default.
14310 * You may want to use it in some cases like
14311 * using background image (see `backgroundColor`).
14312 *
14313 * Notice, `width` and `height` specifies the
14314 * width and height of the content, without
14315 * `padding`.
14316 *
14317 * Notice, `width` and `height` only work when
14318 * `rich` specified.
14319 *
14320 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.height
14321 */
14322 height?: number | string | undefined;
14323
14324 /**
14325 * Storke color of the text.
14326 *
14327 * If set as `'auto'`, the color will assigned
14328 * as visual color, such as series color.
14329 *
14330 * @default
14331 * "transparent"
14332 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderColor
14333 */
14334 textBorderColor?: string | undefined;
14335
14336 /**
14337 * Storke line width of the text.
14338 *
14339 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textBorderWidth
14340 */
14341 textBorderWidth?: number | undefined;
14342
14343 /**
14344 * Shadow color of the text itself.
14345 *
14346 * @default
14347 * "transparent"
14348 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowColor
14349 */
14350 textShadowColor?: string | undefined;
14351
14352 /**
14353 * Shadow blue of the text itself.
14354 *
14355 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowBlur
14356 */
14357 textShadowBlur?: number | undefined;
14358
14359 /**
14360 * Shadow X offset of the text itself.
14361 *
14362 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetX
14363 */
14364 textShadowOffsetX?: number | undefined;
14365
14366 /**
14367 * Shadow Y offset of the text itself.
14368 *
14369 * @see https://echarts.apache.org/en/option.html#series-bar.data.label.emphasis.rich.%3Cuser%20defined%20style%20name%3E.textShadowOffsetY
14370 */
14371 textShadowOffsetY?: number | undefined;
14372 };
14373 } | undefined;
14374 } | undefined;
14375 } | undefined;
14376
14377 /**
14378 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle
14379 */
14380 itemStyle?: {
14381 /**
14382 * Bar color..
14383 *
14384 * @default
14385 * "auto"
14386 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.color
14387 */
14388 color?: string | undefined;
14389
14390 /**
14391 * The bodrder color of bar.
14392 *
14393 * @default
14394 * '#000'
14395 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.barBorderColor
14396 */
14397 barBorderColor?: string | undefined;
14398
14399 /**
14400 * The bodrder width of bar. defaults to have no border.
14401 *
14402 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.barBorderWidth
14403 */
14404 barBorderWidth?: number | undefined;
14405
14406 /**
14407 * The radius of rounded corner.
14408 * Its unit is px.
14409 * And it supports use array to respectively specify the
14410 * 4 corner radiuses.
14411 *
14412 * For example:
14413 *
14414 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.itemStyle)
14415 *
14416 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.barBorderRadius
14417 */
14418 barBorderRadius?: any[] | number | undefined;
14419
14420 /**
14421 * Size of shadow blur.
14422 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
14423 * `shadowOffsetY` to set shadow to component.
14424 *
14425 * For example:
14426 *
14427 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.itemStyle)
14428 *
14429 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowBlur
14430 */
14431 shadowBlur?: number | undefined;
14432
14433 /**
14434 * Shadow color. Support same format as `color`.
14435 *
14436 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowColor
14437 */
14438 shadowColor?: string | undefined;
14439
14440 /**
14441 * Offset distance on the horizontal direction of shadow.
14442 *
14443 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowOffsetX
14444 */
14445 shadowOffsetX?: number | undefined;
14446
14447 /**
14448 * Offset distance on the vertical direction of shadow.
14449 *
14450 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.shadowOffsetY
14451 */
14452 shadowOffsetY?: number | undefined;
14453
14454 /**
14455 * Opacity of the component.
14456 * Supports value from 0 to 1, and the component will not
14457 * be drawn when set to 0.
14458 *
14459 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.opacity
14460 */
14461 opacity?: number | undefined;
14462
14463 /**
14464 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis
14465 */
14466 emphasis?: {
14467 /**
14468 * Bar color..
14469 *
14470 * @default
14471 * "auto"
14472 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.color
14473 */
14474 color?: string | undefined;
14475
14476 /**
14477 * The bodrder color of bar.
14478 *
14479 * @default
14480 * '#000'
14481 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.barBorderColor
14482 */
14483 barBorderColor?: string | undefined;
14484
14485 /**
14486 * The bodrder width of bar.
14487 * defaults to have no border.
14488 *
14489 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.barBorderWidth
14490 */
14491 barBorderWidth?: number | undefined;
14492
14493 /**
14494 * Size of shadow blur.
14495 * This attribute should be used along with `shadowColor`,`shadowOffsetX`,
14496 * `shadowOffsetY` to set shadow to component.
14497 *
14498 * For example:
14499 *
14500 * [see doc](https://echarts.apache.org/en/option.html#series-bar.bar.data.itemStyle.emphasis)
14501 *
14502 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowBlur
14503 */
14504 shadowBlur?: number | undefined;
14505
14506 /**
14507 * Shadow color. Support same format as `color`.
14508 *
14509 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowColor
14510 */
14511 shadowColor?: string | undefined;
14512
14513 /**
14514 * Offset distance on the horizontal direction of shadow.
14515 *
14516 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowOffsetX
14517 */
14518 shadowOffsetX?: number | undefined;
14519
14520 /**
14521 * Offset distance on the vertical direction of shadow.
14522 *
14523 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.shadowOffsetY
14524 */
14525 shadowOffsetY?: number | undefined;
14526
14527 /**
14528 * Opacity of the component.
14529 * Supports value from 0 to 1, and the component will
14530 * not be drawn when set to 0.
14531 *
14532 * @see https://echarts.apache.org/en/option.html#series-bar.data.itemStyle.emphasis.opacity
14533 */
14534 opacity?: number | undefined;
14535 } | undefined;
14536 } | undefined;
14537
14538 /**
14539 * tooltip settings in this series data.
14540 *
14541 * @see https://echarts.apache.org/en/option.html#series-bar.data.tooltip
14542 */
14543 tooltip?: BaseTooltip | undefined;
14544 }
14545 }
14546 }
14547}