Package org.eclipse.birt.chart.model
Interface ChartWithoutAxes
- All Superinterfaces:
Chart
,org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
DialChart
- All Known Implementing Classes:
ChartWithoutAxesImpl
,DialChartImpl
A representation of the model object 'Chart
Without Axes'.
ChartWithoutAxes represents a chart without any
axis. (e.g. Pie Chart, Dial Chart, etc).
To create an instance use the factory method:
ChartWithoutAxesImpl.create( );
The following features are supported:
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the 'Coverage' attribute.double
Returns the value of the 'Min Slice' attribute.Returns the value of the 'Min Slice Label' attribute.Series[]
org.eclipse.emf.common.util.EList<SeriesDefinition>
Returns the value of the 'Series Definitions' containment reference list.boolean
Returns the value of the 'Min Slice Percent' attribute.boolean
Returns whether the value of the 'Coverage
' attribute is set.boolean
Returns whether the value of the 'Min Slice
' attribute is set.boolean
Returns whether the value of the 'Min Slice Percent
' attribute is set.void
setCoverage
(double value) Sets the value of the 'Coverage
' attribute.void
setMinSlice
(double value) Sets the value of the 'Min Slice
' attribute.void
setMinSliceLabel
(String value) Sets the value of the 'Min Slice Label
' attribute.void
setMinSlicePercent
(boolean value) Sets the value of the 'Min Slice Percent
' attribute.void
Unsets the value of the 'Coverage
' attribute.void
Unsets the value of the 'Min Slice
' attribute.void
Unsets the value of the 'Min Slice Percent
' attribute.Methods inherited from interface org.eclipse.birt.chart.model.Chart
clearSections, createSampleRuntimeSeries, getBlock, getDescription, getDimension, getEmptyMessage, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesForLegend, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setDimension, setEmptyMessage, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersion
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getSeriesDefinitions
org.eclipse.emf.common.util.EList<SeriesDefinition> getSeriesDefinitions()Returns the value of the 'Series Definitions' containment reference list. The list contents are of typeSeriesDefinition
. Defines the source of the series.- Returns:
- the value of the 'Series Definitions' containment reference list.
- See Also:
-
getMinSlice
double getMinSlice()Returns the value of the 'Min Slice' attribute. The concept "min slice" is used for Pie-like charts, by which datapoints are displayed as slices of a whole graph, the size of the slices corresponds the value's percentage of the summary. The attribute "MinSlice" of type double specifies the threshold value of slices. A separate slice will be created for each datapoint whose value is greater than this threshold, and all values less than the threshold will be aggregated into one single slice called "min slice".- Returns:
- the value of the 'Min Slice' attribute.
- See Also:
-
setMinSlice
void setMinSlice(double value) Sets the value of the 'Min Slice
' attribute.- Parameters:
value
- the new value of the 'Min Slice' attribute.- See Also:
-
unsetMinSlice
void unsetMinSlice()Unsets the value of the 'Min Slice
' attribute.- See Also:
-
isSetMinSlice
boolean isSetMinSlice()Returns whether the value of the 'Min Slice
' attribute is set.- Returns:
- whether the value of the 'Min Slice' attribute is set.
- See Also:
-
isMinSlicePercent
boolean isMinSlicePercent()Returns the value of the 'Min Slice Percent' attribute. The boolean attribute indicates whether the MinSlice value is defined as a percentage.- Returns:
- the value of the 'Min Slice Percent' attribute.
- See Also:
-
setMinSlicePercent
void setMinSlicePercent(boolean value) Sets the value of the 'Min Slice Percent
' attribute.- Parameters:
value
- the new value of the 'Min Slice Percent' attribute.- See Also:
-
unsetMinSlicePercent
void unsetMinSlicePercent()Unsets the value of the 'Min Slice Percent
' attribute. -
isSetMinSlicePercent
boolean isSetMinSlicePercent()Returns whether the value of the 'Min Slice Percent
' attribute is set.- Returns:
- whether the value of the 'Min Slice Percent' attribute is set.
- See Also:
-
getMinSliceLabel
String getMinSliceLabel()Returns the value of the 'Min Slice Label' attribute. The string attribute "MinSliceLabel" specifies the label text of the MinSlice.- Returns:
- the value of the 'Min Slice Label' attribute.
- See Also:
-
setMinSliceLabel
Sets the value of the 'Min Slice Label
' attribute.- Parameters:
value
- the new value of the 'Min Slice Label' attribute.- See Also:
-
getCoverage
double getCoverage()Returns the value of the 'Coverage' attribute. Attribute "Coverage" specifies the percentage of size that the chart graphics (pie or dial) takes from the client area of the plot. By default it's not set, which means the size will be auto adjusted.- Returns:
- the value of the 'Coverage' attribute.
- See Also:
-
setCoverage
void setCoverage(double value) Sets the value of the 'Coverage
' attribute.- Parameters:
value
- the new value of the 'Coverage' attribute.- See Also:
-
unsetCoverage
void unsetCoverage()Unsets the value of the 'Coverage
' attribute.- See Also:
-
isSetCoverage
boolean isSetCoverage()Returns whether the value of the 'Coverage
' attribute is set.- Returns:
- whether the value of the 'Coverage' attribute is set.
- See Also:
-
getRunTimeSeries
Series[] getRunTimeSeries()- Returns:
-
copyInstance
ChartWithoutAxes copyInstance()- Specified by:
copyInstance
in interfaceChart
- Specified by:
copyInstance
in interfaceIChartObject
-