superset icon indicating copy to clipboard operation
superset copied to clipboard

dist_bar in the dashbord can't show show_bar_value

Open anddyhuaa opened this issue 9 years ago • 8 comments

see the following config params,show_bar_value is set 'y' but when severcal slices added to the dashbord,they can't show the values utterly, and it's ok in the slice edit view { "add_to_dash": "false", "bar_stacked": "y", "bottom_margin": "auto", "collapsed_fieldsets": "", "contribution": "false", "datasource_id": "105", "datasource_name": "report_pay_t0_m", "datasource_type": "table", "flt_col_0": "", "flt_eq_0": "", "flt_op_0": "in", "goto_dash": "false", "groupby": [ "month" ], "having": "", "metrics": [ "sum__pay_amt" ], "new_dashboard_name": "", "new_slice_name": "", "order_bars": "y", "rdo_save": "overwrite", "reduce_x_ticks": "false", "row_limit": "50000", "save_to_dashboard_id": "", "show_bar_value": "y", "show_controls": "false", "show_legend": "false", "since": "100 years ago", "slice_id": "57", "slice_name": "t0\u4ed8\u6b3e\u6309\u6708\u7edf\u8ba1", "until": "now", "userid": "1", "viz_type": "dist_bar", "where": "", "x_axis_label": "", "y_axis_format": ".3s", "y_axis_label": "" }

Superset version

Expected results

Actual results

Steps to reproduce

anddyhuaa avatar May 09 '17 10:05 anddyhuaa

Please fill the required information in the issue template.

xrmx avatar May 09 '17 11:05 xrmx

It looks like an old version, values should be true or false, not 'true' or 'y'

mistercrunch avatar May 10 '17 03:05 mistercrunch

there are any additional info? Superset version "GIT_SHA": "", "version": "0.15.4"} Actual results 20170510165730

anddyhuaa avatar May 10 '17 09:05 anddyhuaa

@anddyhuaa you should file issues only after checking that latest release have still the same problem.

xrmx avatar May 10 '17 09:05 xrmx

issue1 Hi All,

We are getting Data Labels on the above Bar, but we are unable to get labels on stacked bar. issue

ramugr8 avatar May 11 '17 07:05 ramugr8

it seems has been fiexed in the newest version 0.17.6. as to uprade to this version, i had to export the old version dashboard 0.15.4 to this version and got errors, but i forgot to take down the errors,so i reconfigured all of the slices and dashbords manually one by for the whole day one /sadly

anddyhuaa avatar May 18 '17 03:05 anddyhuaa

Hi anddyhuaa,

Can you please help me, how can i fix colors for legends/charts ?

ramugr8 avatar May 19 '17 11:05 ramugr8

@ramugr8 your question seems unrelated, I confirm that this issue is fixed in master

mistercrunch avatar May 19 '17 17:05 mistercrunch