|
@@ -30,8 +30,8 @@ type BarChartInfoSortReq struct {
|
|
|
DateIndex int `description:"日期数据的下标,从0开始"`
|
|
|
}
|
|
|
|
|
|
-// TimeSectionReq 时间截面请求
|
|
|
-type TimeSectionReq struct {
|
|
|
+// SectionScatterReq 截面散点请求
|
|
|
+type SectionScatterReq struct {
|
|
|
XName string `description:"x轴名称"`
|
|
|
XNameEn string `description:"x轴名称(英文)"`
|
|
|
XUnitName string `description:"x轴单位名称"`
|
|
@@ -44,23 +44,23 @@ type TimeSectionReq struct {
|
|
|
XMaxValue string `description:"X轴的最大值"`
|
|
|
YMinValue string `description:"Y轴的最小值"`
|
|
|
YMaxValue string `description:"Y轴的最大值"`
|
|
|
- //EdbList []TimeSectionEdbItemReq `description:"指标数据"`
|
|
|
- SeriesList []TimeSectionSeriesItemReq `description:"系列数据"`
|
|
|
+ //EdbList []SectionScatterEdbItemReq `description:"指标数据"`
|
|
|
+ SeriesList []SectionScatterSeriesItemReq `description:"系列数据"`
|
|
|
}
|
|
|
|
|
|
-// TimeSectionSeriesItemReq 系列的请求
|
|
|
-type TimeSectionSeriesItemReq struct {
|
|
|
+// SectionScatterSeriesItemReq 系列的请求
|
|
|
+type SectionScatterSeriesItemReq struct {
|
|
|
Name string `description:"系列名"`
|
|
|
NameEn string `description:"系列名(英文)"`
|
|
|
Color string `description:"颜色"`
|
|
|
- EdbInfoList []TimeSectionEdbItemReq
|
|
|
+ EdbInfoList []SectionScatterEdbItemReq
|
|
|
ShowTrendLine bool `description:"是否展示趋势线"`
|
|
|
ShowFitEquation bool `description:"是否展示方程式"`
|
|
|
ShowRSquare bool `description:"是否展示R平方"`
|
|
|
}
|
|
|
|
|
|
-// TimeSectionEdbItemReq 时间截面请求的指标
|
|
|
-type TimeSectionEdbItemReq struct {
|
|
|
+// SectionScatterEdbItemReq 截面散点请求的指标
|
|
|
+type SectionScatterEdbItemReq struct {
|
|
|
XEdbInfoId int `description:"X轴的指标ID"`
|
|
|
YEdbInfoId int `description:"Y轴的指标ID"`
|
|
|
Name string `description:"别名"`
|
|
@@ -74,29 +74,29 @@ type TimeSectionEdbItemReq struct {
|
|
|
IsShow bool `description:"是否展示"`
|
|
|
}
|
|
|
|
|
|
-// TimeSectionInfoResp 时间截面图数据
|
|
|
-type TimeSectionInfoResp struct {
|
|
|
- XName string `description:"x轴名称"`
|
|
|
- XNameEn string `description:"x轴名称(英文)"`
|
|
|
- XUnitName string `description:"x轴单位名称"`
|
|
|
- XUnitNameEn string `description:"x轴单位名称(英文)"`
|
|
|
- YName string `description:"y轴名称"`
|
|
|
- YNameEn string `description:"y轴名称(英文)"`
|
|
|
- YUnitName string `description:"y轴单位名称"`
|
|
|
- YUnitNameEn string `description:"y轴单位名称(英文)"`
|
|
|
- XMinValue string `description:"X轴的最小值"`
|
|
|
- XMaxValue string `description:"X轴的最大值"`
|
|
|
- YMinValue string `description:"Y轴的最小值"`
|
|
|
- YMaxValue string `description:"Y轴的最大值"`
|
|
|
- DataList []TimeSectionSeriesItemResp `description:"数据列"`
|
|
|
+// SectionScatterInfoResp 截面散点图数据
|
|
|
+type SectionScatterInfoResp struct {
|
|
|
+ XName string `description:"x轴名称"`
|
|
|
+ XNameEn string `description:"x轴名称(英文)"`
|
|
|
+ XUnitName string `description:"x轴单位名称"`
|
|
|
+ XUnitNameEn string `description:"x轴单位名称(英文)"`
|
|
|
+ YName string `description:"y轴名称"`
|
|
|
+ YNameEn string `description:"y轴名称(英文)"`
|
|
|
+ YUnitName string `description:"y轴单位名称"`
|
|
|
+ YUnitNameEn string `description:"y轴单位名称(英文)"`
|
|
|
+ XMinValue string `description:"X轴的最小值"`
|
|
|
+ XMaxValue string `description:"X轴的最大值"`
|
|
|
+ YMinValue string `description:"Y轴的最小值"`
|
|
|
+ YMaxValue string `description:"Y轴的最大值"`
|
|
|
+ DataList []SectionScatterSeriesItemResp `description:"数据列"`
|
|
|
}
|
|
|
|
|
|
-// TimeSectionSeriesItemResp 系列的返回
|
|
|
-type TimeSectionSeriesItemResp struct {
|
|
|
+// SectionScatterSeriesItemResp 系列的返回
|
|
|
+type SectionScatterSeriesItemResp struct {
|
|
|
Name string `description:"系列名"`
|
|
|
NameEn string `description:"系列名(英文)"`
|
|
|
Color string `description:"颜色"`
|
|
|
- EdbInfoList []TimeSectionEdbItemResp
|
|
|
+ EdbInfoList []SectionScatterEdbItemResp
|
|
|
ShowTrendLine bool `description:"是否展示趋势线"`
|
|
|
ShowFitEquation bool `description:"是否展示方程式"`
|
|
|
ShowRSquare bool `description:"是否展示R平方"`
|
|
@@ -105,8 +105,8 @@ type TimeSectionSeriesItemResp struct {
|
|
|
TrendLimitData []CoordinatePoint `description:"趋势线的前后坐标点"`
|
|
|
}
|
|
|
|
|
|
-// TimeSectionEdbItemResp 时间截面的返回参数
|
|
|
-type TimeSectionEdbItemResp struct {
|
|
|
+// SectionScatterEdbItemResp 截面散点的返回参数
|
|
|
+type SectionScatterEdbItemResp struct {
|
|
|
XEdbInfoId int `description:"X轴指标id"`
|
|
|
XDate string `description:"X轴指标实际日期"`
|
|
|
XName string `description:"X轴指标名称"`
|