How to change a axis legend spacing?

The right chart is what I created in Tulip. But I would like to have the chart like the left one (generate from python directly)

The x axis legend is based on the actual value, like 1, 2, 3,

not the one like 1.3, 1.4, 2, 2.5 with the same spacing.

What should l do?

Thank you!

hello @dorothy, thanks for posting!!

would you mind sharing a little more information on the type of Analysis that this is?? is it a Table Analysis or an App Analysis??

one solution that you could try is changing the X Axis to an Expression and user the ROUND() function:

This is a table analysis. I directly import the csv file and then plot.

The data table comes directly from python code

OK, thanks for clarifying @dorothy!!

did you try using the ROUND() function to create buckets for your data??