• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How can I delete shadows in charts?

gossip_boi

New Member
Hi guys. I want to make the chart like in the png file (it was corrected in Paint). I have a problem with filling the figure: if its visibility is null then I can see the contour behind, if visibility is ok then I can see shadows on the figure (check the Excel file). How can I delete those shadows???
 

Attachments

  • Example.png
    Example.png
    2.6 KB · Views: 8
  • how.xlsx
    17 KB · Views: 5
There really isn't a good way to do it.

You can remove 3d shadow using VBA code (since there is no UI to do this), but there are other effects that's not easy to remove from 3d charts.

Following code will remove 3d shading (run it after you click on the chart object).

Code:
Sub Remove3d()
ActiveChart.ChartGroups(1).Has3DShading = False
End Sub

You can go through and test different properties listed in the link to see if you can produce what you are looking for.
https://msdn.microsoft.com/en-us/library/office/dn254151.aspx

Alternately, set it to transparent (visibility null), then you can create another shape to go on top of the chart to hide the bottom line.

Personally, I'd advise against use of 3d charts as it adds nothing of value to data presentation in most cases.
 
Back
Top