Skip to main content

figure

Function figure 

Source
pub fn figure(
    ui: &mut Ui,
    figure: &Figure<'_>,
    palette: &Palette,
    style: &WidgetStyle,
) -> Response
Expand description

A figure: the value, then what it counts under it.

The tone lands on the value and its change rather than on the caption, which is what Figure::tone means: the figure is an ordinary fact and it is the movement that reads as good or bad. makeover-tui says the same thing with a bold span; here it is a larger one, because egui can size text and a terminal cannot.