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

Class: PieOtherSlice

Source Location: /styles/Pie.php

Class Overview

TeeBase
   |
   --PieOtherSlice

<p>Title: PieOtherSlice class</p>


Author(s):

Version:

  • 1.0

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 1311]
<p>Title: PieOtherSlice class</p>

Description: Pie series uses this class in its Pie.OtherSlice.

Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL




Tags:

author:  
version:  1.0
copyright:  (c) 1995-2010 by Steema Software SL. All Rights Reserved. <info@steema.com>
see:  getOtherSlice


[ Top ]


Class Methods


constructor PieOtherSlice [line 1321]

PieOtherSlice PieOtherSlice( $c, $s)



Tags:

access:  public


Parameters:

   $c  
   $s  

[ Top ]

method getColor [line 1338]

Color getColor( )

The Color of the OtherSlice.



Tags:

access:  public


[ Top ]

method getLegend [line 1375]

Legend getLegend( )

Sets the properties of the PieOtherSlice Legend.



Example This sample shows how to use PieOtherSlice Legend:

prepare "Other" to group values below 10
pie1.getOtherSlice().setStyle(PieOtherStyles.BELOWVALUE);
pie1.getOtherSlice().setValue(10);
pie1.getOtherSlice().setText("Other");
pie1.getOtherSlice().getLegend().setVisible( true );
pie1.getOtherSlice().getLegend().setCustomPosition( true );
pie1.getOtherSlice().getLegend().setLeft( 350 );
pie1.getOtherSlice().getLegend().setTop( 150 );




Tags:

access:  public


[ Top ]

method getStyle [line 1428]

PieOtherStyles getStyle( )

Either value or percentage to group the 'other' Pie slice.



Tags:

access:  public


[ Top ]

method getText [line 1390]

String getText( )

Title for otherSlice.
Default value: Other



Tags:

access:  public


[ Top ]

method getValue [line 1409]

double getValue( )

Value (value or percentage) for Otherslice grouping.



Tags:

access:  public


[ Top ]

method setColor [line 1347]

void setColor( value $value)

Sets the Color of the OtherSlice.



Tags:

access:  public


Parameters:

value   $value   Color

[ Top ]

method setStyle [line 1438]

void setStyle( value $value)

Sets either value or percentage to group the 'other' Pie slice.



Tags:

access:  public


Parameters:

value   $value   PieOtherStyles

[ Top ]

method setText [line 1400]

void setText( value $value)

Title for otherSlice.
Default value: Other



Tags:

access:  public


Parameters:

value   $value   String

[ Top ]

method setValue [line 1418]

void setValue( value $value)

Value (value or percentage) for Otherslice grouping.



Tags:

access:  public


Parameters:

value   $value   double

[ Top ]


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