[http://www.aditus.nu/jpgraph/ JpGraph] errors out when each row in the summary table contains only a single plotted point (e.g., IMB's Barrier test). Usually there's at least two points that can be rendered as a line connecting the points. For example, the data for a Barrier report might be something like:
reporter.php should catch on that there's only one point per Summary table row, and render another type of graph (e.g., a bar graph). Or at least error out more gracefully than spitting out this error:
{{{
JpGraph Error: A plot has an illegal scale. This
could for example be that you are trying to use
text auto scaling to draw a line plot with only
one point or that the plot area is too small. It
could also be that no input data value is numeric
(perhaps only '-' or 'x')
}}}
[http://www.aditus.nu/jpgraph/ JpGraph] errors out when each row in the summary table contains only a single plotted point (e.g., IMB's
Barrier
test). Usually there's at least two points that can be rendered as a line connecting the points. For example, the data for aBarrier
report might be something like:{{{
mpi-rev #repetitions t_min[usec] t_max[usec] t_avg[usec]
1.3a1r14702 1000 125.25 125.26 125.26 1.3a1r14702 1000 63.49 63.50 63.49 1.3a1r14715 1000 63.12 63.13 63.12 1.3a1r14715 1000 125.74 125.75 125.74 }}}
reporter.php
should catch on that there's only one point per Summary table row, and render another type of graph (e.g., a bar graph). Or at least error out more gracefully than spitting out this error:{{{ JpGraph Error: A plot has an illegal scale. This could for example be that you are trying to use text auto scaling to draw a line plot with only one point or that the plot area is too small. It could also be that no input data value is numeric (perhaps only '-' or 'x') }}}