Forum Discussion

Varan_15's avatar
Varan_15
Icon for Helper III rankHelper III
3 years ago

stacked bar chart view issue

Hi All,

 

I have used line and stacked column chart by splitting 100 %  its' working fine. But i want to show the total number value on top of the bar chart each category. when we used line and reduced "stroke width" it's coming values inside bar chart.

 

Kindly suggest

 

highlighted total values should show on top.

3 Replies

  • Hi Varan_15 ,

     

    Based on  your description, I have created a simple sample:

    Usually your y-axis and second y-axis are opposite each other, which causes your line chart to overlap with the stacked bar chart. You can make the line chart above the bar by adjusting the interval between the two y-axes, like this:

    Final output:

    Best Regards,

    Jianbo Li

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Varan_15's avatar
      Varan_15
      Icon for Helper III rankHelper III

      Hi v-jianboli-msft ,

       

      Thanks for your reply, but still there is a gap between barchart and line..  the value should be on barchart outside end.

       

      Thanks,

      Varan

  • Hi Varan_15 ,

     

    According to my knowledge, since your line graphs don't have consistent values, it's hard to keep them consistent at the top of a stacked bar chart, perhaps you could consider using a single stacked bar chart and adding text boxes to them where you can enter the sum of each data, which might achieve the result you want.

     

    Best Regards,

    Jianbo Li

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.