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

crash dump GetValues(...) #227

@BudzikM

Description

@BudzikM

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions