|
@@ -3462,8 +3462,7 @@ func SeasonChartData(dataList []*data_manage.ChartEdbInfoMapping, seasonExtraCon
|
|
|
}
|
|
|
|
|
|
// 自定义右轴
|
|
|
- //if seasonConfig.RightAxis.IndicatorType == 1 {
|
|
|
- //dataResp.RightAxis.EdbInfoList = quarterDataList[0].DataList
|
|
|
+ if seasonConfig.RightAxis.IndicatorType == 1 {
|
|
|
startTime, _ := time.Parse(utils.FormatDate, mappingItem.StartDate)
|
|
|
for i := len(quarterDataList) - 1; i > len(quarterDataList)-2 && i > 0; i-- {
|
|
|
rightMappingItem := mappingItem
|
|
@@ -3479,7 +3478,7 @@ func SeasonChartData(dataList []*data_manage.ChartEdbInfoMapping, seasonExtraCon
|
|
|
dataResp.RightAxis.EdbInfoList = append(dataResp.RightAxis.EdbInfoList, rightMappingItem)
|
|
|
dataResp.RightAxis.SeasonRightAxis = seasonConfig.RightAxis
|
|
|
}
|
|
|
- //}
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return
|