dosubot[bot] commented on issue #30401:
URL: https://github.com/apache/superset/issues/30401#issuecomment-2375989589
<!-- Answer -->
To change the color of the chart axis in a canvas type chart, you can modify
the `axisLine` property within the `series` configuration. Specifically, you
need to set the `color` attribute within the `lineStyle` of `axisLine`.
Here is an example of how you can do this:
```ts
const axisLine = {
roundCap,
lineStyle: {
width: axisLineWidth,
color: 'white', // Set your desired color here
},
};
```
This will change the color of the chart axis to white
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]