pub fn make_ternary_diagram(
    canvas: &TkCanvas,
    fractions: bool,
    steps: u64
) -> TkTernaryDiagram
Expand description

Creates an instance of a ternary diagram in given canvas.

  • fractions - set to true to show values in range [0, 1] instead of as a percentage.
  • steps - number of labels to show on each side