| 1 |
package opts |
| 2 |
|
| 3 |
import "github.com/go-echarts/go-echarts/v2/types" |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
type RadarComponent struct { |
| 8 |
|
| 9 |
Indicator []*Indicator `json:"indicator,omitempty"` |
| 10 |
|
| 11 |
|
| 12 |
Shape string `json:"shape,omitempty"` |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
SplitNumber int `json:"splitNumber,omitempty"` |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
Center interface{} `json:"center,omitempty"` |
| 21 |
|
| 22 |
|
| 23 |
SplitArea *SplitArea `json:"splitArea,omitempty"` |
| 24 |
|
| 25 |
|
| 26 |
SplitLine *SplitLine `json:"splitLine,omitempty"` |
| 27 |
|
| 28 |
|
| 29 |
AxisLine *AxisLine `json:"axisLine,omitempty"` |
| 30 |
|
| 31 |
|
| 32 |
StartAngle float64 `json:"startAngle,omitempty"` |
| 33 |
|
| 34 |
|
| 35 |
AxisName *AxisName `json:"axisName,omitempty"` |
| 36 |
} |
| 37 |
|
| 38 |
|
| 39 |
type Indicator struct { |
| 40 |
|
| 41 |
Name string `json:"name,omitempty"` |
| 42 |
|
| 43 |
|
| 44 |
Max float32 `json:"max,omitempty"` |
| 45 |
|
| 46 |
|
| 47 |
Min float32 `json:"min,omitempty"` |
| 48 |
|
| 49 |
|
| 50 |
Color string `json:"color,omitempty"` |
| 51 |
} |
| 52 |
|
| 53 |
|
| 54 |
type AxisName struct { |
| 55 |
|
| 56 |
Show types.Bool `json:"show,omitempty"` |
| 57 |
|
| 58 |
|
| 59 |
Formatter types.FuncStr `json:"formatter,omitempty"` |
| 60 |
|
| 61 |
|
| 62 |
Color string `json:"color,omitempty"` |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
FontStyle string `json:"fontStyle,omitempty"` |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
FontWeight string `json:"fontWeight,omitempty"` |
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
FontFamily string `json:"fontFamily,omitempty"` |
| 80 |
|
| 81 |
|
| 82 |
FontSize int `json:"fontSize,omitempty"` |
| 83 |
|
| 84 |
|
| 85 |
Width int `json:"width,omitempty"` |
| 86 |
|
| 87 |
|
| 88 |
Height int `json:"height,omitempty"` |
| 89 |
|
| 90 |
|
| 91 |
LineHeight int `json:"lineHeight,omitempty"` |
| 92 |
|
| 93 |
|
| 94 |
TextBorderColor string `json:"textBorderColor,omitempty"` |
| 95 |
|
| 96 |
|
| 97 |
TextBorderWidth int `json:"textBorderWidth,omitempty"` |
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
TextBorderType string `json:"textBorderType,omitempty"` |
| 102 |
|
| 103 |
|
| 104 |
TextBorderDashOffset int `json:"textBorderDashOffset,omitempty"` |
| 105 |
|
| 106 |
|
| 107 |
TextShadowColor string `json:"textShadowColor,omitempty"` |
| 108 |
|
| 109 |
|
| 110 |
TextShadowBlur int `json:"textShadowBlur,omitempty"` |
| 111 |
|
| 112 |
|
| 113 |
TextShadowOffsetX int `json:"textShadowOffsetX,omitempty"` |
| 114 |
|
| 115 |
|
| 116 |
TextShadowOffsetY int `json:"textShadowOffsetY,omitempty"` |
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
Overflow string `json:"overflow,omitempty"` |
| 124 |
|
| 125 |
|
| 126 |
Ellipsis types.Bool `json:"ellipsis,omitempty"` |
| 127 |
|
| 128 |
|
| 129 |
BackgroundColor string `json:"backgroundColor,omitempty"` |
| 130 |
|
| 131 |
|
| 132 |
BorderColor string `json:"borderColor,omitempty"` |
| 133 |
|
| 134 |
|
| 135 |
BorderWidth int `json:"borderWidth,omitempty"` |
| 136 |
|
| 137 |
|
| 138 |
BorderRadius int `json:"borderRadius,omitempty"` |
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
BorderType string `json:"borderType,omitempty"` |
| 143 |
|
| 144 |
|
| 145 |
BorderDashOffset int `json:"borderDashOffset,omitempty"` |
| 146 |
|
| 147 |
|
| 148 |
ShadowBlur int `json:"shadowBlur,omitempty"` |
| 149 |
|
| 150 |
|
| 151 |
ShadowColor string `json:"shadowColor,omitempty"` |
| 152 |
|
| 153 |
|
| 154 |
ShadowOffsetX int `json:"shadowOffsetX,omitempty"` |
| 155 |
|
| 156 |
|
| 157 |
ShadowOffsetY int `json:"shadowOffsetY,omitempty"` |
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
Padding interface{} `json:"padding,omitempty"` |
| 163 |
} |