Struct rstk::chart::histogram::TkHistogram[][src]

pub struct TkHistogram {
    pub id: String,
}
Expand description

Refers to a histogram

Fields

id: String

Implementations

Plots a single bar - the x-value defines the right-hand side of the bar.

Plots a single bar, accumulating the previous values. The x-value defines the right-hand side of the bar.

Sets display-style of histogram.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Sets colour for displaying data series

Sets drawing mode for displaying data series (called “type” in tklib’s plotchart documentation). Read more

Used to select whether to fill the area above or below the line of data series. Read more

Sets colour to use when drawing filled area.

Sets width of line for displaying data series

Sets symbol type and radius for displaying data series

Returns the widget’s id reference - used within tk

Sets the background colour for the axes.

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.

Erases this plot and all associated resources.

Adds a line to legend for given data series.

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.

Saves chart to a file in postscript format.

Sets subtitle of chart.

Sets title of chart.

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 tcl format string for numbers, see Tk manual 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 title of the (horizontal) x-axis.

Sets tcl format string for numbers, see Tk manual Read more

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.

Sets title of the (vertical) y-axis.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.