| 1 |
package opts |
| 2 |
|
| 3 |
import "github.com/go-echarts/go-echarts/v2/types" |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
type Calendar struct { |
| 8 |
ID string `json:"id,omitempty"` |
| 9 |
Zlevel int `json:"zlevel,omitempty"` |
| 10 |
Z int `json:"z,omitempty"` |
| 11 |
|
| 12 |
Left string `json:"left,omitempty"` |
| 13 |
|
| 14 |
|
| 15 |
Right string `json:"right,omitempty"` |
| 16 |
|
| 17 |
|
| 18 |
Top string `json:"top,omitempty"` |
| 19 |
|
| 20 |
|
| 21 |
Bottom string `json:"bottom,omitempty"` |
| 22 |
|
| 23 |
|
| 24 |
Width string `json:"width,omitempty"` |
| 25 |
|
| 26 |
|
| 27 |
Height string `json:"height,omitempty"` |
| 28 |
|
| 29 |
|
| 30 |
Range []string `json:"range,omitempty"` |
| 31 |
|
| 32 |
|
| 33 |
CellSize string `json:"cellSize,omitempty"` |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
Orient string `json:"orient,omitempty"` |
| 38 |
|
| 39 |
|
| 40 |
SplitLine *SplitLine `json:"splitLine,omitempty"` |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
ItemStyle *ItemStyle `json:"itemStyle,omitempty"` |
| 45 |
|
| 46 |
|
| 47 |
DayLabel *CalendarLabel `json:"dayLabel,omitempty"` |
| 48 |
|
| 49 |
|
| 50 |
MonthLabel *CalendarLabel `json:"monthLabel,omitempty"` |
| 51 |
|
| 52 |
|
| 53 |
YearLabel *CalendarLabel `json:"yearLabel,omitempty"` |
| 54 |
|
| 55 |
|
| 56 |
Silent types.Bool `json:"silent,omitempty"` |
| 57 |
} |
| 58 |
|
| 59 |
|
| 60 |
type CalendarLabel struct { |
| 61 |
|
| 62 |
Show types.Bool `json:"show,omitempty"` |
| 63 |
|
| 64 |
FirstDay int `json:"firstDay,omitempty"` |
| 65 |
|
| 66 |
|
| 67 |
Margin float64 `json:"margin,omitempty"` |
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
Position string `json:"position,omitempty"` |
| 73 |
|
| 74 |
|
| 75 |
Color string `json:"color,omitempty"` |
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
FontStyle string `json:"fontStyle,omitempty"` |
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
FontWeight string `json:"fontWeight,omitempty"` |
| 84 |
|
| 85 |
|
| 86 |
FontFamily string `json:"fontFamily,omitempty"` |
| 87 |
|
| 88 |
|
| 89 |
FontSize int `json:"fontSize,omitempty"` |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
Align string `json:"align,omitempty"` |
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
VerticalAlign string `json:"verticalAlign,omitempty"` |
| 98 |
|
| 99 |
|
| 100 |
LineHeight int `json:"lineHeight,omitempty"` |
| 101 |
|
| 102 |
|
| 103 |
BackgroundColor string `json:"backgroundColor,omitempty"` |
| 104 |
|
| 105 |
|
| 106 |
BorderColor string `json:"borderColor,omitempty"` |
| 107 |
|
| 108 |
|
| 109 |
BorderWidth int `json:"borderWidth,omitempty"` |
| 110 |
|
| 111 |
|
| 112 |
BorderRadius int `json:"borderRadius,omitempty"` |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
BorderType string `json:"borderType,omitempty"` |
| 117 |
|
| 118 |
|
| 119 |
BorderDashOffset int `json:"borderDashOffset,omitempty"` |
| 120 |
|
| 121 |
|
| 122 |
Padding int `json:"padding,omitempty"` |
| 123 |
|
| 124 |
|
| 125 |
ShadowBlur int `json:"shadowBlur,omitempty"` |
| 126 |
|
| 127 |
|
| 128 |
ShadowColor string `json:"shadowColor,omitempty"` |
| 129 |
|
| 130 |
|
| 131 |
ShadowOffsetX int `json:"shadowOffsetX,omitempty"` |
| 132 |
|
| 133 |
|
| 134 |
ShadowOffsetY int `json:"shadowOffsetY,omitempty"` |
| 135 |
|
| 136 |
|
| 137 |
Width int `json:"width,omitempty"` |
| 138 |
|
| 139 |
|
| 140 |
Height int `json:"height,omitempty"` |
| 141 |
|
| 142 |
|
| 143 |
TextBorderColor string `json:"textBorderColor,omitempty"` |
| 144 |
|
| 145 |
|
| 146 |
TextBorderWidth int `json:"textBorderWidth,omitempty"` |
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
TextBorderType string `json:"textBorderType,omitempty"` |
| 151 |
|
| 152 |
|
| 153 |
TextBorderDashOffset int `json:"textBorderDashOffset,omitempty"` |
| 154 |
|
| 155 |
|
| 156 |
TextShadowColor string `json:"textShadowColor,omitempty"` |
| 157 |
|
| 158 |
|
| 159 |
TextShadowBlur int `json:"textShadowBlur,omitempty"` |
| 160 |
|
| 161 |
|
| 162 |
TextShadowOffsetX int `json:"textShadowOffsetX,omitempty"` |
| 163 |
|
| 164 |
|
| 165 |
TextShadowOffsetY int `json:"textShadowOffsetY,omitempty"` |
| 166 |
|
| 167 |
|
| 168 |
Overflow string `json:"overflow,omitempty"` |
| 169 |
|
| 170 |
|
| 171 |
Ellipsis types.Bool `json:"ellipsis,omitempty"` |
| 172 |
|
| 173 |
|
| 174 |
Silent types.Bool `json:"silent,omitempty"` |
| 175 |
} |