Login Register

color

How to change the color of single options of a FilteringSelect

I'm a newbee to dojo and build up a little app...
but now I'm on a point where i can't find help.
I had an PHP-Array and built up a FilteringSelect with this. The Point is to colorize single options in red.

here is the code:

...
$dozentenliste = get_dozentenliste($semid, $datum, $kolleg);
?>

Bar Chart - different formatting(color) for each bar.

Hi,
I have a requirement for Bar chart where every bar of the chart is of a unique color. How can I achieve this? Can I create a theme for the same? Is it already available?

instead of

chart18.addSeries("Series A", [29, 21, 13, 44, 57], {stroke: {color: "red"}, fill: "lightpink", plot: "myBarPlot"});

I wrote

chart18.addSeries("Series A", [29, 0, 0, 0, 0], {stroke: {color: "red"}, fill: "lightpink", plot: "myBarPlot"});
chart18.addSeries("Series B", [0, 21, 0, 0, 0], {stroke: {color: "green"}, fill: "lime", plot: "myBarPlot"});

Syndicate content