![]() |
Language Reference » Dataset functions » getSeriePalette
|
|
Latest updates
Toolbox
Google AdSense
|
getSeriePalette - Retrieve the palette of a given serie This function will return you an array containing the palette of the given serie. (R, G, B, Alpha) Calling this function
getSeriePalette($Serie); Where : Serie is the name of the serie. Sample script /* Create the pData object */ $MyData = new pData(); /* Add some points to "My serie 1" */ $MyData->addPoints(array(1,2,3,4),"My serie 1"); /* Retrieve the palette of the serie */ $Palette = $MyData->getSeriePalette("My serie 1"); /* Display the palette */ print_r($Palette);
© Copyrights
Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has
been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 415 users have registered.
This page has been rendered in 0,02 seconds. Wiki revision 1.37.
|