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

Class: ThemesList

Source Location: /themes/ThemesList.php

Class Overview


<p>Title: ThemeList class</p>


Author(s):

  • Steema Software SL.

Version:

  • 1.0

Copyright:

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

Variables

Methods



Class Details

[line 36]
<p>Title: ThemeList class</p>

Description: ThemesList is a collection of Theme objects.

Example:


 ThemesList.applyTheme(myChart.getChart(), new
 ExcelTheme(myChart.getChart()));
 




Tags:

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


[ Top ]


Class Variables

static $BLACKISBLACKTHEME =  1

[line 39]



Tags:

access:  public

Type:   mixed


[ Top ]

static $BLUESKYTHEME =  8

[line 46]



Tags:

access:  public

Type:   mixed


[ Top ]

static $BUSINESSTHEME =  7

[line 45]



Tags:

access:  public

Type:   mixed


[ Top ]

static $CLASSICTHEME =  4

[line 42]



Tags:

access:  public

Type:   mixed


[ Top ]

static $DEFAULTTHEME =  2

[line 40]



Tags:

access:  public

Type:   mixed


[ Top ]

static $EXCELTHEME =  3

[line 41]



Tags:

access:  public

Type:   mixed


[ Top ]

static $GRAYSCALETHEME =  9

[line 47]



Tags:

access:  public

Type:   mixed


[ Top ]

static $OPERATHEME =  0

[line 38]



Tags:

access:  public

Type:   mixed


[ Top ]

static $WEBTHEME =  6

[line 44]



Tags:

access:  public

Type:   mixed


[ Top ]

static $XPTHEME =  5

[line 43]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


static method applyTheme [line 107]

static void applyTheme( chart $chart, index $index)

Creates a new instance of index'th Theme and applies it to chart.



Tags:

access:  public


Parameters:

chart   $chart   IBaseChart
index   $index   int

[ Top ]

static method _applyTheme [line 153]

static void _applyTheme( chart $chart, theme $theme)

Applies Theme to Chart. Color palette is determined by the Theme class.



Tags:

access:  public


Parameters:

chart   $chart   IBaseChart
theme   $theme   Theme

[ Top ]

static method __applyTheme [line 165]

static void __applyTheme( chart $chart, theme $theme, paletteIndex $paletteIndex)

Applies Theme to Chart and sets the Chart palette (if paletteIndex is different than -1).



Tags:

access:  public


Parameters:

chart   $chart   IBaseChart
theme   $theme   Theme
paletteIndex   $paletteIndex   int

[ Top ]

method getTheme [line 64]

Class getTheme( index $index)

Returns index'th Theme class in list.



Tags:

access:  public


Parameters:

index   $index   int

[ Top ]

method getThemeDescription [line 180]

String getThemeDescription( index $index)

Returns the textual description of index'th Theme in list.



Tags:

see:  com.steema.teechart.themes.Theme
access:  public


Parameters:

index   $index   int

[ Top ]

method size [line 54]

int size( )

Returns the number of registered Chart Theme classes.



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 19 Aug 2013 13:43:18 +0200 by phpDocumentor 1.4.3