Refactored ticks setting code, still not great.

This commit is contained in:
4bb4 2020-09-20 21:21:19 +02:00
parent ed02caed56
commit 8a171e9528
2 changed files with 110 additions and 74 deletions

View file

@ -80,8 +80,8 @@ fn show_configurable_plot(ui: &Ui) {
},
Condition::Always,
)
.x_ticks(&x_ticks)
.y_ticks_with_labels(&y_ticks)
.x_ticks(&x_ticks, false)
.y_ticks_with_labels(&y_ticks, false)
// If any of these flag setting calls are omitted, the defaults are used.
.with_plot_flags(&plot_flags)
.with_x_axis_flags(&x_axis_flags)