You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p.lineChart = charts.NewLine()
x := make([]string, 0)
y := make([]float32, 0)
//p.lineChart.SetGlobalOptions(charts.TitleOpts{Title: "Line多线"}, charts.InitOpts{Theme: "shine"})
for k, v := range p.line {
for i := 0; i < len(v); i++ {
x = append(x, v[i].date)
y = append(y, v[i].data)
}
p.lineChart.AddXAxis(x).AddYAxis(k, y)
}
p.klineChart.Overlap(p.lineChart) <---这样重叠后无法显示
求指导如何配置才能将两个以同样时间戳为x轴的k线图和折线图合并,达到展示需求
The text was updated successfully, but these errors were encountered:
1. 在绘制K线图时按照文档, 如下处理时不能将时间戳精确到秒
x坐标我输入的是 "2018/6/13 23:09:11" 发现不能精确到时分秒去展示k线,求咨询如何配置才能支持到这种精度的时间戳
2.在k线基础上我想引入折线来展示均线等,使用overlap重叠两图后发现失败
求指导如何配置才能将两个以同样时间戳为x轴的k线图和折线图合并,达到展示需求
The text was updated successfully, but these errors were encountered: