-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Ability to change color and order of series on bar chart #23093
Comments
Thanks for opening this! @slshults |
@pauldambra @Twixes Any chance this can get picked up? If not, maybe someone can guide me a little so I know how to contribute :) |
Hi @niels-bosman – we haven't been able to prioritize this short-term, but definitely happy to take contributions! If you'd like to contribute to PostHog, follow our "Developing locally" guide and skim through our "Engineering" handbook section overall (e.g. conventions). As for concrete solutions here, I think a simple potential one could be a "Breakdown coloring" selector in visualization options (see screenshot below), with two values:
|
related ticket: #17593 |
+1 #23093 |
@Twixes, I am interested in adding this feature that allowed user to change color for the graph. This way user could have the ability to choose the color for the charts. My current implementation is to show the series name on the option dropdown and make a drop down that have color options, I have created a prototype UI that looks as below, Based on my current understanding, selecting a color would updates the graph's color and reflects this change on the dashboard. Any thoughts and suggestions on how to update the color for each charts after a color is selected. Any relevant files or methods would be helpful. From my observations, it seems the the color option are defined in the |
When you think it will be done? This will allow us to have same color in all bar charts and basically standardize colors in one dashboard. |
Feature request
Is your feature request related to a problem?
On a dashboard with similar bar charts, the similar values for the series can be displayed in different order, with different colors, on the different charts.
For example, in the screenshots below, each of the charts show two feedback responses, a
Positive
series, and aNegative
series, but the colors and positions are reversed in the first chart, as compared to the other charts.The first of the charts shows the bars for
Negative
responses in blue, in the lower part of the chart:However, for both of the other two charts, the bars for
Negative
responses appear in purple, in the top part of the chart:Describe the solution you'd like
We'd like to be able to control the color and relative position of each series so that similar charts will appear similarly when displayed side-by-side in dashboards.
Additional context
From: https://posthoghelp.zendesk.com/agent/tickets/14758
Debug info
No response
The text was updated successfully, but these errors were encountered: