superset icon indicating copy to clipboard operation
superset copied to clipboard

Issue with data labels Distribution Bar Chart when stacked

Open ramugr8 opened this issue 9 years ago • 9 comments

Hi All,

When we are working with Distribution Bar chart, we are able to show data labels when multiple bar, but when we are going to show stacked bar then we are unable to show data labels. Attached the screenshot for your review.

Could you please help us.

Superset v

issue issue1

ersion

Expected results

Actual results

Steps to reproduce

ramugr8 avatar May 11 '17 07:05 ramugr8

An easy fix would be to simply disable the labels when in stacked mode.

mistercrunch avatar May 12 '17 16:05 mistercrunch

Thank you! We need to show values on stacked bar, is there any other options.

ramugr8 avatar May 15 '17 09:05 ramugr8

Not at the moment no

mistercrunch avatar May 18 '17 15:05 mistercrunch

Thank you! Also i need another help, hope you can solve. Could you please guide me how to fix colors for legend/charts.

ramugr8 avatar May 19 '17 10:05 ramugr8

fixed in master

mistercrunch avatar May 19 '17 17:05 mistercrunch

Has the issue been resolved since opening? I still see that stacked bar values are not dynamic.

Would it also be possible to list the values of the breakdowns as well?

image

image

Stevie337 avatar Jan 15 '18 13:01 Stevie337

Hi,

Is there a way to correct this ? Since the computation exist (when editing or filtering you can go from stacked to grouped with labels correctly displayed), this should only be a refresh issue.

Cheers

amine5822003 avatar Aug 09 '18 21:08 amine5822003

any idea for stacked bar values not changing with the filtering ?

wenchma avatar Oct 26 '18 09:10 wenchma

@mistercrunch which commit to fix this issue?

wenchma avatar Oct 26 '18 09:10 wenchma