Skip to content

Commit

Permalink
fix(config): sw-707 openshift-metrics graph x-axis (#1009)
Browse files Browse the repository at this point in the history
* config, set isStacked, render as on-demand ticks
  • Loading branch information
cdcabrera committed Dec 5, 2022
1 parent f5e36a1 commit 91ad7d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ exports[`Redirect Component should handle existing routes: existing route 1`] =
{
"color": "#06c",
"fill": "#8bc1f7",
"isStacked": false,
"metric": "Cores",
"stroke": "#06c",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`Product OpenShift Metrics config should apply graph configuration: filt
"fill": "#8bc1f7",
"id": "Cores",
"isCapacity": false,
"isStacked": true,
"isStacked": false,
"isStandalone": false,
"isThreshold": false,
"metric": "Cores",
Expand Down
3 changes: 2 additions & 1 deletion src/config/product.openshiftMetrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ const config = {
metric: RHSM_API_PATH_METRIC_TYPES.CORES,
fill: chartColorBlueLight.value,
stroke: chartColorBlueDark.value,
color: chartColorBlueDark.value
color: chartColorBlueDark.value,
isStacked: false
}
],
initialGraphSettings: {
Expand Down

0 comments on commit 91ad7d3

Please sign in to comment.