Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

crash dump GetValues(...) #227

Open
BudzikM opened this issue Jul 29, 2024 · 0 comments
Open

crash dump GetValues(...) #227

BudzikM opened this issue Jul 29, 2024 · 0 comments

Comments

@BudzikM
Copy link

BudzikM commented Jul 29, 2024

panic: runtime error: index out of range [0] with length 0

github.com/wcharczuk/go-chart/v2.TimeSeries.GetValues(...)
/home/budzik/go/pkg/mod/github.com/wcharczuk/go-chart/[email protected]/time_series.go:45
github.com/wcharczuk/go-chart/v2.Chart.getRanges({{0x71c367, 0x14}, {0x0, {0x0, 0x0, 0x0, 0x0, 0x0}, {0x0, 0x0}, ...}, ...})
/home/budzik/go/pkg/mod/github.com/wcharczuk/go-chart/[email protected]/chart.go:210 +0xd07
github.com/wcharczuk/go-chart/v2.Chart.Render({{0x71c367, 0x14}, {0x0, {0x0, 0x0, 0x0, 0x0, 0x0}, {0x0, 0x0}, ...}, ...}, ...)
/home/budzik/go/pkg/mod/github.com/wcharczuk/go-chart/[email protected]/chart.go:102 +0x23f
server_app/energy.GenerateCharts()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant