public class ChartSeriesType
extends java.lang.Object
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");
| Modifier and Type | Field and Description |
|---|---|
static int |
AREA
Represents an Area chart series.
|
static int |
AREA_3_D
Represents a 3D Area chart series.
|
static int |
AREA_3_D_PERCENT_STACKED
Represents a 3D 100% Stacked Area chart series.
|
static int |
AREA_3_D_STACKED
Represents a 3D Stacked Area chart series.
|
static int |
AREA_PERCENT_STACKED
Represents a 100% Stacked Area chart series.
|
static int |
AREA_STACKED
Represents a Stacked Area chart series.
|
static int |
BAR
Represents a Bar chart series.
|
static int |
BAR_3_D
Represents a 3D Bar chart series.
|
static int |
BAR_3_D_PERCENT_STACKED
Represents a 3D 100% Stacked Bar chart series.
|
static int |
BAR_3_D_STACKED
Represents a 3D Stacked Bar chart series.
|
static int |
BAR_PERCENT_STACKED
Represents a 100% Stacked Bar chart series.
|
static int |
BAR_STACKED
Represents a Stacked Bar chart series.
|
static int |
BOX_AND_WHISKER
Represents a Box and Whisker chart series.
|
static int |
BUBBLE
Represents a Bubble chart series.
|
static int |
BUBBLE_3_D
Represents a 3D Bubble chart series.
|
static int |
COLUMN
Represents a Column chart series.
|
static int |
COLUMN_3_D
Represents a 3D Column chart series.
|
static int |
COLUMN_3_D_CLUSTERED
Represents a 3D Clustered Column chart series.
|
static int |
COLUMN_3_D_PERCENT_STACKED
Represents a 3D 100% Stacked Column chart series.
|
static int |
COLUMN_3_D_STACKED
Represents a 3D Stacked Column chart series.
|
static int |
COLUMN_PERCENT_STACKED
Represents a 100% Stacked Column chart series.
|
static int |
COLUMN_STACKED
Represents a Stacked Column chart series.
|
static int |
DOUGHNUT
Represents a Doughnut chart series.
|
static int |
FUNNEL
Represents a Funnel chart series.
|
static int |
HISTOGRAM
Represents a Histogram chart series.
|
static int |
length |
static int |
LINE
Represents a Line chart series.
|
static int |
LINE_3_D
Represents a 3D Line chart series.
|
static int |
LINE_PERCENT_STACKED
Represents a 100% Stacked Line chart series.
|
static int |
LINE_STACKED
Represents a Stacked Line chart series.
|
static int |
PARETO
Represents a Pareto chart series.
|
static int |
PARETO_LINE
Represents a Pareto Line chart series.
|
static int |
PIE
Represents a Pie chart series.
|
static int |
PIE_3_D
Represents a 3D Pie chart series.
|
static int |
PIE_OF_BAR
Represents a Pie of Bar chart series.
|
static int |
PIE_OF_PIE
Represents a Pie of Pie chart series.
|
static int |
RADAR
Represents a Radar chart series.
|
static int |
REGION_MAP
Represents a Region Map chart series.
|
static int |
SCATTER
Represents a Scatter chart series.
|
static int |
STOCK
Represents a Stock chart series.
|
static int |
SUNBURST
Represents a Sunburst chart series.
|
static int |
SURFACE
Represents a Surface chart series.
|
static int |
SURFACE_3_D
Represents a 3D Surface chart series.
|
static int |
TREEMAP
Represents a Treemap chart series.
|
static int |
WATERFALL
Represents a Waterfall chart series.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String chartSeriesTypeName) |
static java.lang.String |
getName(int chartSeriesType) |
static int[] |
getValues() |
static java.lang.String |
toString(int chartSeriesType) |
public static int AREA
public static int AREA_STACKED
public static int AREA_PERCENT_STACKED
public static int AREA_3_D
public static int AREA_3_D_STACKED
public static int AREA_3_D_PERCENT_STACKED
public static int BAR
public static int BAR_STACKED
public static int BAR_PERCENT_STACKED
public static int BAR_3_D
public static int BAR_3_D_STACKED
public static int BAR_3_D_PERCENT_STACKED
public static int BUBBLE
public static int BUBBLE_3_D
public static int COLUMN
public static int COLUMN_STACKED
public static int COLUMN_PERCENT_STACKED
public static int COLUMN_3_D
public static int COLUMN_3_D_STACKED
public static int COLUMN_3_D_PERCENT_STACKED
public static int COLUMN_3_D_CLUSTERED
public static int DOUGHNUT
public static int LINE
public static int LINE_STACKED
public static int LINE_PERCENT_STACKED
public static int LINE_3_D
public static int PIE
public static int PIE_3_D
public static int PIE_OF_BAR
public static int PIE_OF_PIE
public static int RADAR
public static int SCATTER
public static int STOCK
public static int SURFACE
public static int SURFACE_3_D
public static int TREEMAP
public static int SUNBURST
public static int HISTOGRAM
public static int PARETO
public static int PARETO_LINE
public static int BOX_AND_WHISKER
public static int WATERFALL
public static int FUNNEL
public static int REGION_MAP
public static int length