Struct tui_realm_stdlib::ChartPropsBuilder[][src]

pub struct ChartPropsBuilder { /* fields omitted */ }

Implementations

with_foreground

Set foreground color for component

with_background

Set background color for component

with_borders

Set component borders style

with_title

Set title

with_x_bounds

Define x axis bounds

with_y_bounds

Define y axis bounds

with_x_labels

Define x axis labels

with_y_labels

Define y axis labels

with_x_style

Define x axis style

with_y_style

Define y axis style

with_x_title

Define x axis title

with_y_title

Define y axis title

with_data

Define chart data as a list of dataset

push_record

Just pushes a record to the front of the data Set is the index of the chart where you want to push the point Panics if data is not initialized

pop_record_back

Pop last record on the back of the data list Set is the index of the chart where you want to pop from

pop_record_front

Pop first record on the back of the data list Set is the index of the chart where you want to pop from

disabled

If component is set to disabled, then input commands won’t work, and colors will be rendered as if the component would have focus

Trait Implementations

Returns the “default value” for a type. Read more

Performs the conversion.

build Read more

hidden Read more

visible Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.