Francisco Aspillaga Posted August 24, 2023 Share Posted August 24, 2023 Hi Community,I have the following bar graph and I need all the graphs on the left to be gray, the ones on the right green, except the last one that I need to be yellow.The problem is that if I add the color change, the last "yellow" bar is separated from the green one.Any idea how this could be done? Regards,Francisco Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted August 25, 2023 Share Posted August 25, 2023 Hello Fransisco,I don't think there is any way to achieve that using that "flat" structure you have on the x-axis - each axis value is expected to be able to have up to three values (one for each color) and there is room left for those which causes that separation. Maybe an alternative solution could be to add the color separately to the x/category-axis so you get a hierarchy (see the bar chart at the bottom below). Compare the result for the Foo category, where I have filtered out the Gris values, leaving a gap in the bar chart on top, but no gap in the bottom one. Best RegardsFredrik Link to comment Share on other sites More sharing options...
Francisco Aspillaga Posted August 25, 2023 Author Share Posted August 25, 2023 Thanks Fredrik.Regards, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now