Skip to content

Commit

Permalink
bugfix in line plot
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Dec 14, 2023
1 parent 91ed4ac commit ac30090
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Plot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ac30090

Please sign in to comment.