phpDocumentor nChart
[ class tree: nChart ] [ index: nChart ] [ all elements ]

Class: ColourScheme

Source Location: /scheme.php

Class ColourScheme

Property Summary
Colour   $Background1   The starting background Colour.
Colour   $Background2   The finishing background Colour.
Colour   $Border   The border Colour.
Colour   $ChartAreaBg1   The starting background Colour of the chart area.
Colour   $ChartAreaBg2   The finishing background Colour of the chart area.
Colour   $Font   The font Colour.
Colour   $Tags   The Colour of tags within chart elements.
Colour   $Tags2   The Colour of tags outside chart elements.

[ Top ]
Method Summary
ColourScheme   ColourScheme()   Creates a new ColourScheme.
Colour   GetRandomColour()   Returns a new random colour.
Colour   GetSeriesColour()   Returns the Colour assigned to a specific series.
void   SetSeriesColour()   Sets the Colour associated with the series with index $s.

[ Top ]
Properties
Colour   $Background1 [line 65]

The starting background Colour.


[ Top ]
Colour   $Background2 [line 71]

The finishing background Colour.


[ Top ]
Colour   $Border [line 89]

The border Colour.


[ Top ]
Colour   $ChartAreaBg1 [line 77]

The starting background Colour of the chart area.


[ Top ]
Colour   $ChartAreaBg2 [line 83]

The finishing background Colour of the chart area.


[ Top ]
Colour   $Font [line 95]

The font Colour.


[ Top ]
Colour   $Tags [line 101]

The Colour of tags within chart elements.


[ Top ]
Colour   $Tags2 [line 107]

The Colour of tags outside chart elements.


[ Top ]
Methods
Constructor ColourScheme  [line 112]

  ColourScheme ColourScheme( )

Creates a new ColourScheme.



[ Top ]
GetRandomColour  [line 151]

  Colour GetRandomColour( )

Returns a new random colour.



[ Top ]
GetSeriesColour  [line 142]

  Colour GetSeriesColour( int $s  )

Returns the Colour assigned to a specific series.

Parameters:
int   $s:  The index of the series.


[ Top ]
SetSeriesColour  [line 130]

  void SetSeriesColour( int $s, Colour $c  )

Sets the Colour associated with the series with index $s.

Parameters:
int   $s:  The index of the series.
Colour   $c:  The colour to assign.


[ Top ]

Documentation generated on Thu, 27 Mar 2008 22:29:49 +0000 by phpDocumentor 1.4.1