0

I’m using MiamiNice theme in my “pie’s” graphics, but doesn’t provide enough colors, and repeat colors in some sectors, is there any way to define a number of colors? Thanks!!!

4

1 回答 1

1

您可以简单地创建自己的主题并在那里放置您想要的所有颜色。

例如

var myTheme = new dojox.charting.Theme({
            colors: [
                    "#A4CE67",
                    "#739363",
                    "#6B824A",
                    "#343434",
                    "#636563"
            ]
    });

然后你应该在你的图表中使用“myTheme”作为你的主题。

于 2010-12-06T14:11:44.457 回答