Home > Topics > excel > body text

Excel charts are divided into independent charts and what?

藏色散人
Release: 2020-02-11 09:47:42
Original
16304 people have browsed it

Excel charts are divided into independent charts and what?

Excel charts are divided into independent charts and what?

Excel charts are divided into independent charts and embedded charts.

Charts can exist in two ways in a worksheet:

Embedded charts are together with the data in the worksheet, or together with other embedded charts.

Chart worksheets are specific worksheets that contain only individual charts.

Embedded charts

Embedded charts are the best choice when you want the chart to be part of the worksheet, together with data or other charts. The Chart object represents each embedded chart and is contained in the ChartObject object.

Each Excel worksheet has a ChartObjects collection that contains each embedded chart in the worksheet. In order to add a new embedded chart in the worksheet, add a ChartObject object in the collection. The syntax is:

WorksheetObject.ChartObjects.Add(Left,Top,Width,Height)
Copy after login

Among them, the parameters Left and Top specify the position of the upper left corner of the chart, and the parameters Width and Height specify Chart size. All 4 parameters are in points. This method returns a reference to the newly created ChartObject object, using the Chart property to reference the contained chart.

For more Excel-related technical articles, please visit the Excel Basic Tutorial column!

The above is the detailed content of Excel charts are divided into independent charts and what?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template