Ovilia commented on code in PR #21224:
URL: https://github.com/apache/echarts/pull/21224#discussion_r2314790157
##########
src/chart/gauge/GaugeView.ts:
##########
@@ -564,6 +564,11 @@ class GaugeView extends ChartView {
const progress = progressList[idx];
progress.useStyle(data.getItemVisual(idx, 'style'));
progress.setStyle(itemModel.getModel(['progress',
'itemStyle']).getItemStyle());
+ if (progress.style.fill === 'auto') {
+ progress.setStyle('fill', getColor(
Review Comment:
This seems to be the same as in the above `pointer`. Let's create a
`autoColor` after the `const emphasisDisabled = emphasisModel.get('disabled');`
line like:
```ts
const autoColor = (showPointer || showProgress)
? getColor(...)
: null;
```
--
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]