Add
内容
[
隐藏
]Add(ChartType, int, int, int, int)
将图表添加到集合中。
public int Add(ChartType type, int upperLeftRow, int upperLeftColumn, int lowerRightRow,
int lowerRightColumn)
| 范围 | 类型 | 描述 |
|---|---|---|
| type | ChartType | 图表类型 |
| upperLeftRow | Int32 | 左上行索引。 |
| upperLeftColumn | Int32 | 左上列索引。 |
| lowerRightRow | Int32 | 右下行索引 |
| lowerRightColumn | Int32 | 右下列索引 |
返回值
Chart对象索引。
也可以看看
- enum ChartType
- class ChartCollection
- 命名空间 Aspose.Cells.Charts
- 部件 Aspose.Cells
Add(ChartType, string, bool, int, int, int, int)
将图表添加到集合中。
public int Add(ChartType type, string dataRange, bool isVertical, int topRow, int leftColumn,
int rightRow, int bottomColumn)
| 范围 | 类型 | 描述 |
|---|---|---|
| type | ChartType | 图表类型 |
| dataRange | String | 指定图表的数据范围 |
| isVertical | Boolean | 指定是按行还是按列从一系列单元格值中绘制系列。 |
| topRow | Int32 | 左上行索引。 |
| leftColumn | Int32 | 左上列索引。 |
| rightRow | Int32 | 右下行索引 |
| bottomColumn | Int32 | 右下列索引 |
返回值
Chart对象索引。
也可以看看
- enum ChartType
- class ChartCollection
- 命名空间 Aspose.Cells.Charts
- 部件 Aspose.Cells