com.stimulsoft.report.chart.core.area
Class StiAxisAreaCoreXF

java.lang.Object
  extended by com.stimulsoft.report.chart.core.area.StiAreaCoreXF
      extended by com.stimulsoft.report.chart.core.area.StiAxisAreaCoreXF
All Implemented Interfaces:
IStiApplyStyle, java.lang.Cloneable
Direct Known Subclasses:
StiClusteredColumnAreaCoreXF, StiStackedColumnAreaCoreXF

public abstract class StiAxisAreaCoreXF
extends StiAreaCoreXF


Field Summary
 int ValuesCount
          Count of value elements.
 
Constructor Summary
StiAxisAreaCoreXF(IStiArea area)
           
 
Method Summary
 void applyStyle(IStiChartStyle style)
          Applying specified style to this area.
 void CalculateMinimumAndMaximumXAxis(IStiAxis axis)
          Calculate minimum and maximum values of XAxis.
 void CalculateMinimumAndMaximumYAxis(IStiAxis axis)
          Calculate minimum and maximum values of YAxis.
 void CalculatePositions(IStiAxis axis, StiRefObject<java.util.ArrayList<StiStripPositionXF>> collection, int step)
          Fill specified collection with values from axis.Info.StripPositions and with taken in consideration step argument.
 java.lang.String GetArgumentLabel(StiStripLineXF line, IStiSeries series)
           
 boolean getBlockScrollValueX()
           
 boolean getBlockScrollValueY()
           
 double GetDividerRightY()
          Returns position on right y of zero line for y axis.
 double GetDividerX()
          Returns position on x of zero line for x axis.
 double GetDividerY()
          Returns position on y of zero line for y axis.
 double getScrollDistanceX()
          Gets scrollable area distance from left side of view area for Axis X.
 double getScrollDistanceY()
          Gets scrollable area distance from left side of view area for Axis Y.
 double getScrollDpiX()
          Gets scrollable dpi factor for Axis X.
 double getScrollDpiY()
          Gets scrollable dpi factor for Axis Y.
 double getScrollDragStartValue()
           
 double getScrollRangeX()
          Gets size of scrollable area for Axis X.
 double getScrollRangeY()
          Gets size of scrollable area for Axis Y.
 double getScrollValueX()
          Gets or sets left position of view area in scrollable area for Axis X.
 double getScrollValueY()
          Gets or sets left position of view area in scrollable area for Axis Y.
 double getScrollViewX()
          Gets view area size in scrollable area for Axis X.
 double getScrollViewY()
          Gets view area size in scrollable area for Axis Y.
 boolean IsAutoRangeXAxis(IStiAxis axis)
          Returns true if specified axis need to be used in auto range mode.
 boolean IsAutoRangeYAxis(IStiAxis axis)
          Returns true if specified axis need to be used in auto range mode.
 StiCellGeom Render(StiContext context, StiRectangle rect)
           
 void setBlockScrollValueX(boolean value)
           
 void setBlockScrollValueY(boolean value)
           
 void setScrollDragStartValue(double value)
           
 void setScrollValueX(double value)
           
 void setScrollValueY(double value)
           
 void SwitchOff()
          Internal use only.
 
Methods inherited from class com.stimulsoft.report.chart.core.area.StiAreaCoreXF
CheckInLabelsTypes, clone, getArea, getLocalizedName, getPosition, GetSeries, getSeriesOrientation, IsAcceptableSeries, IsAcceptableSeriesLabels, setArea
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ValuesCount

public int ValuesCount
Count of value elements.

Constructor Detail

StiAxisAreaCoreXF

public StiAxisAreaCoreXF(IStiArea area)
Method Detail

applyStyle

public void applyStyle(IStiChartStyle style)
Applying specified style to this area.

Specified by:
applyStyle in interface IStiApplyStyle
Overrides:
applyStyle in class StiAreaCoreXF
Parameters:
style -

Render

public StiCellGeom Render(StiContext context,
                          StiRectangle rect)
Specified by:
Render in class StiAreaCoreXF

IsAutoRangeXAxis

public final boolean IsAutoRangeXAxis(IStiAxis axis)
Returns true if specified axis need to be used in auto range mode. Method calculate mode for XAxis.


IsAutoRangeYAxis

public final boolean IsAutoRangeYAxis(IStiAxis axis)
Returns true if specified axis need to be used in auto range mode. Method calculate mode for YAxis.


CalculateMinimumAndMaximumXAxis

public final void CalculateMinimumAndMaximumXAxis(IStiAxis axis)
Calculate minimum and maximum values of XAxis.


CalculateMinimumAndMaximumYAxis

public final void CalculateMinimumAndMaximumYAxis(IStiAxis axis)
Calculate minimum and maximum values of YAxis.


GetArgumentLabel

public final java.lang.String GetArgumentLabel(StiStripLineXF line,
                                               IStiSeries series)

SwitchOff

public final void SwitchOff()
Internal use only.


CalculatePositions

public final void CalculatePositions(IStiAxis axis,
                                     StiRefObject<java.util.ArrayList<StiStripPositionXF>> collection,
                                     int step)
Fill specified collection with values from axis.Info.StripPositions and with taken in consideration step argument.


GetDividerX

public final double GetDividerX()
Returns position on x of zero line for x axis.

Returns:

GetDividerY

public final double GetDividerY()
Returns position on y of zero line for y axis.

Returns:

GetDividerRightY

public final double GetDividerRightY()
Returns position on right y of zero line for y axis.

Returns:

getScrollDistanceX

public final double getScrollDistanceX()
Gets scrollable area distance from left side of view area for Axis X.


getScrollDistanceY

public final double getScrollDistanceY()
Gets scrollable area distance from left side of view area for Axis Y.


getScrollRangeX

public final double getScrollRangeX()
Gets size of scrollable area for Axis X.


getScrollRangeY

public final double getScrollRangeY()
Gets size of scrollable area for Axis Y.


getScrollViewX

public final double getScrollViewX()
Gets view area size in scrollable area for Axis X.


getScrollViewY

public final double getScrollViewY()
Gets view area size in scrollable area for Axis Y.


getBlockScrollValueX

public final boolean getBlockScrollValueX()

setBlockScrollValueX

public final void setBlockScrollValueX(boolean value)

getBlockScrollValueY

public final boolean getBlockScrollValueY()

setBlockScrollValueY

public final void setBlockScrollValueY(boolean value)

getScrollValueX

public final double getScrollValueX()
Gets or sets left position of view area in scrollable area for Axis X.


setScrollValueX

public final void setScrollValueX(double value)

getScrollValueY

public final double getScrollValueY()
Gets or sets left position of view area in scrollable area for Axis Y.


setScrollValueY

public final void setScrollValueY(double value)

getScrollDpiX

public final double getScrollDpiX()
Gets scrollable dpi factor for Axis X.


getScrollDpiY

public final double getScrollDpiY()
Gets scrollable dpi factor for Axis Y.


getScrollDragStartValue

public final double getScrollDragStartValue()

setScrollDragStartValue

public final void setScrollDragStartValue(double value)