|
@@ -494,6 +494,8 @@ type YData struct {
|
|
|
XEdbInfoIdList []int `description:"对应X轴的指标id列表"`
|
|
|
EdbValMap map[int]float64 `description:"指标与值的对应" json:"-"`
|
|
|
M []int `description:"对应开始日期的间隔值" json:"-"`
|
|
|
+ Unit string `description:"中文单位名称"`
|
|
|
+ UnitEn string `description:"英文单位名称"`
|
|
|
}
|
|
|
|
|
|
func ModifyChartInfoAndMapping(edbInfoIdStr string, req *SaveChartInfoReq, chartType int) (err error) {
|
|
@@ -1216,6 +1218,7 @@ type ChartInfoView struct {
|
|
|
ChartName string `description:"来源名称"`
|
|
|
ChartNameEn string `description:"英文图表名称"`
|
|
|
UnitEn string `description:"英文单位名称"`
|
|
|
+ Unit string `description:"图表单位"`
|
|
|
ChartClassifyId int `description:"图表分类id"`
|
|
|
ChartClassifyName string `description:"图表名称"`
|
|
|
SysUserId int
|
|
@@ -1388,6 +1391,8 @@ type BarChartInfoReq struct {
|
|
|
Sort BarChartInfoSortReq `description:"排序"`
|
|
|
XEdbList []BarChartInfoEdbItemReq `description:"X轴选择的指标列表"`
|
|
|
YEdbList []BarChartInfoEdbItemReq `description:"Y轴选择的指标列表"`
|
|
|
+ Unit string `description:"中文单位名称"`
|
|
|
+ UnitEn string `description:"英文单位名称"`
|
|
|
}
|
|
|
|
|
|
// BarChartInfoEdbItemReq 柱方图预览请求数据(指标相关)
|