boxplot 1.0.3 copy "boxplot: ^1.0.3" to clipboard
boxplot: ^1.0.3 copied to clipboard

outdated

A Canvas based boxplot library for Dart Web projects. The component draws a box plot on a Canvas with a predefined min, q1, q2, q3, and max where q1 and q3 are the first and the third quartiles and q2 [...]

example/boxplot_example.dart

import 'dart:html';
import 'package:boxplot/boxplot.dart';

void main() {
  DivElement mydiv = querySelector("#mydiv");
  BoxPlot boxplot = new BoxPlot(500, 200);
  boxplot.setQuantiles(0, 30, 60, 86, 100);
  mydiv.append(boxplot.getDrawableComponent());


  RangeInputElement myrange = querySelector("#myrange");
  myrange.onInput.listen((event) {
    boxplot.setValue(double.parse(myrange.value));
    boxplot.drawComponent();
  });
}
1
likes
0
pub points
8%
popularity

Publisher

unverified uploader

A Canvas based boxplot library for Dart Web projects. The component draws a box plot on a Canvas with a predefined min, q1, q2, q3, and max where q1 and q3 are the first and the third quartiles and q2 is the median, respectively. A single point is also drawn for displaying a specific value on the plot.

Homepage

License

unknown (LICENSE)

More

Packages that depend on boxplot