E.g.:

PieChart[{10, 20, 40}, ChartLabels -&gt; {"Blah", "blah", "blahhh"}, 
 ImageSize -&gt; 200, PlotLabel -&gt; "Test-Grad", 
 ColorFunction -&gt; ColorData["DarkRainbow"]]




Note there is no color scheme called "gradient" - there is a class of schemes called gradients, you can use ColorData["Gradients"] to see the particular named schemes.

If you want more control over colors assigned, point ColorFunction to your own function that does whatever is needed to the data and returns the appropriate color(s).

How can I get a PieChart to be colored as I wish?
I try to execute a bat, and in this file i try to acceed to this variable :

$_SERVER['SERVER_NAME']

But it doesn't exist this index. In fact, when i try to print_r($_SERVER), there is no  SERVER_NAME index. There is a reason ? Is it because i launch this function in a bat ? 
Have I an other solution for get this variable ?

Thank you !
