Struct rstk::chart::time_chart::TkTimeChart [−][src]
pub struct TkTimeChart { pub id: String, }
Expand description
Refers to a time chart
Fields
id: String
Implementations
Adds a new milestone to the current row of the chart.
Adds a new period to the current row of the chart.
Draws a vertical line on the chart.
text
- the text to display at top of linetime_point
- the time coordinate at which to draw the linecolour
- colour for line
Adds a new row to the chart with the given milestone.
Adds a new row to the chart with the given period.
Adds a horizontal scrollbar to the chart.
Adds a vertical scrollbar to the chart.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Sets the background colour for the axes.
fn background_gradient_colour(
&self,
colour: &str,
direction: GradientDirection,
brightness: Brightness
)
fn background_gradient_colour(
&self,
colour: &str,
direction: GradientDirection,
brightness: Brightness
)
Sets a background gradient.
Sets a background image.
Sets the background colour for the plot area.
Creates balloon text (does not work for 3D plots).
Sets arrow-length, in pixels, for balloon text.
Sets background colour of balloon text.
Sets font for balloon text.
Sets justification for balloon text.
Sets outline colour of balloon text.
Sets width of margin, in pixels, around balloon text.
Sets margin size, in pixels, around balloon text.
Sets colour of balloon text.
Draws a horizontal light-grey band.
Draws a vertical light-grey band.
Sets background colour for legend.
Sets border colour for legend.
Sets canvas on which to draw legend.
Sets font with which to draw legend.
Position of legend on display.
Removes legend entry for given series.
Sets spacing between rows in legend.
Type of legend to display - series identified by line or colour rectangle.
Starts definition of plain text (does not work for 3D plots).
Sets colour of plain text.
Sets font for plain text.
Sets justification for plain text.
Sets subtitle of the (vertical) y-axis, and displays vertically along axis. Read more
Sets title of the (vertical) y-axis, and displays vertically along axis. Read more
Sets space in pixels between label and tickmark.
Sets number of minor tick marks.
Changes x-axis definition to (min, max, step).
Sets subtitle of the (horizontal) x-axis.
Turns on display of vertical ticklines at each tick location.
Sets length in pixels of tick lines.
Sets space in pixels between label and tickmark.
Sets number of minor tick marks.
Changes y-axis definition to (min, max, step).
Sets subtitle of the (vertical) y-axis.
Turns on display of vertical ticklines at each tick location.
Sets length in pixels of tick lines.
Auto Trait Implementations
impl RefUnwindSafe for TkTimeChart
impl Send for TkTimeChart
impl Sync for TkTimeChart
impl Unpin for TkTimeChart
impl UnwindSafe for TkTimeChart
Blanket Implementations
Mutably borrows from an owned value. Read more