Label axes on RTT histogram

This commit is contained in:
Herbert Wolverson 2024-06-29 10:10:52 -05:00
parent 671614f3b8
commit ccb9047400

View File

@ -11,15 +11,17 @@ export class RttHistogram extends DashboardGraph {
value: i, value: i,
itemStyle: {color: lerpGreenToRedViaOrange(20-i, 20)}, itemStyle: {color: lerpGreenToRedViaOrange(20-i, 20)},
}); });
axis.push(i.toString()); axis.push((i*10).toString());
} }
this.option = { this.option = {
xAxis: { xAxis: {
type: 'category', type: 'category',
data: axis, data: axis,
name: "RTT"
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
name: "Samples"
}, },
series: { series: {
data: d, data: d,