I dont think drupal can help you here. This is being rendered by client side javascript not by drupal.
A drupal theme can override the CSS but thats all it can do.
A custom module could replace the javascript with your own - but that would be quite likely to break in future APIC updates.
If they have a valid requirement then you can raise it as an RFE for consideration in the product - the RFE would need to be around the actual colour changes they want, I think an RFE to be able to customise the chart rendering is pretty unlikely to happen simply due to how the code works.
For now I think the simple answer is "you can't", I'm afraid.
The current colours pass accessibility testing as far as I know. There are a lot more HTTP status codes than you might think so there is quite a list of colours that chart uses. It even supports "418 I'm a Teapot"! ;-)

------------------------------
Chris Dudley
------------------------------
Original Message:
Sent: Fri March 08, 2024 03:05 AM
From: Ephraim Gadsby
Subject: APIC v10 saas version - change color of the Analytics chats for apllications and customer orgs on developer portal
I agree that for the majority of cases applying the standard red green orange pattern is the way to go, and for the main scenario there is no interest to add parameters here. I was just trying to figure out how to use the flexibility of drupal to hack this trough.
------------------------------
Ephraim Gadsby
Original Message:
Sent: Fri March 08, 2024 01:39 AM
From: Chris Dudley
Subject: APIC v10 saas version - change color of the Analytics chats for apllications and customer orgs on developer portal
You can't access anything in the JavaScript, so won't be able to do anything with carbon charts.
You can apply custom css but that's basically it, and I don't think that will be sufficient to do what you want.
from a usability point of view wanting to highlight success calls in red is a bit of a bizarre decision.
------------------------------
Chris Dudley
Original Message:
Sent: Tue March 05, 2024 04:31 PM
From: Ephraim Gadsby
Subject: APIC v10 saas version - change color of the Analytics chats for apllications and customer orgs on developer portal
We need to customise the developer portal so that the colours corresponding to different values on the charts can be changed.
Specifically, on the doughnut chart we want all 200xx responses to be red and the 500xx responses to be grey.
It looks like the charts implemented with Carbon Charts https://charts.carbondesignsystem.com/?path=/story/utility-colors--custom-colors-line.
However, we are still trying to figure out how to access the transcodification parameters to implement a new colour scheme with custom colours without running the risk of getting into trouble after future upgrades. Changing only the subschema is definitely not enough.
Please help if there is a documented way to do this.
------------------------------
Edouard CHEVTCHOUK
------------------------------