Skip to Content

SAPUI5 timeseries_stacked_column chart displaying empty weeks even though there's no data

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 27 at 03:06 AM

    Could you try stacked_column chart instead? That's by design on timeseries_*** chart.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 26 at 03:34 AM

    Please check https://jsbin.com/romebahoyi/edit?html,output and reduce the chart width by drag and move the division bar (between code area and output quadrant) to the left.

    Differ from the other chart types like stacked_column, the xAxis on timeseries_*** charts are plotted in scale (similar to yAxis, values 20000, 40000, 60000 etc will still be visible on yAxis even there are no plotted bars corresponding to them). That's said, if there are only 2 values (one on CW1 and one on CW12), CW labels in the between (CW 2 to CW11) will still be visible "if width of the chart is big enough".

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Wong,

      Thank you for your reply but I want the chart to be responsive and hence cannot reduce the width. So as per you there's no way to hide the unwanted weeks been plotted on the x-axis like other charts?