Articles in this section
Category / Section

How can I export the chart without drawing the border in the Excel sheet?

1 min read

You can export a chart without drawing the border in the Excel chart by using the following code snippets.

C#

// Export chart without drawing border.
chart.ChartArea.Border.LinePattern=ExcelChartLinePattern.None;

VB

' Export chart without drawing border.

chart.ChartArea.Border.LinePattern=ExcelChartLinePattern.None

 

Here is the sample for your reference:

Chart_Border.zip

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments
Please  to leave a comment
Access denied
Access denied