|
@@ -373,7 +373,7 @@ func GetPriceCurve(c *gin.Context) { |
|
|
// continue |
|
|
// continue |
|
|
//} |
|
|
//} |
|
|
yData = append(yData, results[0]["price"]) |
|
|
yData = append(yData, results[0]["price"]) |
|
|
xData = append(xData, results[0]["date"]+" "+results[0]["hour"]+":00") |
|
|
|
|
|
|
|
|
xData = append(xData, results[0]["hour"]+":00") |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
yData = append(yData, m.Price) |
|
|
yData = append(yData, m.Price) |
|
|