plainheart commented on code in PR #18100:
URL: https://github.com/apache/echarts/pull/18100#discussion_r1056795925
##########
src/chart/gauge/GaugeView.ts:
##########
@@ -674,7 +674,10 @@ class GaugeView extends ChartView {
seriesModel.get(['progress', 'show']) ?
data.getItemVisual(idx, 'style').fill : autoColor
) as string;
const labelEl = newDetailEls[idx];
- const formatter = itemDetailModel.get('formatter');
+ let formatter = itemDetailModel.get('formatter');
+ if (isArray(formatter)) {
Review Comment:
Anyway, thanks for your work! Issue #18021 raised by @na-am can be easily
solved with the above approach. So I'm going to close this PR. Welcome your
next contribution :) 😀
--
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]