Avoid cryptic "200m" axis items for really small values by setting
a default minimal y-axis max value for some of the conntrack, cpu,
cpufreq, load and ping graphs (mainly percentages). The axis
automatically scales upward if necessary, so this just provides
a minimal "at least" scale for the y-axis.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
vlabel: "Percent",
number_format: "%5.1lf%%",
y_min: "0",
+ y_max: "2",
alt_autoscale_max: true,
data: {
instances: {
var percent = {
title: title,
y_min: "0",
+ y_max: "2",
alt_autoscale_max: true,
vlabel: "Percent",
number_format: "%5.1lf%%",
p = {
title: title,
y_min: "0",
+ y_max: "2",
alt_autoscale_max: true,
vlabel: "Percent",
number_format: "%5.1lf%%",
detail: true,
title: "%H: Frequency transitions - core %pi",
alt_autoscale: true,
+ y_min: "0",
+ y_max: "2",
vlabel: "Transitions",
number_format: "%3.2lf%s",
data: {
title: "%H: Load",
vlabel: "Load",
y_min: "0",
+ y_max: "0.2",
units_exponent: "0",
number_format: "%5.2lf",
data: {
var droprate = {
title: "%H: ICMP Drop Rate",
vlabel: "%",
+ y_min: "0",
+ y_max: "4",
number_format: "%5.2lf %%",
data: {
types: [ "ping_droprate" ],
var stddev = {
title: "%H: ICMP Standard Deviation",
vlabel: "ms",
+ y_min: "0",
+ y_max: "1",
number_format: "%5.1lf ms",
data: {
types: [ "ping_stddev" ],