I want that the chartarea is no background color and no any border, with macro i can use this code :
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveSheet.Shapes("Chart 1").Fill.Visible = msoFalse
ActiveSheet.Shapes("Chart 1").Line.Visible = msoFalse
With spire.xls i have tryed the next code,but it does't work for me,what can i do to set the background and border off?
chart.Fill.Visible = false;
chart.Line.Visible = false;