public final class GoogleInteractiveChartGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static String |
barChart(StopwatchSample[] samples,
String title,
double divisor,
String unit)
Generates Google bar chart HTML5 source code for the provided samples.
|
public static String barChart(StopwatchSample[] samples, String title, double divisor, String unit)
samples
- stopwatch samplestitle
- chart titledivisor
- value divisor. For example: if values are in ns and ms are required,
divisor should be set to 1000000.unit
- unit shown after values under every bar - TODO currently not usedCopyright © 2019. All rights reserved.