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
pub fn with_borders(
&mut self,
borders: Borders,
variant: BorderType,
color: Color
) -> &mut Self
pub fn with_borders(
&mut self,
borders: Borders,
variant: BorderType,
color: Color
) -> &mut Self
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