Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Creates a copy of the specified chart and adds it to the current worksheet. This method allows you to add a chart from an external workbook to the worksheet, or to duplicate a chart within a single workbook. The properties and settings on the original chart will be preserved

Signature
C#
C#
 public void AddChart(Chart chart, Anchor cornerTopLeft)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Sub AddChart(ByVal chart As Chart, ByVal cornerTopLeft As Anchor)
{signature}
{parameters}
{param:chart}The new Chart to add to the workbook.{param}
{param:cornerTopLeft}The location on the new worksheet to anchor the upper left corner of the chart.{param}
Parameters
Param
chart
chart

The new Chart to add to the workbook.

Param
cornerTopLeft
cornerTopLeft

The location on the new worksheet to anchor the upper left corner of the chart.