From ac30090c8dbfff256a678de3b4f87d7cd7dd1c97 Mon Sep 17 00:00:00 2001 From: gucio321 Date: Thu, 14 Dec 2023 14:22:33 +0100 Subject: [PATCH] bugfix in line plot --- Plot.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Plot.go b/Plot.go index 1a5866c3..766397af 100644 --- a/Plot.go +++ b/Plot.go @@ -393,12 +393,10 @@ func (p *LinePlot) Offset(offset int) *LinePlot { // Plot implements Plot interface. func (p *LinePlot) Plot() { - imgui.PlotSetupAxis( + imgui.PlotSetAxis( imgui.PlotAxisEnum(p.yAxis), ) - // TODO: no idea what should it be... - // imgui.PlotDragLineX(Context.FontAtlas.RegisterString(p.title), p.values, p.xScale, p.x0, p.offset) imgui.PlotPlotLinedoublePtrIntV( Context.FontAtlas.RegisterString(p.title), &p.values,