Lollipop plot does not work correctly

Hi there,
I have an issue regarding the lollipop plot. To my understanding it is basically a bar plot with lines instead of bars (please correct me if I am wrong about this).
The issue is, that the lines are not at the correct X-coordinate, all the lines are shifted to the right.
I’ve created an exemplary project to show the problem: At the top is a bar plot, which is displayed correctly (the x values are between 0 ant 180). At the bottom is the lollipop plot with shifted values. Both plots use the same table for the data.

Am I just missing some basic setting or is the lollipop plot flawed?

@Finn

It seems to work as expected with the nightly version. What version are you using?


Can you check the start value for the x-range in the plot area’s settings?

I’m using version 2.11.1 on M2 Mac (arm64 version).

I’ve made sure that the x-range starts at the correct value (0 for both plots), i’ve also checked that the x-axis is not offset.

I thought maybe it has to do with decimal (double) values, so i tried again with integers (as you did), but the problem remains.

Here the values for the prior plot.

This issue has been fixed in the development version.

Wich version do you mean?
I just tried again with:
Version 2.11.80
Release build 5388cdd
Jan 19 2025, 00:16:11

And it still looks like this:

You can test today’s build.

Version 2.11.80
Release build b88280f

Please, check the development versions available here:

Download – LabPlot.

@Finn Does it work for you?

Hi @dlaska, yes it works just fine with the latest development version. Thanks!

That’s great. Thanks for the feedback!