Skip to contents

Scales chart height with the number of bars so category labels stay legible.

Usage

scale_plot_height(data)

Arguments

data

Data frame in which each row becomes one bar.

Value

Numeric height in pixels, never below 350.