|
@@ -31,13 +31,6 @@ type SetDefaultThemeReq struct {
|
|
|
|
|
|
type ColorsOptions []string
|
|
|
|
|
|
-type LineOptions struct {
|
|
|
- DashStyle string `json:"dashStyle"`
|
|
|
- LineWidth int `json:"lineWidth"`
|
|
|
- LineType string `json:"lineType"`
|
|
|
- Radius float64 `json:"radius"`
|
|
|
-}
|
|
|
-
|
|
|
type LegendOptions struct {
|
|
|
VerticalAlign string `json:"verticalAlign"`
|
|
|
ItemStyle struct {
|
|
@@ -75,6 +68,13 @@ type DrawOption struct {
|
|
|
PlotBackgroundColor string `json:"plotBackgroundColor"`
|
|
|
}
|
|
|
|
|
|
+type LineOptions struct {
|
|
|
+ DashStyle string `json:"dashStyle"`
|
|
|
+ LineWidth int `json:"lineWidth"`
|
|
|
+ LineType string `json:"lineType"`
|
|
|
+ Radius float64 `json:"radius"`
|
|
|
+}
|
|
|
+
|
|
|
type OldChartOptions struct {
|
|
|
ColorsOptions []string `json:"colorsOptions"`
|
|
|
LineOptions LineOptions `json:"lineOptions"`
|
|
@@ -93,5 +93,9 @@ type NewChartOptions struct {
|
|
|
|
|
|
type NewLineOptions struct {
|
|
|
LineOptions
|
|
|
- Color string `json:"color"`
|
|
|
+ Color string `json:"color"`
|
|
|
+ DataMark string `json:"dataMark"`
|
|
|
+ MarkType string `json:"markType"`
|
|
|
+ MarkSize int `json:"markSize"`
|
|
|
+ MarkColor string `json:"markColor"`
|
|
|
}
|