Function rstk::chart::xy_plots::make_x_y

source ·
pub fn make_x_y(
    canvas: &TkCanvas,
    x_axis: (f64, f64, f64),
    y_axis: (f64, f64, f64)
) -> TkXYDefinition
Expand description

Creates an xy_plot.

Constructor creates an instance of an XY plot definition in given canvas.

Options must be added and then ‘plot’ called to finally create the chart.