org.eclipse.birt.chart.computation.withaxes
Class SharedScaleContext
java.lang.Object
org.eclipse.birt.chart.computation.withaxes.SharedScaleContext
public final class SharedScaleContext
- extends java.lang.Object
We use this class to store shared scale context of chart in cross-tab.
- Since:
- 2.5
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedScaleContext
public SharedScaleContext(ScaleContext scaleContext,
java.lang.Object realMin,
java.lang.Object realMax)
createInstance
public static final SharedScaleContext createInstance(java.lang.Object oMin,
java.lang.Object oMax)
- Parameters:
oMin
- oMax
-
- Returns:
getScaleContext
public final ScaleContext getScaleContext()
- Returns:
- Returns the scaleContext.
setScaleContext
public final void setScaleContext(ScaleContext scaleContext)
- Parameters:
scaleContext
- The scaleContext to set.
isShared
public final boolean isShared()
- Returns if the scale will be shared among multiple chart instances
- Returns:
- shared or not
- Since:
- 2.5
setShared
public final void setShared(boolean shared)
- Parameters:
shared
- - Since:
- 2.5
createDataSetIterator
public final DataSetIterator createDataSetIterator(int iDataType)
throws ChartException,
java.lang.IllegalArgumentException
- Create a DataSetIterator with the min/max value, which can be used by
AutoScale.
- Parameters:
iDataType
-
- Returns:
-
- Throws:
ChartException
java.lang.IllegalArgumentException
Copyright © 2005-2008 Actuate Corp. All rights reserved.