add
Contents
[
Hide
]add(ChartDataCell chartDataCell) method
If category exists in collection, return it. Else creates new chart category from IChartDataCell and adds it to the collection.
Parameters
Name | Type | Description |
---|---|---|
chartDataCell | ChartDataCell | Cell used to create chart category. |
Returns
add(Object value) method
Creates new ChartCategory from value and adds it to the collection.
Parameters
Name | Type | Description |
---|---|---|
value | Object | The value. This method adds worksheet with name AUTO_DATA and adds all values there. If you use ChartDataWorkbook to add or edit cell values, be sure that you do not use this worksheet Maximum number of values added using this method must not exceed 16711680 |
Returns
Exception
Exception | Condition |
---|---|
InvalidOperationException | if limit exceeded |