Set the bubble color on a bubble chart based on the value
<p>I have to set the colors of each bubble on a bubble chart based on the number that I have on  my array. The only thing that I know is:</p>

<ul>
<li>If the value is equal to <strong>3</strong>, the color has to be <strong>"#a68500"</strong></li>
<li>If the value is equal to <strong>0</strong>, the color has to be <strong>"#fff79b"</strong></li>
</ul>

<p>So, if one element of the array has the value "2.5" I have to find a color that represents that number in the color scale.</p>

<p>I'm using dojox.charting, but I have no idea how create a function that, based on the value, returns the color. </p>

<p>Any idea will be helpful!!!!</p>
