Skip to content

Commit

Permalink
yaxis in seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
bchamagne committed May 27, 2024
1 parent 6fb3aef commit ac04399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/metric_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function initBoxPlotTransactionsAvgDurationChart(el) {
yAxis: {
type: "value",
axisLabel: {
formatter: "{value} ms",
formatter: (value) => value / 1000 + "s",
textStyle: AXIS_STYLE,
},
},
Expand Down Expand Up @@ -150,7 +150,7 @@ export function initNetworkTransactionsAvgDurationChart(el) {
yAxis: {
type: "value",
axisLabel: {
formatter: "{value} ms",
formatter: (value) => value / 1000 + "s",
textStyle: AXIS_STYLE,
},
},
Expand Down

0 comments on commit ac04399

Please sign in to comment.