public interface IChartType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
THREE_DIMENSION_TYPE
Type constant of 3D.
|
static java.lang.String |
TWO_DIMENSION_TYPE
Type constant of 2D.
|
static java.lang.String |
TWO_DIMENSION_WITH_DEPTH_TYPE
Type constant of 2D with depth.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canAdapt(Chart cModel,
java.util.Hashtable htModelHints)
Deprecated.
do not use any more
|
boolean |
canCombine()
Return true if the type can be used in a combination chart.
|
boolean |
canExpand()
Returns true if current chart type can expand according to the category
number.
|
ISelectDataComponent |
getBaseUI(Chart chart,
ISelectDataCustomizeUI selectDataUI,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context,
java.lang.String sTitle)
Returns base UI in data sheet
|
java.util.Collection<IChartSubType> |
getChartSubtypes(java.lang.String Dimension,
Orientation orientation)
Returns the names of the chart sub-types available for this type.
|
java.lang.String |
getDefaultDimension()
Returns the default dimension of this chart type.
|
Orientation |
getDefaultOrientation()
Returns the default orientation.
|
java.lang.String |
getDefaultTitle()
Return the default chart title.
|
java.lang.String |
getDisplayName()
Returns the display name of the chart type.
|
IHelpContent |
getHelp()
Deprecated.
do not use any more
|
Image |
getImage()
Returns the image icon of the chart type.
|
Chart |
getModel(java.lang.String sType,
Orientation Orientation,
java.lang.String Dimension,
Chart currentChart)
Returns the Chart model for given parameters.
|
java.lang.String |
getName()
Returns the name of the chart type.
|
Series |
getSeries()
Creates the corresponding series model.
|
Series |
getSeries(boolean needInitialing)
Creates the corresponding series model with set 'isSet' flag for series properties.
|
java.lang.String[] |
getSupportedDimensions()
Returns the dimension array this chart type supports.
|
java.lang.String |
getValueDefinitionName()
Returns value definition name in data sheet.
|
boolean |
isChartWithAxes()
Check if the chart type supports axes.
|
boolean |
isDimensionSupported(java.lang.String dimensionType,
org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context,
int nbOfAxes,
int nbOfSeries)
Checks whether the dimension is valid with specified number of axes or
series.
|
boolean |
supportsTransposition()
Returns if this chart type supports transposition.
|
boolean |
supportsTransposition(java.lang.String dimension)
Returns if this chart type supports transposition for given dimension.
|
static final java.lang.String TWO_DIMENSION_TYPE
static final java.lang.String TWO_DIMENSION_WITH_DEPTH_TYPE
static final java.lang.String THREE_DIMENSION_TYPE
java.lang.String getName()
java.lang.String getDisplayName()
Image getImage()
java.util.Collection<IChartSubType> getChartSubtypes(java.lang.String Dimension, Orientation orientation)
boolean canAdapt(Chart cModel, java.util.Hashtable htModelHints)
cModel
- chart model representing an existing charthtModelHints
- pre-computed 'hints' from the model to reduce computations
needed to be performed by each implementation.Chart getModel(java.lang.String sType, Orientation Orientation, java.lang.String Dimension, Chart currentChart)
sType
- Orientation
- Dimension
- currentChart
- java.lang.String[] getSupportedDimensions()
java.lang.String getDefaultDimension()
boolean supportsTransposition()
boolean supportsTransposition(java.lang.String dimension)
Orientation getDefaultOrientation()
IHelpContent getHelp()
ISelectDataComponent getBaseUI(Chart chart, ISelectDataCustomizeUI selectDataUI, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context, java.lang.String sTitle)
chart
- selectDataUI
- context
- sTitle
- boolean isDimensionSupported(java.lang.String dimensionType, org.eclipse.birt.chart.ui.swt.wizard.ChartWizardContext context, int nbOfAxes, int nbOfSeries)
dimensionType
- dimension typenbOfAxes
- number of axesnbOfSeries
- number of seriesSeries getSeries()
Series getSeries(boolean needInitialing)
needInitialing
- boolean canCombine()
java.lang.String getDefaultTitle()
boolean canExpand()
java.lang.String getValueDefinitionName()
boolean isChartWithAxes()
Copyright © 2014 OpenText Corp. All rights reserved.