| 1 |
package opts |
| 2 |
|
| 3 |
import "github.com/go-echarts/go-echarts/v2/types" |
| 4 |
|
| 5 |
|
| 6 |
type TextStyle struct { |
| 7 |
|
| 8 |
Color string `json:"color,omitempty"` |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
FontStyle string `json:"fontStyle,omitempty"` |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
FontWeight string `json:"fontWeight,omitempty"` |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
FontFamily string `json:"fontFamily,omitempty"` |
| 26 |
|
| 27 |
|
| 28 |
FontSize int `json:"fontSize,omitempty"` |
| 29 |
|
| 30 |
|
| 31 |
Width int `json:"width,omitempty"` |
| 32 |
|
| 33 |
|
| 34 |
Height int `json:"height,omitempty"` |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
Align string `json:"align,omitempty"` |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
VerticalAlign string `json:"verticalAlign,omitempty"` |
| 43 |
|
| 44 |
|
| 45 |
LineHeight int `json:"lineHeight,omitempty"` |
| 46 |
|
| 47 |
|
| 48 |
TextBorderColor string `json:"textBorderColor,omitempty"` |
| 49 |
|
| 50 |
|
| 51 |
TextBorderWidth int `json:"textBorderWidth,omitempty"` |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
TextBorderType string `json:"textBorderType,omitempty"` |
| 56 |
|
| 57 |
|
| 58 |
TextBorderDashOffset int `json:"textBorderDashOffset,omitempty"` |
| 59 |
|
| 60 |
|
| 61 |
TextShadowColor string `json:"textShadowColor,omitempty"` |
| 62 |
|
| 63 |
|
| 64 |
TextShadowBlur int `json:"textShadowBlur,omitempty"` |
| 65 |
|
| 66 |
|
| 67 |
TextShadowOffsetX int `json:"textShadowOffsetX,omitempty"` |
| 68 |
|
| 69 |
|
| 70 |
TextShadowOffsetY int `json:"textShadowOffsetY,omitempty"` |
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
Overflow string `json:"overflow,omitempty"` |
| 78 |
|
| 79 |
|
| 80 |
Ellipsis types.Bool `json:"ellipsis,omitempty"` |
| 81 |
|
| 82 |
|
| 83 |
BackgroundColor string `json:"backgroundColor,omitempty"` |
| 84 |
|
| 85 |
|
| 86 |
BorderColor string `json:"borderColor,omitempty"` |
| 87 |
|
| 88 |
|
| 89 |
BorderWidth int `json:"borderWidth,omitempty"` |
| 90 |
|
| 91 |
|
| 92 |
BorderRadius int `json:"borderRadius,omitempty"` |
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
BorderType string `json:"borderType,omitempty"` |
| 97 |
|
| 98 |
|
| 99 |
BorderDashOffset int `json:"borderDashOffset,omitempty"` |
| 100 |
|
| 101 |
|
| 102 |
ShadowBlur int `json:"shadowBlur,omitempty"` |
| 103 |
|
| 104 |
|
| 105 |
ShadowColor string `json:"shadowColor,omitempty"` |
| 106 |
|
| 107 |
|
| 108 |
ShadowOffsetX int `json:"shadowOffsetX,omitempty"` |
| 109 |
|
| 110 |
|
| 111 |
ShadowOffsetY int `json:"shadowOffsetY,omitempty"` |
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
Padding interface{} `json:"padding,omitempty"` |
| 117 |
|
| 118 |
|
| 119 |
Normal *TextStyle `json:"normal,omitempty"` |
| 120 |
} |