GitHub user dosubot[bot] added a comment to the discussion: Feature request: 
add up/down arrows to bar chart indicating relative increase/decrease from 
prior period

<!-- Greeting -->
Hey @christophorapg! 👋 I'm [Dosu](https://dosu.dev), your friendly bot here to 
help you solve bugs, answer questions, and navigate the world of contributions. 
I'm ready to assist you while we wait for a human maintainer. Let's get 
started! 🎉

<!-- Answer -->
Superset does not natively support custom annotations or markers like arrows 
directly on charts. However, you can achieve similar functionality using 
conditional formatting and custom tooltips or labels.

1. **Conditional Formatting**: You can use the `ConditionalFormattingControl` 
to apply color formatting to indicate percentage changes. This control allows 
you to set conditions for different colors based on percentage changes, which 
can visually represent increases or decreases 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/controlPanel.ts)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.tsx)</sup>.

2. **Custom Tooltips and Labels**: Superset supports dynamic tooltips and 
labels that can display percentage changes. You can configure these to show 
dynamic data, such as percentage changes, using the available options in the 
chart settings 
<sup>[[4]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/Funnel/controlPanel.tsx)</sup><sup>[[5]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/Sunburst/transformProps.ts)</sup><sup>[[6]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.test.ts)</sup>.

For more advanced customization, you might need to explore Superset's plugin 
architecture or consider custom development to add specific icons or 
annotations like arrows.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/2e8f860c-8fbe-4b7e-bcdf-99fd98f4d9db?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/2e8f860c-8fbe-4b7e-bcdf-99fd98f4d9db?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/2e8f860c-8fbe-4b7e-bcdf-99fd98f4d9db?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/2e8f860c-8fbe-4b7e-bcdf-99fd98f4d9db?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/2e8f860c-8fbe-4b7e-bcdf-99fd98f4d9db?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/2e8f860c-8fbe-4b7e-bcdf-99fd98f4d9db?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/2e8f860c-8fbe-4b7e-bcdf-99fd98f4d9db?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33565#discussioncomment-13237900

----
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