You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "christophorapg (via GitHub)" <gi...@apache.org> on 2025/05/22 18:16:32 UTC
[D] Feature request: add up/down arrows to bar chart indicating relative increase/decrease from prior period [superset]
GitHub user christophorapg created a discussion: Feature request: add up/down arrows to bar chart indicating relative increase/decrease from prior period
## Screenshot

## Description
I want to make this kind of bar chart with the up dan down arrows, just like the picture attached above, in Superset. I made the chart and arrows in Tableau. Could anybody please show me the way to make them in Superset? Thank you in advance.
## Design input
[describe any input/collaboration you'd like from designers, and
tag accordingly. For design review, add the
label `design:review`. If this includes a design proposal,
include the label `design:suggest`]
GitHub link: https://github.com/apache/superset/discussions/33565
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Feature request: add up/down arrows to bar chart indicating relative increase/decrease from prior period [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
GitHub user rusackas added a comment to the discussion: Feature request: add up/down arrows to bar chart indicating relative increase/decrease from prior period
Wouldn't the Waterfall chart work great for this? It can make the bars green when they go up and red when they go down.
GitHub link: https://github.com/apache/superset/discussions/33565#discussioncomment-13237901
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Feature request: add up/down arrows to bar chart indicating relative increase/decrease from prior period [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
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 notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Feature request: add up/down arrows to bar chart indicating relative increase/decrease from prior period [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
GitHub user sfirke added a comment to the discussion: Feature request: add up/down arrows to bar chart indicating relative increase/decrease from prior period
Those arrows show % change relative to a prior period? That is not currently possible. In addition to the waterfall chart, you might try the "Big Number with Trendline" chart - it can compare to a prior period. And I think I saw there's a time-series table chart that just got a big overhaul in the latest release when it comes to comparing to a prior time period.
Granted the Big Number with Trendline will only show for one series, not many like in your chart. And a table doesn't visualize as nicely. So I get that these aren't complete substitutes.
I'm going to convert this to a feature request discussion since it's not a bug that needs to be fixed.
GitHub link: https://github.com/apache/superset/discussions/33565#discussioncomment-13237902
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org