Windows Forms 3D Chart rectangle

When rendering a 3D Chart Column Chart, I'm hiding the Y axis, leaving just the X axis labels visible (hiding their ticks). But somehow the rectangle box around the chart area is still even when both axes are set to IsVisible false. What property can I set to turn it off? I've attached two pictures in a zip, one with the current output e the other with the desired one. Thanks in advance!

Attachment: example_aacf738d.zip

3 Replies

SK Sanjith Kesavan Syncfusion Team August 31, 2018 12:27 PM UTC

Hi Saulo, 

Thanks for contacting Syncfusion support. We have analyzed your query and prepared sample as per your requirement. IsVisible property of the axis is used to toggle the visibility of the axis. Rectangle box around the chart area is called 3D wall. To disable the wall, kindly use the below code.  

[C#] 
chart.PrimaryXAxis.GridLineType.Pen.Color = Color.Transparent; 
chart.PrimaryYAxis.GridLineType.Pen.Color = Color.Transparent; 

In the above code, we have set the Pen color for gridline type as transparent. Please find the output below. 

 

In the below link, we have attached sample for your reference.  
Sample link: 3D-chart 

Kindly check the sample and let us know if you have any concern. 

Thanks, 
Sanjith. 



SA Saulo August 31, 2018 02:18 PM UTC

Thank you, Sanjith, it worked perfectly. 


MK Muneesh Kumar G Syncfusion Team September 3, 2018 09:07 AM UTC

Hi Saulo,

Thanks for the update.

We are glad to know that the given solution works. Please let us know if you need any further assistance.

Regards,
Muneesh Kumar G.

Loader.
Up arrow icon