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!!!
You can simply create your own Theme and put there all the colors that you want.
e.g.
var myTheme = new dojox.charting.Theme({
            colors: [
                    "#A4CE67",
                    "#739363",
                    "#6B824A",
                    "#343434",
                    "#636563"
            ]
    });
Then you should use "myTheme" as your theme in your chart.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论