Aspose::Cells::Charts::SparklineGroupCollection::Add method
Contents
[
Hide
]SparklineGroupCollection::Add(SparklineType) method
Adds an SparklineGroup with a Sparkline to the collection.
int32_t Aspose::Cells::Charts::SparklineGroupCollection::Add(SparklineType type)
| Parameter | Type | Description |
|---|---|---|
| type | SparklineType | Specifies the type of the Sparkline group. |
ReturnValue
SparklineGroup object index.
See Also
- Class Vector
- Enum SparklineType
- Class SparklineGroupCollection
- Namespace Aspose::Cells::Charts
- Library Aspose.Cells for C++
SparklineGroupCollection::Add(SparklineType, const U16String&, bool, const CellArea&) method
Adds an SparklineGroup with some Sparkline to the collection.
int32_t Aspose::Cells::Charts::SparklineGroupCollection::Add(SparklineType type, const U16String &dataRange, bool isVertical, const CellArea &locationRange)
| Parameter | Type | Description |
|---|---|---|
| type | SparklineType | Specifies the type of the Sparkline group. |
| dataRange | const U16String& | Specifies the data range of the sparkline group. |
| isVertical | bool | Specifies whether to plot the sparklines from the data range by row or by column. |
| locationRange | const CellArea& | Specifies where the sparklines to be placed. |
ReturnValue
SparklineGroup object index.
Remarks
This method will create sparklines too. If isVertical is true, the number of rows in dataRange and locationRange must be same. If isVertical is false, the number of columns in dataRange and locationRange must be same.
See Also
- Class Vector
- Enum SparklineType
- Class U16String
- Class CellArea
- Class SparklineGroupCollection
- Namespace Aspose::Cells::Charts
- Library Aspose.Cells for C++
SparklineGroupCollection::Add(SparklineType, const char16_t*, bool, const CellArea&) method
Adds an SparklineGroup with some Sparkline to the collection.
int32_t Aspose::Cells::Charts::SparklineGroupCollection::Add(SparklineType type, const char16_t *dataRange, bool isVertical, const CellArea &locationRange)
| Parameter | Type | Description |
|---|---|---|
| type | SparklineType | Specifies the type of the Sparkline group. |
| dataRange | const char16_t* | Specifies the data range of the sparkline group. |
| isVertical | bool | Specifies whether to plot the sparklines from the data range by row or by column. |
| locationRange | const CellArea& | Specifies where the sparklines to be placed. |
ReturnValue
SparklineGroup object index.
Remarks
This method will create sparklines too. If isVertical is true, the number of rows in dataRange and locationRange must be same. If isVertical is false, the number of columns in dataRange and locationRange must be same.
See Also
- Class Vector
- Enum SparklineType
- Class CellArea
- Class SparklineGroupCollection
- Namespace Aspose::Cells::Charts
- Library Aspose.Cells for C++