GitHub user kodomoyeh added a comment to the discussion: Changing Dashboard 
'Big Number with Trendline chart' background color & adding additional suffix 
to display value

In the superset 6.0.0 
\superset-frontend\plugins\plugin-chart-echarts\src\BigNumber\BigNumberWithTrendline\transformProps.ts
LN#139
  let className = '';
  if (percentChange > 0) {
    className = 'positive';
  } else if (percentChange < 0) {
    className = 'negative';
  }
  
  So the original request would be solved after adding dashboard css like : 
  .dashboard-component:has(.positive) {
  background: #3F9C55;
}
.dashboard-component:has(.negative) {
  background: #9C3F55;
}


GitHub link: 
https://github.com/apache/superset/discussions/32811#discussioncomment-15679174

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to