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

Class: Pie

Source Location: /styles/Pie.php

Class Overview

TeeBase
   |
   --Series
      |
      --Circular
         |
         --Pie

Pie class


Author(s):

Version:

  • 1.0

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods

Class: Circular

Circular::Circular()
Circular::adjustCircleRect()
Circular::angleToPos()
Returns the exact Screen position for a given pair of Angle and Radius values.
Circular::associatedToAxis()
Circular::calcCircleBackColor()
Circular::calcCircleGradient()
Circular::calcRadius()
Circular::doBeforeDrawValues()
Circular::getCircleBackColor()
Determines the color to fill the ellipse.
Setting it to Color.EMPTY indicates the CircledSeries to use to tChart.getPanel().getColor() color.
Circular::getCircled()
The CirleSeries as elliptical or circular.
Default value: false
Circular::getCircleGradient()
Determines the Gradient which fills the ellipse.
Default value: null
Circular::getCircleHeight()
Returns the height of the bounding Circle.
Circular::getCircleRect()
Returns the rectangle that bounds the circle.
eg. Pie Series, in its default position displacement of elevevation, rotation ,etc not applied.
Circular::getCircleWidth()
Returns the width of the bounding Circle.
Circular::getCircleXCenter()
Returns the exact horizontal position of ellipse's center in pixels.
Run-time and read only.
Circular::getCircleYCenter()
Returns the exact vertical position of the ellipse's center in pixels.
Circular::getCustomXRadius()
The ellipse's horizontal radius in pixels.
Default value: 0
Circular::getCustomYRadius()
The ellipse's vertical radius in pixels.
Default value: 0
Circular::getRotationAngle()
The angle of Chart rotation.
Circular::getXRadius()
Returns the exact horizontal size of the ellipse's radius in pixels.
The ellipse XRadius can be set to a fixed number of pixels by using this method. Circled series.Circled controls whether both radii must be proportional to the Screen X/Y ratio.
Circular::getYRadius()
Returns the exact vertical size of the ellipse's radius in pixels.
The ellipse YRadius can be set to a fixed number of pixels by using this method. Circled series .Circled controls whether both radii must be proportional to the Screen X/Y ratio.
Circular::onDisposing()
Circular::pointToAngle()
Returns the angle from the XY point parameter to the circle center.
Circular::pointToRadius()
Returns the radius from XY point to the circle center.
Circular::prepareLegendCanvas()
Circular::rotate()
Returns the angle by which the Chart is rotated.
Circular::setActive()
Circular::setChart()
Circular::setCircleBackColor()
Determines the color to fill the ellipse.
Circular::setCircled()
Sets CirleSeries as elliptical or circular.
Default value: false
Circular::setCustomXRadius()
Sets ellipse's horizontal radius in pixels.
Default value: 0
Circular::setCustomYRadius()
Sets ellipse's vertical radius in pixels.
Default value: 0
Circular::setParentProperties()
Circular::setRotationAngle()
Sets angle of Chart rotation.
Default value: 0
Circular::shouldSerializeCircleBackColor()
Circular::__get()
Circular::__set()

Class: Series

Series::Series()
Series::add()
Adds a new point with specified value.
Series::addArray()
Adds the array of double values.
Series::addChartValue()
Series::added()
Series::addNull()
Obsolete.&nbsp;Please use add() method without parameters instead.
Series::addNullXY()
Obsolete.&nbsp;Please use add(x,y,Color.<!-- -->Transparent) method instead.
Series::addSampleValues()
Series::addSeriesMouseListener()
Series::addSeriesPaintListener()
Series::addText()
Adds a new null point with specified text.
Series::addValues()
Series::addXY()
Adds a new point with specified x and y values.
Series::addXYColor()
Adds a new point with specified x and y values and color.
Series::addXYText()
Adds a new point with specified x,y values and text.
Series::addXYTextColor()
Adds a new point with specified x,y values, text and color.
Series::addYColor()
Adds a new point with specified value and color.
Series::addYText()
Adds a new point with specified value and text.
Series::addYTextColor()
Adds a new point with specified value, text and color.
Series::assign()
Copies all properties from one Series component to another.
Series::assignDispose()
Series::assignValues()
Adds all Values from Source seriesto the current Series.
Series::associatedToAxis()
Series::beginUpdate()
Recalculates the function just one time, when finished adding points.
Series::calcFirstLastVisibleIndex()
Series::calcHorizMargins()
Returns the number of pixels for horizontal margins
Series::calcPosValue()
Returns "Value" parameter coordinate position in pixels.
Series::calcVerticalMargins()
Returns the number of pixels for vertical margins
Series::calcXPos()
The pixel Screen Horizontal coordinate of the ValueIndex Series value.
This coordinate is calculated using the Series associated Horizontal Axis.
Series::calcXPosValue()
The pixel Screen Horizontal coordinate of the specified Value.
Series::calcXSizeValue()
Returns the size in pixels corresponding to value parameter in horizontal axis scales.
This coordinate is calculated using the Series associated Horizontal Axis.
Series::calcYPos()
The pixel Screen Vertical coordinate of the ValueIndex Series value.
This coordinate is calculated using the Series associated Vertical Axis.
Series::calcYPosValue()
The pixel Screen Vertical coordinate of the specified Value.
This coordinate is calculated using the Series associated Vertical Axis.
Series::calcYSizeValue()
Returns the size in pixels corresponding to value parameter in vertical axis scales.
This coordinate is calculated using the Series associated Vertical Axis.
Series::calcZOrder()
Series::canAddRandomPoints()
Series::changeType()
Replaces ASeries object with a new Series object of another class.
Series::checkDataSource()
Refreshes all Series point values, either from database Tables or Series points.
Series::checkMouse()
Adds the array of integer values.
Series::checkOrder()
Reorders points according to Order property of X,Y,etc value lists.
Refreshes sort order of Series points if Order type of XValues or YValues is not loNone.
Series::checkOtherSeries()
Series::clear()
Removes all points, texts and Colors from the Series.
Dependent Series are notified. If no new points are appended to the Series, nothing will be painted.
Series::clearLists()
Series::clicked()
Series::cloneS()
Series::cloneSeries()
Returns a new Series, copy of this original.
It returns the SeriesIndex of the new Series.
Series::convertArray()
Adds all points in source Series.
Series::createNewSeries()
Creates a new Series object and sets the Name, Chart, Sub-Style and Function methods.
This is an internal method, you should seldomly use it in your applications.
Series::createSubGallery()
Series::dataSourceArray()
Series::delete()
Removes the index th point.
X values remain unchanged.
The Chart will be automatically redrawn.
Dependent Series will be recalculated.
Series::dispose()
Series::doAfterDrawValues()
Series::doBeforeDrawChart()
Series::doBeforeDrawValues()
Series::doClick()
Series::doClickPointer()
Series::doDoubleClick()
Series::draw()
Series::drawLegend()
Series::drawLegendShape()
Series::drawMark()
Series::drawMarks()
Series::drawSeries()
Draws the series to the Chart Canvas.
Series::drawSeriesForward()
Series::drawValue()
Called internally. Draws the "ValueIndex" point of the Series.
Series::drawValuesForward()
Returns whether Series draws its points in ascending/descending order.
Series::endUpdate()
Recalculates the function just one time, when finished adding points.
Series::fillSampleValues()
Adds the specified NumValues random points.
Series::fireSeriesMouseEvent()
Series::fireSeriesPaint()
Series::galleryChanged3D()
Series::getActive()
Shows or hides this series.
Series::getAllowSinglePoint()
Series::getBitmapEditor()
Returns the URL of the associated bitmap icon for a given Series class.
This icon is used at ChartListBox and Series Editor dialog.
Series::getColor()
Default color for all points.
Series::getColorEach()
Draws points with different preset Colors.
Series::getColorMember()
The the Datasource Color Field.
Default value: ""
Series::getColors()
Accesses the stored Color Array, if created, for the Series.
When attaching new series to any Chart, setting TChart Series.SerieColor to Color.EMPTY will make TeeChart assign a different color to each Series.
Series::getCount()
Returns the number of points in the Series.
Series::getCountLegendItems()
Series::getCursor()
Cursor displayed when mouse is over a series point.
Each Series determines the intersection of points with mouse coordinates each time the mouse moves. There are many different Cursors available.
Series::getCustomHorizAxis()
Specifies the custom horizontal axis for the series.
Series::getCustomVertAxis()
Specifies the custom vertical axis for the series.
Default value: null
Series::getDataSource()
Object to load data from.
Default value: null
Series::getDepth()
The Depth of the series points or interconnecting lines.
Default value: -1
Series::getDescription()
Gets descriptive text.
Series::getEndZ()
For internal use.
Series::getFields()
Series::getFirstVisible()
Returns the index of the Series' first visible point.
Series::getFunction()
Function object to calculate values.
Default value: null
Series::getHasZValues()
Series::getHorizAxis()
Series::getHorizontalAxis()
Horizontal axis associated to this Series.
Default value: HorizontalAxis.Bottom
Series::getLabelMember()
The the Datasource Label Field.
Default value: ""
Series::getLabels()
Accesses a list of series point labels.
Series::getLastVisible()
Returns the index of the Series' last visible point.
Series::getLegendString()
Returns the formatted String corresponding to the LegendIndex point.
Series::getMandatory()
Series::getMarks()
Defines how to draw a mark near to each Series point.
Series::getMarkText()
Returns the String corresponding to the Series Mark text for a given ValueIndex point.
The Mark text depends on the Marks.Style method.
Series::getMarkValue()
Returns corresponding Point value suitable for displaying at Series Marks.
Series::getMaxXValue()
The Maximum Value of the Series X Values List.
Series::getMaxYValue()
The Maximum Value of the Series Y Values List.
Series::getMaxZValue()
The Maximum Z Value. For non-3D series, this is the Z order.
Series::getMiddleZ()
For internal use.
Series::getMinXValue()
The Minimum Value of the Series X Values List.
Series::getMinYValue()
The Minimum Value of the Series Y Values List.
Series::getMinZValue()
The Minimum Z Value. For non-3D series, this is the Z order.
Series::getNotMandatory()
Series::getNumGallerySeries()
For internal use.
Series::getNumSampleValues()
Series::getOriginValue()
Series::getPercentFormat()
The Format to display point values as percentage.
Series::getPoint()
Point characteristics.
Series::getSeriesColor()
Obsolete.&nbsp;Use the Series.Color method instead.
Series::getShowInLegend()
Displays this Series Title in Legend.
It is only meaningful when LegendStyle is Series or LastValues.
Default value: true
Series::getStartZ()
For internal use.
Series::getTitle()
Series description to show in Legend and dialogs.
Series::getUseAxis()
Series::getValueColor()
The colour of the index point.
Series::getValueFormat()
Determines the Format to display point values.
It specifies the desired formatting string to be applied to Axis Labels.
Series::getValueIndexSwapper()
Series::getValueList()
Series::getValueListNum()
Adds the collection of objects that implement the IList interface.
Series::getValueMarkText()
Returns the String representation of a Index point used to draw the Mark.
Series::getValuesLists()
Returns the steema.teechart.styles.ValuesLists object of the series.
Series::getVertAxis()
Series::getVerticalAxis()
Determines Vertical axis associated to this Series.
Default value: VerticalAxis.Left
Series::getVisible()
Returns if this series is Visible.
Series::getXValues()
Values defining horizontal point positions.
Series::getYMandatory()
Returns whether or not this Series has Y values as mandatory.
Series::getYValueList()
Returns the value list that the AListName parameter has.
Series::getYValues()
Values defining vertical point positions.

WARNING:
You CAN NOT Delete, Clear or Add values DIRECTLY. You need to call the Series equivalent methods to do this.
Series::getZOrder()
Determines where on the depth axis the Series is drawn.

Series::hasDataSource()
Series::hasListenersOf()
Series::hasNoMandatoryValues()
Series::isNull()
Returns true if the index th point in the Series is "null" or "empty".
Series::isValidSeriesSource()
Series::isValidSourceOf()
Validates Series datasource.
Series::legendItemColor()
Series::legendToValueIndex()
Series::maxMarkWidth()
Returns the length in pixels of the longest Mark text.
Series::moreSameZOrder()
Returns true if there are more series that share the same Z order.
For example Stacked Bars.
Series::mouseEvent()
Series::newFromType()
Creates a new series from the Class type of an existing series object.
Series::numSampleValues()
Series::onDisposing()
Series::paintLegend()
Draws the Series "Legend" on the specified rectangle and Graphics.
Series::prepareForGallery()
Series::prepareLegendCanvas()
Series::randomBounds()
Removes count number of points starting at index.
When RemoveGap parameter is true, it calls ValueList FillSequence.
The Chart will be automatically redrawn.
Dependent Series will be recalculated.
Series::readResolve()
Series::recalcGetAxis()
Series::refreshSeries()
Recalculates all dependent Series points again.
Series::removeMarkTextResolver()
Series::removeSeriesMouseListener()
Series::removeSeriesPaintListener()
Series::repaint()
Forces the Chart to Repaint.
You don't normally call Repaint directly. It can be used within derived TChartSeries components when changing their properties internally .
Series::sameClass()
Returns True when the tmpSeries parameter is of the same class.
Series::setActive()
Shows or hides this series.
Series::setChart()
Series::setColor()
Default color for all points.
Default value: Color.Empty
Series::setColorEach()
Series::setColorMember()
Sets the Datasource Color Field.
Default value: ""
Series::setColors()
Accesses the stored Color Array, if created, for the Series.
Default value: null
Series::setCursor()
Cursor displayed when mouse is over a series point.
Default value: default
Series::setCustomHorizAxis()
Specifies the custom horizontal axis for the series.
Default value: null
Series::setCustomHorizAxisValue()
Specifies the custom horizontal axis for the series.
Default value: null
Series::setCustomVertAxis()
Specifies the custom vertical axis for the series.
Default value: null
Series::setCustomVertAxisValue()
Specifies the custom vertical axis for the series.
Default value: null
Series::setDataSource()
Object to load data from.
Default value: null
Series::setDepth()
Sets the Depth of the series points or interconnecting lines.
Default value: -1
Series::setEndZ()
Series::setFunction()
Series::setHorizontal()
Series::setHorizontalAxis()
Stes the Horizontal axis associated to this Series.
Default value: HorizontalAxis.Bottom
Series::setLabelMember()
Sets the Datasource Label Field.
Default value: ""
Series::setLabels()
Accesses a list of series point labels.
Series::setMarks()
Series::setMarkTextResolver()
Series::setMiddleZ()
Series::setNull()
Sets the specified series point to a null (transparent) point.
Series::setPercentFormat()
Sets the Format to display point values as percentage.
Default value: Language::getString("DefPercentFormat")
Series::setSeriesColor()
Obsolete.&nbsp;Use the Series.Color method instead.
Series::setShowInLegend()
Displays this Series Title in Legend.
Default value: true
Series::setStartZ()
Series::setSubGallery()
Creates and prepares the index'th Series style to show at sub-gallery dialog.
Series::setTitle()
Series description to show in Legend and dialogs.
Default value: ""
Series::setValueFormat()
Determines the Format to display point values.
Default value: Language::getString("DefValueFormat")
Series::setValueList()
Series::setVerticalAxis()
Determines Vertical axis associated to this Series.
Default value: VerticalAxis.Left
Series::setVisible()
An alias to Active property.
Shows or Hides the component.
Series::setXValues()
Series::setYValues()
Series::setZOrder()
Determines where on the depth axis the Series is drawn.

Default value: AutoZOrder
Series::setZPositions()
Series::swapValueIndex()
Exchanges one point with another. Also the point color and point label.
Series::titleOrName()
Obsolete.&nbsp;Please use ToString() method instead.
Series::toString()
Overridden ToString() method.
Series::valuesListAdd()
Series::xScreenToValue()
Returns the corresponding X value of a Screen position between Axis limits.
The Screen position must be between Axis limits.
Series::yScreenToValue()
Returns the corresponding Y value of a Screen position between Axis limits.
The resulting Value is based on the Series.GetVertAxis.
Series::__get()
Series::__set()

Class: TeeBase

TeeBase::__construct()
TeeBase::getChart()
Chart associated with this object.
TeeBase::invalidate()
Use invalidate when the entire canvas needs to be repainted.
TeeBase::setBooleanProperty()
TeeBase::setChart()
Chart associated with this object.
TeeBase::setColorProperty()
TeeBase::setDoubleProperty()
TeeBase::setIntegerProperty()
TeeBase::setStringProperty()
TeeBase::_setColorProperty()
TeeBase::__get()
TeeBase::__set()

Class Details

[line 30]
Pie class

Description: Pie Series Example: $pieSeries = new Pie($myChart->getChart()); $pieSeries->getMarks()->setVisible(true); $pieSeries->getShadow()->setVisible(true); $pieSeries->getShadow()->setHorizSize(20); $pieSeries->getShadow()->setVertSize(20); $pieSeries->fillSampleValues(8);

$myChart->getHeader()->setVisible(true); $myChart->getHeader()->setText("Pie"); $myChart->getAspect()->setElevation(315); $myChart->getAspect()->setOrthogonal(false); $myChart->getAspect()->setPerspective(0); $myChart->getAspect()->setRotation(360);




Tags:

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


[ Top ]


Class Variables

$angles = null

[line 57]



Tags:

access:  public

Type:   mixed


[ Top ]

$BelongsToOther =  -1

[line 56]



Tags:

access:  public

Type:   mixed


[ Top ]

$iDonutPercent = 0

[line 52]



Tags:

access:  protected

Type:   mixed


[ Top ]

$iniX =

[line 53]



Tags:

access:  protected

Type:   mixed


[ Top ]

$iniY =

[line 54]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor Pie [line 77]

Pie Pie( [ $c = null])

The class constructor.



Tags:

access:  public


Parameters:

   $c  

[ Top ]

method addSampleValues [line 462]

void addSampleValues( $numValues)



Tags:

access:  protected


Overrides Series::addSampleValues() (parent method not documented)

Parameters:

   $numValues  

[ Top ]

method belongsToOtherSlice [line 1163]

boolean belongsToOtherSlice( valueIndex $valueIndex)

Returns true if indexed Slice belongs to the Otherslice.
The "other" slice is controlled by the OtherSlice method, and is used to join several small slices into a single bigger one.



Tags:

access:  public


Parameters:

valueIndex   $valueIndex   int

[ Top ]

method calcExplodedRadius [line 544]

void calcExplodedRadius( $valueIndex)



Tags:

access:  protected


Parameters:

   $valueIndex  

[ Top ]

method calcXPos [line 1173]

int calcXPos( valueIndex $valueIndex)

Returns the pixel Screen Horizontal coordinate of the ValueIndex Series value.



Tags:

access:  public


Overrides Series::calcXPos() (The pixel Screen Horizontal coordinate of the ValueIndex Series value.
This coordinate is calculated using the Series associated Horizontal Axis.)

Parameters:

valueIndex   $valueIndex   int

[ Top ]

method clearLists [line 550]

void clearLists( )



Tags:

access:  protected


Overrides Series::clearLists() (parent method not documented)

[ Top ]

method clicked [line 1181]

void clicked( $x, $y)



Tags:

access:  public


Overrides Series::clicked() (parent method not documented)

Parameters:

   $x  
   $y  

[ Top ]

method createSubGallery [line 1230]

void createSubGallery( $addSubChart)



Tags:

access:  public


Overrides Series::createSubGallery() (parent method not documented)

Parameters:

   $addSubChart  

[ Top ]

method DoAfterDrawValues [line 683]

void DoAfterDrawValues( )



Tags:

access:  protected


[ Top ]

method doBeforeDrawChart [line 555]

void doBeforeDrawChart( )



Tags:

access:  public


Overrides Series::doBeforeDrawChart() (parent method not documented)

[ Top ]

method DoBeforeDrawValues [line 672]

void DoBeforeDrawValues( )



Tags:

access:  protected


[ Top ]

method draw [line 722]

void draw( )



Tags:

access:  protected


Overrides Series::draw() (parent method not documented)

[ Top ]

method drawMark [line 837]

void drawMark( $valueIndex, $s, $position)



Tags:

access:  protected


Overrides Series::drawMark() (parent method not documented)

Parameters:

   $valueIndex  
   $s  
   $position  

[ Top ]

method drawOutlineSlice [line 950]

void drawOutlineSlice( $valueIndex)



Tags:

access:  public


Parameters:

   $valueIndex  

[ Top ]

method drawPie [line 1029]

void drawPie( $valueIndex, $last)



Tags:

access:  public


Parameters:

   $valueIndex  
   $last  

[ Top ]

method drawValue [line 1078]

void drawValue( valueIndex $valueIndex)

Called internally. Draws the "ValueIndex" point of the Series.



Tags:

access:  public


Overrides Series::drawValue() (Called internally. Draws the "ValueIndex" point of the Series.)

Parameters:

valueIndex   $valueIndex   int

[ Top ]

method galleryChanged3D [line 427]

void galleryChanged3D( $is3D)



Tags:

access:  public


Overrides Series::galleryChanged3D() (parent method not documented)

Parameters:

   $is3D  

[ Top ]

method getAngleSize [line 143]

int getAngleSize( )

Total angle in degrees (0 to 360) for all slices.
Default value: 360



Tags:

access:  public


[ Top ]

method getAutoMarkPosition [line 380]

boolean getAutoMarkPosition( )

If true, marks will be displayed trying to not overlap one to each other.
Default value: true



Tags:

access:  public


[ Top ]

method getBevelPercent [line 235]

void getBevelPercent( )



Tags:

access:  public


[ Top ]

method getBrush [line 325]

ChartBrush getBrush( )

Brush fill for PieSeries.



Tags:

access:  public


[ Top ]

method getColorEach [line 123]

boolean getColorEach( )

Draws points with different preset Colors.
Default value: true



Tags:

access:  public


Overrides Series::getColorEach() (Draws points with different preset Colors.
)

[ Top ]

method getCountLegendItems [line 1213]

void getCountLegendItems( )



Tags:

access:  public


Overrides Series::getCountLegendItems() (parent method not documented)

[ Top ]

method getDark3D [line 178]

boolean getDark3D( )

Darkens side of 3D pie section to add depth.


When true, it fills the Pie 3D effect screen areas with darker colors than their corresponding Pie sectors. These colors look much better with 16k colors video mode or greater.
The Pie sector RGB color is increased to 40 units to obtain the darker color.
Default value: true




Tags:

access:  public


[ Top ]

method getDarkPen [line 255]

boolean getDarkPen( )

Darkens pie slice borders.
Default value: false



Tags:

access:  public


[ Top ]

method getDescription [line 1294]

String getDescription( )

Gets descriptive text.



Tags:

access:  public


Overrides Series::getDescription() (Gets descriptive text.)

[ Top ]

method getEdgeStyle [line 218]

void getEdgeStyle( )



Tags:

access:  public


[ Top ]

method getExplodeBiggest [line 275]

int getExplodeBiggest( )

Displaces the biggest slice from centre by value set.
Default value: 0



Tags:

access:  public


[ Top ]

method getExplodedSlice [line 1280]

ExplodedSliceList getExplodedSlice( )

Accesses the properties for exploding any Pie slice.



Tags:

access:  public


[ Top ]

method getMarksPie [line 936]

void getMarksPie( )



Tags:

access:  public


[ Top ]

method getOtherSlice [line 304]

PieOtherSlice getOtherSlice( )

Accesses the OtherSlice properties.


For example, you can use it to define the grouping size for the 'Other' slice of the Pie.
Grouping may be expressed as a percentage or value.

<p>Example:


 pieSeries.getOtherSlice().getLegend().setVisible(isSelected);
 
</p>




Tags:

see:  getStyle
access:  public


[ Top ]

method getPen [line 316]

ChartPen getPen( )

Line pen for Pie.




Tags:

access:  public


[ Top ]

method getPieValues [line 99]

ValueList getPieValues( )

Stores the Pie slice values.



Tags:

access:  public


[ Top ]

method getShadow [line 346]

PieShadow getShadow( )

Defines the offset shadow of the PieSeries.

Example:


 pieSeries = new com.steema.teechart.styles.Pie(myChart.getChart());
 pieSeries.getMarks().setVisible(true);
 pieSeries.getShadow().setVisible(true);
 pieSeries.getShadow().setWidth(30);
 pieSeries.getShadow().setHeight(50);
 pieSeries.getShadow().setColor(Color.SILVER);
 pieSeries.fillSampleValues(9);

 




Tags:

access:  public


[ Top ]

method getTransparency [line 201]

int getTransparency( )

The Transparency level from 0 to 100%.


Transparency is a value between 0 and 100 which sets the transparency percentage with respect to foreground versus background.
Default value: 0




Tags:

access:  public


[ Top ]

method getUsePatterns [line 359]

boolean getUsePatterns( )

Fills Pie Sectors with different Brush pattern styles.
Default value: false



Tags:

access:  public


[ Top ]

method legendToValueIndex [line 1115]

void legendToValueIndex( $legendIndex)



Tags:

access:  public


Overrides Series::legendToValueIndex() (parent method not documented)

Parameters:

   $legendIndex  

[ Top ]

method numSampleValues [line 1100]

void numSampleValues( )



Tags:

access:  protected


Overrides Series::numSampleValues() (parent method not documented)

[ Top ]

method prepareForGallery [line 1104]

void prepareForGallery( $isEnabled)



Tags:

access:  public


Overrides Series::prepareForGallery() (parent method not documented)

Parameters:

   $isEnabled  

[ Top ]

method prepareLegendCanvas [line 1142]

void prepareLegendCanvas( $g, $valueIndex, $backColor, $aBrush)



Tags:

access:  protected


Overrides Circular::prepareLegendCanvas() (parent method not documented)

Parameters:

   $g  
   $valueIndex  
   $backColor  
   $aBrush  

[ Top ]

method setAngleSize [line 163]

void setAngleSize( value $value)

Total angle in degrees (0 to 360) for all slices.
Default value: 360


Example:


 pieSeries = new com.steema.teechart.styles.Pie(myChart.getChart());
 pieSeries.getMarks().setVisible(true);
 pieSeries.getMarks().setStyle(MarksStyle.LABELPERCENT);
 pieSeries.fillSampleValues(5);
 pieSeries.setAngleSize(180);
 pieSeries.setRotationAngle(90);
 




Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setAutoMarkPosition [line 391]

void setAutoMarkPosition( value $value)

If true, marks will be displayed trying to not overlap one to each other.
Default value: true



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setBevelPercent [line 240]

void setBevelPercent( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setChart [line 103]

void setChart( $c)



Tags:

access:  public


Overrides Circular::setChart() (parent method not documented)

Parameters:

   $c  

[ Top ]

method setColorEach [line 133]

void setColorEach( value $value)

Draws points with different preset Colors.
Default value: true



Tags:

access:  public


Overrides Series::setColorEach() (parent method not documented)

Parameters:

value   $value   boolean

[ Top ]

method setDark3D [line 188]

void setDark3D( value $value)

Darkens side of 3D pie section to add depth.
Default value: true



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setDarkPen [line 265]

void setDarkPen( value $value)

Darkens pie slice borders.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method setDonutPercent [line 113]

void setDonutPercent( $value)



Tags:

access:  protected


Parameters:

   $value  

[ Top ]

method setEdgeStyle [line 223]

void setEdgeStyle( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setExplodeBiggest [line 285]

void setExplodeBiggest( value $value)

Displaces the biggest slice from centre by value set.
Default value: 0



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setMarksPie [line 945]

void setMarksPie( $value)



Tags:

access:  public


Parameters:

   $value  

[ Top ]

method setSubGallery [line 1241]

void setSubGallery( $index)



Tags:

access:  public


Overrides Series::setSubGallery() (Creates and prepares the index'th Series style to show at sub-gallery dialog.)

Parameters:

   $index  

[ Top ]

method setTransparency [line 211]

void setTransparency( value $value)

Sets Transparency level from 0 to 100%.
Default value: 0



Tags:

access:  public


Parameters:

value   $value   int

[ Top ]

method setUsePatterns [line 369]

void setUsePatterns( value $value)

Fills Pie Sectors with different Brush pattern styles.
Default value: false



Tags:

access:  public


Parameters:

value   $value   boolean

[ Top ]

method swapValueIndex [line 457]

void swapValueIndex( $a, $b)



Tags:

access:  protected


Overrides Series::swapValueIndex() (Exchanges one point with another. Also the point color and point label.)

Parameters:

   $a  
   $b  

[ Top ]

method __get [line 60]

void __get( $property)



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

Parameters:

   $property  

[ Top ]

method __set [line 67]

void __set( $property, $value)



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

Parameters:

   $property  
   $value  

[ Top ]


Documentation generated on Wed, 16 Jun 2010 12:07:20 +0200 by phpDocumentor 1.4.1