Skip to content

Commit

Permalink
Merge pull request #201 from loick111/bugfix/histogram_buckets
Browse files Browse the repository at this point in the history
Fix x_axis_buckets value when histogram mode
  • Loading branch information
trotttrotttrott authored Apr 26, 2020
2 parents 4e2d5ac + 0905313 commit 0a085a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafonnet/graph_panel.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
mode: x_axis_mode,
name: null,
values: if x_axis_mode == 'series' then [x_axis_values] else [],
buckets: if x_axis_mode == 'histogram' then [x_axis_buckets] else null,
buckets: if x_axis_mode == 'histogram' then x_axis_buckets else null,
[if x_axis_min != null then 'min']: x_axis_min,
[if x_axis_max != null then 'max']: x_axis_max,
},
Expand Down

0 comments on commit 0a085a0

Please sign in to comment.