ChartSeriesType
Inheritance: java.lang.Object
public class ChartSeriesType
Specifies a type of a chart series.
Examples:
Shows how to remove specific chart serie.
Document doc = new Document(getMyDir() + "Reporting engine template - Chart series (Java).docx");
Chart chart = ((Shape)doc.getChild(NodeType.SHAPE, 0, true)).getChart();
// Remove all series of the Column type.
for (int i = chart.getSeries().getCount() - 1; i >= 0; i--)
{
if (chart.getSeries().get(i).getSeriesType() == ChartSeriesType.COLUMN)
chart.getSeries().removeAt(i);
}
chart.getSeries().add(
"Aspose Series",
new String[] { "Category 1", "Category 2", "Category 3", "Category 4" },
new double[] { 5.6, 7.1, 2.9, 8.9 });
doc.save(getArtifactsDir() + "Charts.RemoveSpecificChartSeries.docx");
Fields
Field | Description |
---|---|
AREA | Represents an Area chart series. |
AREA_3_D | Represents a 3D Area chart series. |
AREA_3_D_PERCENT_STACKED | Represents a 3D 100% Stacked Area chart series. |
AREA_3_D_STACKED | Represents a 3D Stacked Area chart series. |
AREA_PERCENT_STACKED | Represents a 100% Stacked Area chart series. |
AREA_STACKED | Represents a Stacked Area chart series. |
BAR | Represents a Bar chart series. |
BAR_3_D | Represents a 3D Bar chart series. |
BAR_3_D_PERCENT_STACKED | Represents a 3D 100% Stacked Bar chart series. |
BAR_3_D_STACKED | Represents a 3D Stacked Bar chart series. |
BAR_PERCENT_STACKED | Represents a 100% Stacked Bar chart series. |
BAR_STACKED | Represents a Stacked Bar chart series. |
BOX_AND_WHISKER | Represents a Box and Whisker chart series. |
BUBBLE | Represents a Bubble chart series. |
BUBBLE_3_D | Represents a 3D Bubble chart series. |
COLUMN | Represents a Column chart series. |
COLUMN_3_D | Represents a 3D Column chart series. |
COLUMN_3_D_CLUSTERED | Represents a 3D Clustered Column chart series. |
COLUMN_3_D_PERCENT_STACKED | Represents a 3D 100% Stacked Column chart series. |
COLUMN_3_D_STACKED | Represents a 3D Stacked Column chart series. |
COLUMN_PERCENT_STACKED | Represents a 100% Stacked Column chart series. |
COLUMN_STACKED | Represents a Stacked Column chart series. |
DOUGHNUT | Represents a Doughnut chart series. |
FUNNEL | Represents a Funnel chart series. |
HISTOGRAM | Represents a Histogram chart series. |
LINE | Represents a Line chart series. |
LINE_3_D | Represents a 3D Line chart series. |
LINE_PERCENT_STACKED | Represents a 100% Stacked Line chart series. |
LINE_STACKED | Represents a Stacked Line chart series. |
PARETO | Represents a Pareto chart series. |
PARETO_LINE | Represents a Pareto Line chart series. |
PIE | Represents a Pie chart series. |
PIE_3_D | Represents a 3D Pie chart series. |
PIE_OF_BAR | Represents a Pie of Bar chart series. |
PIE_OF_PIE | Represents a Pie of Pie chart series. |
RADAR | Represents a Radar chart series. |
REGION_MAP | Represents a Region Map chart series. |
SCATTER | Represents a Scatter chart series. |
STOCK | Represents a Stock chart series. |
SUNBURST | Represents a Sunburst chart series. |
SURFACE | Represents a Surface chart series. |
SURFACE_3_D | Represents a 3D Surface chart series. |
TREEMAP | Represents a Treemap chart series. |
WATERFALL | Represents a Waterfall chart series. |
length |
Methods
Method | Description |
---|---|
fromName(String chartSeriesTypeName) | |
getName(int chartSeriesType) | |
getValues() | |
toString(int chartSeriesType) |
AREA
public static int AREA
Represents an Area chart series.
AREA_3_D
public static int AREA_3_D
Represents a 3D Area chart series.
AREA_3_D_PERCENT_STACKED
public static int AREA_3_D_PERCENT_STACKED
Represents a 3D 100% Stacked Area chart series.
AREA_3_D_STACKED
public static int AREA_3_D_STACKED
Represents a 3D Stacked Area chart series.
AREA_PERCENT_STACKED
public static int AREA_PERCENT_STACKED
Represents a 100% Stacked Area chart series.
AREA_STACKED
public static int AREA_STACKED
Represents a Stacked Area chart series.
BAR
public static int BAR
Represents a Bar chart series.
BAR_3_D
public static int BAR_3_D
Represents a 3D Bar chart series.
BAR_3_D_PERCENT_STACKED
public static int BAR_3_D_PERCENT_STACKED
Represents a 3D 100% Stacked Bar chart series.
BAR_3_D_STACKED
public static int BAR_3_D_STACKED
Represents a 3D Stacked Bar chart series.
BAR_PERCENT_STACKED
public static int BAR_PERCENT_STACKED
Represents a 100% Stacked Bar chart series.
BAR_STACKED
public static int BAR_STACKED
Represents a Stacked Bar chart series.
BOX_AND_WHISKER
public static int BOX_AND_WHISKER
Represents a Box and Whisker chart series.
BUBBLE
public static int BUBBLE
Represents a Bubble chart series.
BUBBLE_3_D
public static int BUBBLE_3_D
Represents a 3D Bubble chart series.
COLUMN
public static int COLUMN
Represents a Column chart series.
COLUMN_3_D
public static int COLUMN_3_D
Represents a 3D Column chart series.
COLUMN_3_D_CLUSTERED
public static int COLUMN_3_D_CLUSTERED
Represents a 3D Clustered Column chart series.
COLUMN_3_D_PERCENT_STACKED
public static int COLUMN_3_D_PERCENT_STACKED
Represents a 3D 100% Stacked Column chart series.
COLUMN_3_D_STACKED
public static int COLUMN_3_D_STACKED
Represents a 3D Stacked Column chart series.
COLUMN_PERCENT_STACKED
public static int COLUMN_PERCENT_STACKED
Represents a 100% Stacked Column chart series.
COLUMN_STACKED
public static int COLUMN_STACKED
Represents a Stacked Column chart series.
DOUGHNUT
public static int DOUGHNUT
Represents a Doughnut chart series.
FUNNEL
public static int FUNNEL
Represents a Funnel chart series.
HISTOGRAM
public static int HISTOGRAM
Represents a Histogram chart series.
LINE
public static int LINE
Represents a Line chart series.
LINE_3_D
public static int LINE_3_D
Represents a 3D Line chart series.
LINE_PERCENT_STACKED
public static int LINE_PERCENT_STACKED
Represents a 100% Stacked Line chart series.
LINE_STACKED
public static int LINE_STACKED
Represents a Stacked Line chart series.
PARETO
public static int PARETO
Represents a Pareto chart series.
PARETO_LINE
public static int PARETO_LINE
Represents a Pareto Line chart series.
PIE
public static int PIE
Represents a Pie chart series.
PIE_3_D
public static int PIE_3_D
Represents a 3D Pie chart series.
PIE_OF_BAR
public static int PIE_OF_BAR
Represents a Pie of Bar chart series.
PIE_OF_PIE
public static int PIE_OF_PIE
Represents a Pie of Pie chart series.
RADAR
public static int RADAR
Represents a Radar chart series.
REGION_MAP
public static int REGION_MAP
Represents a Region Map chart series.
SCATTER
public static int SCATTER
Represents a Scatter chart series.
STOCK
public static int STOCK
Represents a Stock chart series.
SUNBURST
public static int SUNBURST
Represents a Sunburst chart series.
SURFACE
public static int SURFACE
Represents a Surface chart series.
SURFACE_3_D
public static int SURFACE_3_D
Represents a 3D Surface chart series.
TREEMAP
public static int TREEMAP
Represents a Treemap chart series.
WATERFALL
public static int WATERFALL
Represents a Waterfall chart series.
length
public static int length
fromName(String chartSeriesTypeName)
public static int fromName(String chartSeriesTypeName)
Parameters:
Parameter | Type | Description |
---|---|---|
chartSeriesTypeName | java.lang.String |
Returns: int
getName(int chartSeriesType)
public static String getName(int chartSeriesType)
Parameters:
Parameter | Type | Description |
---|---|---|
chartSeriesType | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int chartSeriesType)
public static String toString(int chartSeriesType)
Parameters:
Parameter | Type | Description |
---|---|---|
chartSeriesType | int |
Returns: java.lang.String