Skip to content

Xticks custom positions and labels  #648

@bukkideme

Description

@bukkideme

I wonder what would be the best approach for the following scenario.
I need to plot bars (PlotBar) sometimes with non-equidistant values, and I do not want to show empty gaps. So I just use Xticks along with artificial position values and labels as strings. In one of my prev post I showed an example:
#640

Now my question is that, what about if I have many labels, so after a while they start to overlap. Is it possible now, or as a future feature to have an automatic label handling, avoiding drawing overlapping labels?
For an example, I show below a bar plot when the custom labels overlap, and how it looks like when I am zoomed in, and labels do not overlap anymore.
Thanks for info!

custom_labels3

custom_labels2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions