Skip to content

Commit 319a881

Browse files
committed
chnaged the color in pichart for credential representation
1 parent 05c5310 commit 319a881

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/mixins/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default {
146146
const seconds = diffInSeconds % 60; // Remaining seconds
147147

148148
// Format the output string
149-
return `${months > 0 ? months + ' months ' : ''}${days > 0 ? days + ' days ' : ''}${hours} hrs ${minutes} min ${seconds} sec`;
149+
return `${months > 0 ? months + ' month ' : ''}${days > 0 ? days + ' day ' : ''}${hours} hr ${minutes} min ${seconds} sec`;
150150
},
151151

152152
getStatus(sessionDetails) {

src/views/playground/SSIDashboardUsages.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ export default {
592592
pointRadius: 1,
593593
pointHitRadius: 1,
594594
fill: true,
595-
backgroundColor: this.chartType == 'line' ? 'rgba(220, 220, 220, 0.2)' : 'lightgrey',
595+
backgroundColor: this.chartType == 'line' ? 'rgba(220, 220, 220, 0.2)' : '#ffa500b3',
596596
tension: 0.2,
597597
stack: 'Stack 0',
598598
borderDash: [5, 5]
@@ -633,10 +633,9 @@ export default {
633633
label: 'Usage Count',
634634
data: pieData,
635635
backgroundColor: [
636-
// '#ffa500b3',
637636
'#228b22b0',
638637
'#cd5c5cc4',
639-
'#d3d3d3b8',
638+
'#ffa500b3'
640639
]
641640
}]
642641
},

0 commit comments

Comments
 (0)