Skip to content

Commit

Permalink
fix(config): sw-2966 remove single day x-axis increments
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Sep 25, 2024
1 parent 0554de3 commit a7435e9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ exports[`Product specific configurations should apply graph filters and settings
"ansible-aap-managed": {
"xAxisChartLabel": "t(curiosity-graph.label_axisX, {"context":"Daily"})",
"xAxisLabelIncrement": 1,
"xAxisTickFormatAvailable": true,
"yAxisTickFormat": {
"0.00001345": "0.00001",
"0.0000269": "0.00003",
Expand Down Expand Up @@ -1459,7 +1458,6 @@ exports[`Product specific configurations should apply graph filters and settings
"rosa": {
"xAxisChartLabel": "t(curiosity-graph.label_axisX, {"context":"Daily"})",
"xAxisLabelIncrement": 1,
"xAxisTickFormatAvailable": true,
"yAxisTickFormat": {
"0.00001345": "0.00001",
"0.0000269": "0.00003",
Expand Down Expand Up @@ -1878,7 +1876,6 @@ exports[`Product specific configurations should apply graph filters and settings
"stroke": "#06c",
"xAxisChartLabel": [Function],
"xAxisLabelIncrement": 1,
"xAxisTickFormat": [Function],
"yAxisTickFormat": [Function],
},
},
Expand Down Expand Up @@ -1961,7 +1958,6 @@ exports[`Product specific configurations should apply graph filters and settings
"stroke": "#06c",
"xAxisChartLabel": [Function],
"xAxisLabelIncrement": 1,
"xAxisTickFormat": [Function],
"yAxisTickFormat": [Function],
},
},
Expand Down Expand Up @@ -2620,7 +2616,6 @@ exports[`Product specific configurations should apply graph filters and settings
"stroke": "#06c",
"xAxisChartLabel": [Function],
"xAxisLabelIncrement": 1,
"xAxisTickFormat": [Function],
"yAxisTickFormat": [Function],
},
},
Expand Down Expand Up @@ -2703,7 +2698,6 @@ exports[`Product specific configurations should apply graph filters and settings
"stroke": "#06c",
"xAxisChartLabel": [Function],
"xAxisLabelIncrement": 1,
"xAxisTickFormat": [Function],
"yAxisTickFormat": [Function],
},
},
Expand Down
1 change: 0 additions & 1 deletion src/config/product.ansible.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ const config = {
isCardTitleDescription: true,
xAxisLabelIncrement: 1,
xAxisChartLabel: () => translate('curiosity-graph.label_axisX', { context: GRANULARITY_TYPES.DAILY }),
xAxisTickFormat: ({ tick }) => Number.parseInt(tick, 10) + 1 || tick,
yAxisTickFormat: ({ tick } = {}) => {
if (tick > 1) {
return helpers
Expand Down
1 change: 0 additions & 1 deletion src/config/product.rosa.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ const config = {
isCardTitleDescription: true,
xAxisLabelIncrement: 1,
xAxisChartLabel: () => translate('curiosity-graph.label_axisX', { context: GRANULARITY_TYPES.DAILY }),
xAxisTickFormat: ({ tick }) => Number.parseInt(tick, 10) + 1 || tick,
yAxisTickFormat: ({ tick } = {}) => {
if (tick > 1) {
return helpers
Expand Down

0 comments on commit a7435e9

Please sign in to comment.