com.aspose.slides
Interface IChartData

All Known Implementing Classes:
ChartData

public interface IChartData

Represents data used for a chart plotting.


Method Summary
 IChartCategoryCollection getCategories()
           Gets the primary categories (or both primary and secondary categories if UseSecondaryCategories property is false).
 IChartDataWorkbook getChartDataWorkbook()
           Gets the cells factory to create cells used for chart series or categories.
 IChartCategoryCollection getSecondaryCategories()
           Gets the secondary categories if UseSecondaryCategories property is true.
 IChartSeriesCollection getSeries()
           Gets the series.
 IChartSeriesGroupCollection getSeriesGroups()
           Gets the groups of series.
 boolean getUseSecondaryCategories()
           If false then SecondaryCategories property return null and data in Categories property is used both for primary and secondary series.
 byte[] readWorkbookStream()
           Writes the internally contained Excel workbook it into an in-memory stream.
 void setUseSecondaryCategories(boolean value)
           If false then SecondaryCategories property return null and data in Categories property is used both for primary and secondary series.
 void writeWorkbookStream(byte[] ms)
           Initializes the internally contained Excel workbook with user-specified value.
 

Method Detail

getChartDataWorkbook

IChartDataWorkbook getChartDataWorkbook()

Gets the cells factory to create cells used for chart series or categories. Read-only IChartDataWorkbook.


getSeries

IChartSeriesCollection getSeries()

Gets the series. Read-only IChartSeriesCollection.


getSeriesGroups

IChartSeriesGroupCollection getSeriesGroups()

Gets the groups of series. Read-only IChartSeriesGroupCollection.


1) Each group of series contains series with combinable types. Groups of combinable series types defined and described with CombinableSeriesTypesGroup enum. Also each group of series contains series witch is plotted whether on primary axes or on secondary axes (not both cases in one group). So, principle of series grouping is a grouping by type groups mentioned above and by primary/secondary plotting type. 2) Group of series contains some series properies whitch is common for each series in group ("series group properties"). "Series group properties" in ChartSeriesGroup class is read/write. Each of "series group properties" can have a read-only projection in ChartSeries class.


getCategories

IChartCategoryCollection getCategories()

Gets the primary categories (or both primary and secondary categories if UseSecondaryCategories property is false). Read-only IChartCategoryCollection.


If UseSecondaryCategories property is false then SecondaryCategories property return null and data in this Categories property is used both for primary and secondary series. If UseSecondaryCategories property is true then data in SecondaryCategories property is used for secondary series and data in this Categories property is used for primary series. Example. What categories are related to series - getChartData().getCategories() or getChartData().getSecondaryCategories()?


getUseSecondaryCategories

boolean getUseSecondaryCategories()

If false then SecondaryCategories property return null and data in Categories property is used both for primary and secondary series. If true then data in SecondaryCategories property is used for secondary series and data in Categories property is used for primary series. Example. What categories are related to series - getChartData().getCategories() or getChartData().getSecondaryCategories()?


setUseSecondaryCategories

void setUseSecondaryCategories(boolean value)

If false then SecondaryCategories property return null and data in Categories property is used both for primary and secondary series. If true then data in SecondaryCategories property is used for secondary series and data in Categories property is used for primary series. Example. What categories are related to series - getChartData().getCategories() or getChartData().getSecondaryCategories()?


getSecondaryCategories

IChartCategoryCollection getSecondaryCategories()

Gets the secondary categories if UseSecondaryCategories property is true. Read-only IChartCategoryCollection.


If UseSecondaryCategories property is false then this SecondaryCategories property return null and data in Categories property is used both for primary and secondary series. If UseSecondaryCategories property is true then data in this SecondaryCategories property is used for secondary series and data in Categories property is used for primary series. Example. What categories are related to series - getChartData().getCategories() or getChartData().getSecondaryCategories()?


readWorkbookStream

byte[] readWorkbookStream()

Writes the internally contained Excel workbook it into an in-memory stream.

Returns:
Returns an instance of MemoryStream containing a copy of the internally contained Excel workbook.

writeWorkbookStream

void writeWorkbookStream(byte[] ms)

Initializes the internally contained Excel workbook with user-specified value.

Parameters:
ms - The user-supplied stream containing the entire Excel workbook.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.