| 1 | package opts |
| 2 | |
| 3 | import "github.com/go-echarts/go-echarts/v2/types" |
| 4 | |
| 5 | type RadiusAxis struct { |
| 6 | PolarAxisBase |
| 7 | |
| 8 | Name string `json:"name,omitempty"` |
| 9 | // NameLocation Location of axis name. |
| 10 | // Options: |
| 11 | // 'start' |
| 12 | // 'middle' or 'center' |
| 13 | // 'end' |
| 14 | NameLocation string `json:"nameLocation,omitempty"` |
| 15 | |
| 16 | // NameTextStyle Text style of axis name. |
| 17 | NameTextStyle TextStyle `json:"nameTextStyle,omitempty"` |
| 18 | |
| 19 | // NameGap Gap between axis name and axis line. |
| 20 | NameGap float64 `json:"nameGap,omitempty"` |
| 21 | |
| 22 | // NameRadius Rotation of axis name. |
| 23 | NameRadius float64 `json:"nameRotate,omitempty"` |
| 24 | |
| 25 | // Inverse Set this to true to invert the axis. This is a new option available from Echarts 3 and newer. |
| 26 | Inverse types.Bool `json:"inverse,omitempty"` |
| 27 | } |