Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

egui_plot: customizable spacing of grid and axis label spacing #3896

Merged
merged 15 commits into from
Jan 26, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jan 26, 2024

This lets users specify the spacing of the grid lines and the axis labels, as well as when these start to fade out.

New:

  • AxisHints::new_x/new_y (replaces ::default())
  • AxisHints::label_spacing
  • Plot::grid_spacing

@emilk emilk added the egui_plot Related to egui_plot label Jan 26, 2024
@emilk emilk merged commit 5d0bc2b into master Jan 26, 2024
35 checks passed
@emilk emilk deleted the emilk/plot-demo branch January 26, 2024 12:36
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…#3896)

This lets users specify the spacing of the grid lines and the axis
labels, as well as when these start to fade out.

New:
* `AxisHints::new_x/new_y` (replaces `::default()`)
* `AxisHints::label_spacing`
* `Plot::grid_spacing`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui_plot Related to egui_plot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant