|
@@ -134,8 +134,8 @@ func getThemePreviewEdbDataMapList(chartType int, calendar, startDate, endDate s
|
|
|
item.EdbInfoCategoryType = v.EdbInfoCategoryType
|
|
|
item.PredictChartColor = v.PredictChartColor
|
|
|
item.ClassifyId = v.ClassifyId
|
|
|
- item.IsAxis = v.IsAxis
|
|
|
- item.EdbInfoType = v.EdbInfoType
|
|
|
+ item.IsAxis = 1
|
|
|
+ item.EdbInfoType = 1
|
|
|
item.LeadValue = v.LeadValue
|
|
|
item.LeadUnit = v.LeadUnit
|
|
|
item.LeadUnitEn = GetLeadUnitEn(v.LeadUnit)
|
|
@@ -144,9 +144,9 @@ func getThemePreviewEdbDataMapList(chartType int, calendar, startDate, endDate s
|
|
|
item.ChartStyle = v.ChartStyle
|
|
|
item.ChartColor = v.ChartColor
|
|
|
item.ChartWidth = v.ChartWidth
|
|
|
- item.IsOrder = v.IsOrder
|
|
|
+ item.IsOrder = true
|
|
|
item.MaxData = v.MaxValue
|
|
|
- item.MinData = v.MaxValue
|
|
|
+ item.MinData = v.MinValue
|
|
|
item.LatestValue = v.LatestValue
|
|
|
item.LatestDate = v.LatestDate
|
|
|
item.UniqueCode = v.UniqueCode
|