TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Class: Axis

Source Location: /axis/Axis.php

Class Overview

TeeBase
   |
   --Axis

Axis Class


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>

Variables

Methods


Child classes:

DepthAxis
DepthAxis class

Inherited Variables

Inherited Methods


Class Details

[line 16]
Axis Class

Description: Accesses all Axis characteristics




Tags:

author:  
version:  1.0
copyright:  Copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
link:  http://www.steema.com


[ Top ]


Class Variables

static $AXISCLICKGAP =  3

[line 56]



Tags:

access:  public

Type:   mixed


[ Top ]

static $MINAXISRANGE =  0.0000000001

[line 55]



Tags:

access:  public

Type:   mixed


[ Top ]

$axisDraw =

[line 53]



Tags:

access:  public

Type:   mixed


[ Top ]

$axispen =

[line 45]



Tags:

access:  protected

Type:   mixed


[ Top ]

$axisTitle =

[line 44]



Tags:

access:  protected

Type:   mixed


[ Top ]

$bVisible =  true

[line 49]



Tags:

access:  protected

Type:   mixed


[ Top ]

$grid =

[line 46]



Tags:

access:  protected

Type:   mixed


[ Top ]

$hideBackGrid =

[line 59]



Tags:

access:  public

Type:   mixed


[ Top ]

$horizontal = false

[line 48]



Tags:

access:  protected

Type:   mixed


[ Top ]

$iAxisDateTime =

[line 62]



Tags:

access:  public

Type:   mixed


[ Top ]

$iAxisLogSizeRange =

[line 63]



Tags:

access:  public

Type:   mixed


[ Top ]

$iAxisSize =

[line 76]



Tags:

access:  public

Type:   mixed


[ Top ]

$iAxisSizeRange =

[line 64]



Tags:

access:  public

Type:   mixed


[ Top ]

$iCenterPos = 0

[line 65]



Tags:

access:  public

Type:   mixed


[ Top ]

$iEndPos = 0.0

[line 75]



Tags:

access:  public

Type:   mixed


[ Top ]

$iLogMax =

[line 66]



Tags:

access:  public

Type:   mixed


[ Top ]

$iLogMin =

[line 67]



Tags:

access:  public

Type:   mixed


[ Top ]

$iMaximum = 0.0

[line 68]



Tags:

access:  public

Type:   mixed


[ Top ]

$iMinAxisIncrement = 0

[line 54]



Tags:

access:  public

Type:   mixed


[ Top ]

$iMinimum = 0.0

[line 69]



Tags:

access:  public

Type:   mixed


[ Top ]

$inverted = false

[line 47]



Tags:

access:  protected

Type:   mixed


[ Top ]

$iRange = 0.0

[line 70]



Tags:

access:  public

Type:   mixed


[ Top ]

$iRangelog = 0.0

[line 71]



Tags:

access:  public

Type:   mixed


[ Top ]

$iRangezero = false

[line 72]



Tags:

access:  public

Type:   mixed


[ Top ]

$isDepthAxis = false

[line 77]



Tags:

access:  public

Type:   mixed


[ Top ]

$iSeriesList =

[line 73]



Tags:

access:  public

Type:   mixed


[ Top ]

$iStartPos = 0.0

[line 74]



Tags:

access:  public

Type:   mixed


[ Top ]

$iZPos =

[line 78]



Tags:

access:  public

Type:   mixed


[ Top ]

$minorGrid =

[line 43]



Tags:

access:  protected

Type:   mixed


[ Top ]

$posAxis = 0

[line 57]



Tags:

access:  public

Type:   mixed


[ Top ]

$posTitle = 0

[line 58]



Tags:

access:  public

Type:   mixed


[ Top ]

$zPosition = 0

[line 50]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


static method findDateTimeStep [line 1882]

static int findDateTimeStep( step$value $stepValue)

Used internally to return Axis Datetime step.



Tags:

access:  public


Parameters:

step$value   $stepValue   double Desired increment

[ Top ]

constructor Axis [line 105]

Axis Axis( [ $horiz = false], [ $isOtherSide = false], [ $chart = null])

The class constructor.



Tags:

access:  public


Parameters:

   $horiz  
   $isOtherSide  
   $chart  

[ Top ]

method adjustMaxMin [line 295]

void adjustMaxMin( )

Calculates Maximum and Minimum $values based on Max and Min $values of the dependent Series.
AdjustMaxMin is automatically called if Axis.Automatic is true.

The Chart Zoom.Undo method calls AdjustMaxMin for Left, Right,Top and Bottom axis.




Tags:

access:  public


[ Top ]

method adjustMaxMinRect [line 257]

void adjustMaxMinRect( rect $rect)

Called internally to recalculate the max and min $values using the

Rect parameter positions.
The Rect parameter determines in pixels the margins to apply to ChartRect. The Axis recalculates the appropiate maximum and minimum $values using the Rect parameter positions.




Tags:

access:  public


Parameters:

rect   $rect   Rectangle

[ Top ]

method applyPosition [line 1852]

void applyPosition( $apos, $r)



Parameters:

   $apos  
   $r  

[ Top ]

method calcLabelStyle [line 2445]

AxisLabelStyle calcLabelStyle( )

Returns the most logical Axis Label style.


It calculates the "best candidate" label style based on how many Active Series are in the Chart and if the Series has po$labels. The LabelStyle property must be set to talAuto for this function to work.
If LabelStyle is not talAuto, the LabelStyle property $value is returned.




Tags:

access:  public


[ Top ]

method calcMinMax [line 1061]

void calcMinMax( tmp $tmp)

Returns the minimum and maximum $values of the associated Series.



Tags:

access:  public


Parameters:

tmp   $tmp   FloatRange

[ Top ]

method calcPosPoint [line 1326]

double calcPosPoint( $value, $value $Screen)

Returns the corresponding $value of a Screen position.



Tags:

return:  Position on screen in pixels
access:  public


Parameters:

$value   $Screen   $value
   $value  

[ Top ]

method calcPosValue [line 1212]

Position calcPosValue( $value $value)

Returns the corresponding $value of a Screen position in pixels.



Tags:

return:  on screen in pixels
access:  public


Parameters:

$value   $value   Screen $value

[ Top ]

method calcRect [line 1806]

Rectangle calcRect( r $r, inflateChartRectangle $inflateChartRectangle)

Used internally by Chart when creating Axes



Tags:

access:  public


Parameters:

r   $r   Chart Rectangle
inflateChartRectangle   $inflateChartRectangle   boolean Wall allowance (standard Axes only)

[ Top ]

method calcSizeValue [line 1300]

$Potrtion calcSizeValue( $value $value)

Returns the amount in pixels that corresponds to a portion of the axis of size "$value" in axis scales.



Tags:

return:  of axis in pixels
access:  public


Parameters:

$value   $value   double

[ Top ]

method calcXPosValue [line 1224]

int calcXPosValue( double $value)

Description Calculates the Horizontal coordinate in pixels of $value parameter You can use CalcXPos$value when requiring pixel positions from which to plot Drawing output.



Tags:

access:  public


Parameters:

double   $value  

[ Top ]

method calcXYIncrement [line 1674]

double calcXYIncrement( $maxLabelSize, maxLabelSize $The)

Returns the calculated Axis Label increment.



Tags:

return:  Size of increment in Axis units.
access:  public


Parameters:

maxLabelSize   $The   maximum allowable LabelSize in pixels.
   $maxLabelSize  

[ Top ]

method calcYPosvalue [line 1252]

$Vertical calcYPosvalue( $value $value)

Calculates the Vertical coordinate in pixels of $value parameter.



Tags:

return:  coordinate in pixels
access:  public


Parameters:

$value   $value   Parameter

[ Top ]

method calcZPos [line 1287]

void calcZPos( )



Tags:

access:  public


[ Top ]

method clicked [line 1409]

boolean clicked( x $x, y $y)

Returns if X and Y coordinates are close to the Axis position.



Tags:

return:  - true if X and Y coordinates are on or near to Axis
see:  Axes
access:  public


Parameters:

x   $x   Pixel location
y   $y   Pixel location

[ Top ]

method dateTimeDefaultFormat [line 1488]

DateFormat dateTimeDefaultFormat( astep $astep)

Returns either a Time or Date format depending if the astep parameter is lower than one day (time) or greater (date).



Tags:

access:  public


Parameters:

astep   $astep   double

[ Top ]

method dateTimeIncrement [line 2375]

double dateTimeIncrement( isDateTime $isDateTime, increment $increment, $value $value, anIncrement $anIncrement, tmpWhichDatetime $tmpWhichDatetime)

Is a set of constants used to specify a date time increment.



Tags:

return:  date time increment $value
access:  public


Parameters:

isDateTime   $isDateTime   boolean
increment   $increment   boolean
$value   $value   double
anIncrement   $anIncrement   double
tmpWhichDatetime   $tmpWhichDatetime   int

[ Top ]

method draw [line 2465]

void draw( calcPosAxis $calcPosAxis)

Displays an Axis at the specified screen positions with the current axis scales.
Normally you do not need to call the Draw method directly.



Tags:

access:  public


Parameters:

calcPosAxis   $calcPosAxis   boolean True if space allowance for Axis Labelling required

[ Top ]

method drawAxisLabel [line 1982]

void drawAxisLabel( f $f, x $x, y $y, $angle, st $st, format $format, angle $Angle)

Draws Axis Label (String) in font f at specified X,Y co-ordinate at Angle.



Tags:

access:  public


Parameters:

x   $x   coordinate
y   $y   coordinate
angle   $Angle   at which Label is drawn
f   $f   ChartFont
st   $st   String asociated to Label
format   $format   TextShape
   $angle  

[ Top ]

method drawTitle [line 2301]

void drawTitle( x $x, y $y)

TeeChart internal use. Outputs the title during the chart painting procedure.



Tags:

access:  public


Parameters:

x   $x   coordinate
y   $y   coordinate

[ Top ]

method getAutomatic [line 157]

boolean getAutomatic( )

Calculates Max and Min of axis scale based on associated Series.



Tags:

access:  public


[ Top ]

method getAutomaticMaximum [line 326]

boolean getAutomaticMaximum( )

Controls if Axis will adjust the Maximum $value automatically based on the maximum $value of its associated Series.
Default $value: true



Tags:

access:  public


[ Top ]

method getAutomaticMinimum [line 349]

boolean getAutomaticMinimum( )

Controls minimum $value automatically based on the minimum $value of its associated Series.
Default $value: true



Tags:

access:  public


[ Top ]

method getAxisPen [line 372]

AxisLinePen getAxisPen( )

Determines the kind of pen used to draw the major Axis lines.
These are the lines which go from Axis Minimum to Axis Maximum screen positions.



Tags:

access:  public


[ Top ]

method getCalcIncrement [line 1699]

double getCalcIncrement( )

Returns the calculated Axis Label increment and serves as a useable

measure when Labelling is set to manual or automatic increments.
Please note that the related Increment property only returns the increment $value when those increments are manually set via the same property.




Tags:

return:  calculated Axis Label increment.
access:  public


[ Top ]

method getCustomLabels [line 148]

AxisLabelsItems getCustomLabels( )

Returns the custom labels



Tags:

access:  public


[ Top ]

method getDepthAxisAlign [line 2278]

void getDepthAxisAlign( )



Tags:

access:  protected


[ Top ]

method getEndPosition [line 980]

double getEndPosition( )

Axis End Position on its own Axis expressed as a percentage (0-100%).


For a Vertical Axis a $value of 75% would place the beginning of the scale at 75% down from Top.
Default $value: 100%




Tags:

access:  public


[ Top ]

method getGrid [line 385]

GridPen getGrid( )

Determines the kind of pen used to draw the Grid lines at every Axis

Label position.
These are the lines which go from "cousin Axis" Minimum to "cousin Axis" Maximum screen positions for each Label position.
Use the MinorGrid property to make the Grid from Minor Ticks visible.




Tags:

access:  public


[ Top ]

method getGridCentered [line 891]

boolean getGridCentered( )

Obsolete.&nbsp;Please use Axis.<!-- -->Grid.<!-- -->Centered property



Tags:

access:  public


[ Top ]

method getHorizontal [line 180]

boolean getHorizontal( )

Determines the Custom axis to be drawn horizontally.



Tags:

access:  public


[ Top ]

method getIncrement [line 443]

double getIncrement( )

Determines the minimum step between axis labels.


Can use DateTimeStep for date-time axis. It must be a positive number or DateTime $value. TChart will use this $value as the inicial axis label step. If there is not enough space for all labels, TChart will calculate a bigger one. You can use the DateTimeStep constant array for DateTime increments.




Tags:

access:  public


[ Top ]

method getInverted [line 472]

boolean getInverted( )

Swaps the Axis Minimum and Maximum scales.


When true, Axis Minimum and Maximum scales will be swapped. Axis labels and Series points will be displayed accordingly. This applies both to vertical and horizontal axis.
Default $value: false




Tags:

access:  public


[ Top ]

method getLabels [line 139]

AxisLabels getLabels( )

Accesses the Label characteristics of Axis Labels.



Tags:

access:  public


[ Top ]

method getLabelsOnAxis [line 397]

boolean getLabelsOnAxis( )

Obsolete.&nbsp;Please use Labels.<!-- -->OnAxis instead.



Tags:

access:  public


[ Top ]

method getLogarithmic [line 500]

boolean getLogarithmic( )

Scales the Axis Logarithmically when true.


Axis Minimum and Maximum $values should be greater than 0, and Axis cannot be of DateTime type.
Default $value: false




Tags:

access:  public


[ Top ]

method getLogarithmicBase [line 999]

double getLogarithmicBase( )

The base for the Logarithmic scale when Axis Logarithmic = true.



Tags:

access:  public


[ Top ]

method getMaximum [line 575]

double getMaximum( )

The highest $value an Axis will use to scale their dependent Series

posvalues.
It can be any number or DateTime $value. It must be greater than the Axis.Minimum $value.

VERY IMPORTANT:
Axis.Automatic property must be FALSE. If Axis.Automatic is true, the Axis will set Maximum and Minimum $values to Maximum and Minimum dependent Series $values.




Tags:

access:  public


[ Top ]

method getMaximumOffset [line 548]

int getMaximumOffset( )

Amount of pixels that will be left as a margin at axis maximum

position.
It is useful when you don't want the series to display points very close to axis boundaries.
Default $value: 0

Example:


 myChart.getAxes().getBottom().setMaximumOffset(4);
 myChart.getAxes().getBottom().setMinimumOffset(4);
 




Tags:

access:  public


[ Top ]

method getMaxXValue [line 1426]

double getMaxXValue( )

Returns the calculated Maximum Horizontal $value for the specified AAxis.


AAxis can be Axis.Top or Axis.Bottom. Calculated means that the return $value will be the Maximum $value of the Maximum Series X $values. Only Series with the HorizontalAxis equal to AAxis will be considered.




Tags:

see:  getMaxY$value
see:  Axes
see:  getMinY$value
see:  getMinX$value
access:  public


[ Top ]

method getMaxYValue [line 1443]

double getMaxYValue( )

Returns the calculated Maximum Vertical $value for the specified AAxis.


AAxis can be Axis.Left or Axis.Right. Calculated means that the return $value will be the Maximum $value of the Maximum Series Y $values. Only Series with the VerticalAxis equal to AAxis will be considered.




Tags:

see:  getMinY$value
see:  Axes
see:  getMaxX$value
see:  getMinX$value
access:  public


[ Top ]

method getMinAxisIncrement [line 599]

double getMinAxisIncrement( )

Advanced use. Smallest Axis calculation increment.
Default $value: 1e-12



Tags:

access:  public


[ Top ]

method getMinimum [line 625]

double getMinimum( )

The lowest $value an Axis will use to scale their dependent Series

povalues.
It can be any number or DateTime $value. It must be lower than the Axis.Maximum $value.

VERY IMPORTANT:
Axis.Automatic property must be FALSE. If Axis.Automatic is true, the Axis will set Maximum and Minimum $values to Maximum and Minimum dependent Series $values.




Tags:

access:  public


[ Top ]

method getMinimumOffset [line 648]

int getMinimumOffset( )

The number of pixels that will be left as a margin at axis minimum

position.
It is useful when you don't want the series to display points very close to axis boundaries.
Default $value: 0




Tags:

access:  public


[ Top ]

method getMinorGrid [line 1018]

ChartPen getMinorGrid( )

Characteristics of the Grid coincidental to Minor Ticks.
The Minor Grid.Visible is false as default.



Tags:

access:  public


[ Top ]

method getMinorTickCount [line 672]

int getMinorTickCount( )

The number of Axis minor ticks between major ticks.


Axis minor ticks are the Axis sub-ticks between major ticks. It should be a positive number greater than zero and less than half the number of pixels between major ticks, otherwise Minor ticks will "overlap".
Default $value: 3




Tags:

access:  public


[ Top ]

method getMinorTicks [line 692]

TicksPen getMinorTicks( )

Determines the Pen used to draw the Axis Minor ticks.
Minor ticks will only be displayed if MinorTicks.Visible is true.




Tags:

access:  public


[ Top ]

method getMinXValue [line 1460]

double getMinXValue( )

Returns the calculated Minimum Horizontal $value for the specified AAxis.


AAxis can be Axis.Top or Axis.Bottom. Calculated means that the return $value will the Minimum $value of the Minimum Series X $values. Only Series with the HorizontalAxis equal to AAxis will be considered.




Tags:

see:  getMaxY$value
see:  Axes
see:  getMinY$value
see:  getMaxX$value
access:  public


[ Top ]

method getMinYValue [line 1477]

double getMinYValue( )

Returns the calculted Minimum Vertical $value for the specified AAxis.


AAxis can be Axis.Left or Axis.Right. Calculated means that the return $value will the Minimum $value of the Minimum Series Y $values. Only Series with the VerticalAxis equal to AAxis will be considered.




Tags:

see:  getMaxY$value
see:  Axes
see:  getMaxX$value
see:  getMinX$value
access:  public


[ Top ]

method getOtherSide [line 205]

boolean getOtherSide( )

Positions the Axis labels to the Otherside of the axis.
For instance, moves labels on a vertical Axis to the right of the Axis. This is useful when adding a Custom Axis, to place the labelling to the Right for a right vertical Axis, or to the Top for a Top Axis.



Tags:

access:  public


[ Top ]

method getPosAxis [line 709]

int getPosAxis( )

Obsolete.&nbsp;Please use Position instead.



Tags:

access:  public


[ Top ]

method getPosition [line 722]

int getPosition( )

Determines the screen co-ordinate where axis is drawn.


It returns the position of the Axis in pixels relative to the Chart Panel. For horizontal axes the number is a Y position, for vertical axes an X position.
Default $value: 0




Tags:

access:  public


[ Top ]

method getPositionUnits [line 932]

PositionUnits getPositionUnits( )

Defines axis Position units (pixels or percentage).


When PositionUnits is Percent, Position $value is a percentage of total chart size.
When PositionUnits is Pixels, Position is considered in pixels.
Default $value: Percent




Tags:

access:  public


[ Top ]

method getRange [line 130]

void getRange( )



Tags:

access:  public


[ Top ]

method getRectangleEdge [line 1740]

void getRectangleEdge( $r)



Parameters:

   $r  

[ Top ]

method getRelativePosition [line 910]

double getRelativePosition( )

Determines the Axis position as percentage 0-100% of the Chart.
  1. being Top for a horizontal Axis and Left for a vertical Axis.




Tags:

access:  public


[ Top ]

method getSizeLabels [line 1168]

void getSizeLabels( )



Tags:

access:  public


[ Top ]

method getSizeTickAxis [line 1725]

int getSizeTickAxis( )



Tags:

access:  public


[ Top ]

method getStartPosition [line 957]

double getStartPosition( )

Axis Start position on its own Axis expressed as a percentage.


For a vertical Axis a StartPosition of 75 would place the top of the Axis 75% down the Chart.
Default $value: 0%




Tags:

access:  public


[ Top ]

method getTickOnLabelsOnly [line 735]

boolean getTickOnLabelsOnly( )

The Axis Ticks and Axis Grid to be drawn only coincide at Labels.
Otherwise, they will be drawn at all axis increment positions.

When the Axis.Labels.Separation property is greater than 0 (default 10), Axis increases the increment property to afunction Axis Label overlap.
Default $value: true




Tags:

access:  public


[ Top ]

method getTicks [line 761]

TicksPen getTicks( )

Determines the kind of Pen used to draw Axis marks along the Axis line.


Ticks position is calculated based on Axis.Increment, Axis.Labels.Separation and Axis.Label.Style methods.
There are three kind of ticks available: Ticks, MinorTicks and TicksInner.
You can show or hide any of them of have all of them Visible. Ticks.Length defines the length of Axis Ticks in logical pixels.




Tags:

access:  public


[ Top ]

method getTicksInner [line 787]

TicksPen getTicksInner( )

Determines the kind of Pen used to draw Axis marks along the Axis line.


This does the same as Ticks, but lines are drawn inside Chart boundaries instead. TicksInner position is calculated based on Axis.Increment, Axis.Labels.Separation and Axis.Label.Style.
There are three kind of ticks available: Ticks, MinorTicks and TicksInner.
You can show or hide any of them of have all of them Visible. TickInnerLength defines the length of Axis TicksInner in logical pixels.




Tags:

access:  public


[ Top ]

method getTitle [line 802]

AxisTitle getTitle( )

An Axis sub-class used to define Title attributes.
Axis Titles are a string of text drawn near Axes. Use Text to specify Axis Title text.
Use Font and Angle to set the format desired.



Tags:

access:  public


[ Top ]

method getTitleSize [line 818]

int getTitleSize( )

Obsolete.&nbsp;Please use Axis.<!-- -->Title.<!-- -->CustomSize



Tags:

access:  public


[ Top ]

method getVisible [line 838]

boolean getVisible( )

Shows or hides the Axis lines, ticks, grids, labels and title.
You can change it both at design and runtime.
Default $value: true



Tags:

access:  public


[ Top ]

method getZPosition [line 871]

double getZPosition( )

Determines the Z axis position along chart Depth as a percentage of the total depth.
It can even be set to negative $values to place the axis in front of the Chart, or $values greater than 100% to place the axis behind the Chart.

In 3D or orthogonal display modes, ZPosition controls where to display the axis line. It useful if you want to move axis to front or to back in 3D view.




Tags:

access:  public


[ Top ]

method incDecDateTime [line 2346]

void incDecDateTime( $increment, $value, $anIncrement, $tmpWhichDatetime)



Tags:

access:  public


Parameters:

   $increment  
   $value  
   $anIncrement  
   $tmpWhichDatetime  

[ Top ]

method internalCalcPositions [line 2486]

void internalCalcPositions( )



Tags:

access:  public


[ Top ]

method internalCalcRange [line 221]

void internalCalcRange( )

Internal use.



Tags:

access:  public


[ Top ]

method internalSetInverted [line 98]

void internalSetInverted( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method isCustom [line 284]

boolean isCustom( )

Returns true if Axis is a Custom Axis



Tags:

access:  public


[ Top ]

method isDateTime [line 419]

boolean isDateTime( )

Returns if the Axis dependent $values are DateTime or not.


Each Chart Axis can consider $values to be normal numbers or DateTime $values. An axis is "DateTime" if at least one Active Series with datetime $values is associated to it.
Default $value: false




Tags:

access:  public


[ Top ]

method maxLabelsWidth [line 1105]

int maxLabelsWidth( )

Returns the maximum width in pixels of all Axis Labels.



Tags:

access:  public


[ Top ]

method readResolve [line 117]

void readResolve( )



Tags:

access:  protected


[ Top ]

method scroll [line 2553]

void scroll( offset $offset, checkLimits $checkLimits)

Scrolls or displaces the Axis Maximum and Minimum $values by the Offset parameter.
If you want to scroll the Axis outside Series limits, CheckLimits must be false.



Tags:

access:  public


Parameters:

offset   $offset   double
checkLimits   $checkLimits   boolean

[ Top ]

method setAutomatic [line 165]

void setAutomatic( boolean $value)

Description Max and Min of axis scale based on associated Series.



Tags:

access:  public


Parameters:

boolean   $value  

[ Top ]

method setAutomaticMaximum [line 337]

void setAutomaticMaximum( $value)

The Axis adjusts the Maximum $value automatically based on the maximum $value of its associated Series when true.
Default $value: true



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setAutomaticMinimum [line 360]

void setAutomaticMinimum( $value $value)

The Axis adjusts the Minimum $value automatically based on the maximum $value of its associated Series when true.
Default $value: true



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setChart [line 2607]

void setChart( $c)



Tags:

access:  public


Overrides TeeBase::setChart() (Chart associated with this object.)

Parameters:

   $c  

[ Top ]

method setEndPosition [line 990]

void setEndPosition( $value $value)

Sets the Axis End Position on its own Axis expressed as a percentage.
Default $value: 100%



Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setGridCentered [line 900]

void setGridCentered( $value $value)

Obsolete.&nbsp;Please use Axis.<!-- -->Grid.<!-- -->Centered property



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setHorizontal [line 189]

void setHorizontal( $value $value)

Sets a custom axis to be drawn horizontally.



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setIncrement [line 452]

void setIncrement( $value $value)

Sets the minimum step between axis labels.



Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setInverted [line 482]

void setInverted( $value $value)

Swaps the Axis Minimum and Maximum scales when true.
Default $value: false



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setLabelsOnAxis [line 406]

void setLabelsOnAxis( $value $value)

Obsolete.&nbsp;Please use Labels.<!-- -->OnAxis instead.



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setLogarithmic [line 511]

void setLogarithmic( $value $value)

Scales the Axis Logarithmically when true.
Default $value: false



Tags:

throws:  TeeChartException
access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setLogarithmicBase [line 1008]

void setLogarithmicBase( $value $value)

Sets the base for the Logarithmic scale when Axis Logarithmic = true.



Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setMaximum [line 585]

void setMaximum( $value $value)

Sets the highest $value an Axis will use to scale their dependent Series posvalues.




Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setMaximumOffset [line 559]

void setMaximumOffset( $value $value)

Sets the amount of pixels that will be left as a margin at axis maximum position.
Default $value: 0



Tags:

access:  public


Parameters:

$value   $value   int

[ Top ]

method setMinAxisIncrement [line 609]

void setMinAxisIncrement( $value $value)

Advanced use. Determines the smallest Axis calculation increment.
Default $value: 1e-12



Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setMinimum [line 635]

void setMinimum( $value $value)

Sets the lowest $value an Axis will use to scale their dependent Series possvalues.




Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setMinimumOffset [line 659]

void setMinimumOffset( $value $value)

Determines the number of pixels that will be left as a margin at axis minimum position.
Default $value: 0




Tags:

access:  public


Parameters:

$value   $value   int

[ Top ]

method setMinMax [line 2589]

void setMinMax( min $min, max $max)

Changes the current Axis Minimum and Maximum scales.
Axis.Automatic must be set to false.



Tags:

access:  public


Parameters:

min   $min   double Axis Minimum scale
max   $max   double Axis Maximum scale

[ Top ]

method setMinMaxDate [line 2578]

void setMinMaxDate( minDate $minDate, maxDate $maxDate)

Changes the current Axis Minimum and Maximum scales.
Axis.Automatic must be set to false.



Tags:

access:  public


Parameters:

minDate   $minDate   DateTime Axis Minimum scale
maxDate   $maxDate   DateTime Axis Maximum scale

[ Top ]

method setMinorTickCount [line 682]

void setMinorTickCount( $value $value)

Determines the number of Axis minor ticks between major ticks.
Default $value: 3



Tags:

access:  public


Parameters:

$value   $value   int

[ Top ]

method setMinorTicks [line 701]

void setMinorTicks( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setOtherSide [line 214]

void setOtherSide( $value $value)

Sets the Axis labels to the Otherside of the axis.



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setPositionUnits [line 942]

void setPositionUnits( $value $value)

Determines the axis Position units (pixels or percentage).
Default $value: Percent



Tags:

access:  public


Parameters:

$value   $value   PositionUnits

[ Top ]

method setRelativePosition [line 919]

void setRelativePosition( $value $value)

Determines the Axis position as percentage 0-100% of the Chart.




Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setStartPosition [line 968]

void setStartPosition( $value $value)

Sets the Axis Start position on its own Axis expressed as a percentage.


Default $value: 0%




Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method setTickOnLabelsOnly [line 746]

void setTickOnLabelsOnly( $value $value)

Sets the Axis Ticks and Axis Grid to be drawn to only coincide at Labels.
Default $value: true



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setTicks [line 771]

void setTicks( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setTitle [line 809]

void setTitle( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setTitleSize [line 827]

void setTitleSize( $value $value)

Obsolete.&nbsp;Please use Axis.<!-- -->Title.<!-- -->CustomSize



Tags:

access:  public


Parameters:

$value   $value   int

[ Top ]

method setVisible [line 848]

void setVisible( $value $value)

Shows the Axis lines, ticks, grids, labels and title when true.
Default $value: true



Tags:

access:  public


Parameters:

$value   $value   boolean

[ Top ]

method setZPosition [line 881]

void setZPosition( $value $value)

Sets the Z axis position along chart Depth as a percentage of the total depth.




Tags:

access:  public


Parameters:

$value   $value   double

[ Top ]

method shouldSerializeHorizontal [line 171]

void shouldSerializeHorizontal( )



Tags:

access:  protected


[ Top ]

method shouldSerializeMaximum [line 529]

void shouldSerializeMaximum( )



Tags:

access:  protected


[ Top ]

method shouldSerializeMinimum [line 589]

void shouldSerializeMinimum( )



Tags:

access:  protected


[ Top ]

method shouldSerializeOtherSide [line 193]

void shouldSerializeOtherSide( )



Tags:

access:  protected


[ Top ]

method shouldSerializeZPosition [line 852]

void shouldSerializeZPosition( )



Tags:

access:  protected


[ Top ]

method titleOrName [line 1028]

void titleOrName( )



Tags:

access:  public


[ Top ]

method _draw [line 2450]

void _draw( $g, $calcPosAxis)



Tags:

access:  public


Parameters:

   $g  
   $calcPosAxis  

[ Top ]

method _drawAxisLabel [line 1967]

void _drawAxisLabel( x $x, y $y, $angle, st $st, labelItem $labelItem, angle $Angle)

Draws Axis Label (String) at specified X,Y co-ordinate at Angle.



Tags:

access:  public


Parameters:

x   $x   coordinate
y   $y   coordinate
angle   $Angle   at which Label is drawn
st   $st   String asociated to Label
labelItem   $labelItem   TextShape
   $angle  

[ Top ]

method __draw [line 2510]

void __draw( posLabels $posLabels, posTitle $posTitle, posAxis $posAxis, gridVisible $gridVisible)

Displays an Axis at the specified screen positions with the current axis scales.
Main drawing method. Custom draw methods can be overloads.



Tags:

access:  public


Parameters:

posLabels   $posLabels   int
posTitle   $posTitle   int
posAxis   $posAxis   int
gridVisible   $gridVisible   boolean

[ Top ]

method __get [line 84]

void __get( $property)



Overrides TeeBase::__get() (parent method not documented)

Parameters:

   $property  

[ Top ]

method __set [line 91]

void __set( $property, $value)



Overrides TeeBase::__set() (parent method not documented)

Parameters:

   $property  
   $value  

[ Top ]

method ___draw [line 2528]

void ___draw( posLabels $posLabels, posTitle $posTitle, posAxis $posAxis, gridVisible $gridVisible, aStartPos $aStartPos, aEndPos $aEndPos)

Displays an Axis at the specified screen positions with the current axis scales.
Main drawing method. Custom draw methods can be overloads.



Tags:

access:  public


Parameters:

posLabels   $posLabels   int
posTitle   $posTitle   int
posAxis   $posAxis   int
gridVisible   $gridVisible   boolean
aStartPos   $aStartPos   int
aEndPos   $aEndPos   int

[ Top ]

method ____draw [line 2638]

void ____draw( posLabels $posLabels, posTitle $posTitle, posAxis $posAxis, gridVisible $gridVisible, aMinimum $aMinimum, aMaximum $aMaximum, aStartPosition $aStartPosition, aEndPosition $aEndPosition)

Displays an Axis at the specified screen positions with the current axis scales.
Main drawing method. Custom draw methods can be overloads.



Tags:

access:  public


Parameters:

posLabels   $posLabels   int
posTitle   $posTitle   int
posAxis   $posAxis   int
gridVisible   $gridVisible   boolean
aMinimum   $aMinimum   double
aMaximum   $aMaximum   double
aStartPosition   $aStartPosition   int
aEndPosition   $aEndPosition   int

[ Top ]

method _____draw [line 2664]

void _____draw( posLabels $posLabels, posTitle $posTitle, posAxis $posAxis, gridVisible $gridVisible, aMinimum $aMinimum, aMaximum $aMaximum, aIncrement $aIncrement, aStartPos $aStartPos, aEndPos $aEndPos)

Displays an Axis at the specified screen positions with the current axis scales.
Main drawing method. Custom draw methods can be overloads.



Tags:

access:  public


Parameters:

posLabels   $posLabels   int
posTitle   $posTitle   int
posAxis   $posAxis   int
gridVisible   $gridVisible   boolean
aMinimum   $aMinimum   double
aMaximum   $aMaximum   double
aIncrement   $aIncrement   double
aStartPos   $aStartPos   int
aEndPos   $aEndPos   int

[ Top ]


Documentation generated on Thu, 18 Dec 2008 13:07:55 +0100 by phpDocumentor 1.4.1