Struct rstk::chart::xy_plots::TkXYPlot[][src]

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

Refers to an xy_plot

Fields

id: String

Implementations

Draws a box-and-whiskers image on plot, in x direction.

Draws a box-and-whiskers image on plot, in y direction.

Draws filled contours for the given values on the grid.

  • x_coords is a slice of lists of x-coordinates
  • y_coords is a slice of lists of y-coordinates
  • values is a slice of lists of values at each (x, y) position
  • classes is a slice of class levels (leave empty for default).

Draws contour lines for the given values on the grid.

  • x_coords is a slice of lists of x-coordinates
  • y_coords is a slice of lists of y-coordinates
  • values is a slice of lists of values at each (x, y) position
  • classes is a slice of class levels (leave empty for default).

Draws contour lines for the given values on the grid.

  • x_coords is a slice of lists of x-coordinates
  • y_coords is a slice of lists of y-coordinates
  • values is a slice of lists of values at each (x, y) position
  • classes is a slice of class levels (leave empty for default).

Draws a dot - value determines symbol/colour.

Draws grid cells as lines connecting the given coordinates.

  • x_coords is a slice of lists of x-coordinates
  • y_coords is a slice of lists of y-coordinates

Adds a vertical error interval to chart.

  • series - name of data series
  • x_coord - x-coordinate
  • y_min - minimum y-value
  • y_max - maximum y-value

Adds a vertical error interval to chart with central symbol.

  • series - name of data series
  • x_coord - x-coordinate
  • y_min - minimum y-value
  • y_max - maximum y-value
  • y_centre - position of symbol

Draws a dot with a text label.

See TkChartDots for configuration options.

Draws a horizontal band on chart.

  • series - name of data series
  • x_coord - x-coordinate
  • y_min - minimum y-value
  • y_max - maximum y-value

Draws a closed polygon, using given points.

Draws a vector on chart.

  • series - name of data series
  • (x, y) - coordinate for arrow
  • (u, v) - depending on configuration, can be source point or angle, etc.

Use vector_CONFIG methods to alter display of vector.

Adds contour classes to the legend as coloured lines.

  • values is a slice of lists of values at each (x, y) position
  • classes is a slice of class levels (leave empty for default).

Adds contour classes to the legend as coloured rectangles.

  • values is a slice of lists of values at each (x, y) position
  • classes is a slice of class levels (leave empty for default).

Plots a single point.

Plots a list of points.

  • every - set to true if a symbol should be drawn for every point

Plots a single point, like plot, but includes a +/- s.d. line on chart.

Plots points for a trendline.

Sets whether coordinates specify start or centre of vector arrow.

Sets colour of vector arrow.

Sets scale factor for converting vector length into pixels.

Sets scale factor for converting vector length into pixels.

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 of dots in given data series.

Defines class limits and colours, e.g. [(0.0, “green”), (2.0, “red”), …]

Sets a 3D effect for dots in given data series.

Sets whether an outline should be displayed for dots in given data series. Read more

Sets radius for dots in given data series.

Sets scale factor of radius to pixels for dots in given data series.

Sets whether dots in given data series should all have the same size (false) or be scaled by value (true). Read more

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.