ChartCollection

ChartCollection

Overview

ChartCollection is a class in Aspose.Cells FOSS for Java.

Collection of embedded charts on a worksheet.

This class provides 5 methods for working with ChartCollection objects in Java. Available methods include: add, chartTypeToString, get, getCount, parseChartType. All public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: count.

Description

ChartCollection is a class in the Aspose.Cells FOSS library for Java that exposes 5 methods and 1 property for programmatic use.

The class also provides the count property (gets the count).

Properties

NameTypeAccessDescription
countintReadGets the count.

Methods

SignatureDescription
getCount()intReturns the count.
get(index: int)ChartReturns the chart at the given index.
add(type: ChartType, dataRange: String, upperLeftRow: int, upperLeftColumn: int, lowerRightRow: int, lowerRightColumn: int)intAdds a new chart of the given type with the specified data range and anchor.
parseChartType(raw: String)ChartTypeParses a raw string and returns the corresponding ChartType.
chartTypeToString(type: ChartType)StringReturns the string representation of the given ChartType.

See Also