Giter Site home page Giter Site logo

Comments (2)

AAChartModel avatar AAChartModel commented on May 12, 2024

设置图表的主题颜色,数组内容必须为如下这样的的十六进制字符串颜色数组

 .colorsThemeSet(@[@"#b5282a",@"#e7a701",@"#50c18d",@"#fd4800",@"#f1c6c5"])

from aachartkit.

dlhub avatar dlhub commented on May 12, 2024

可能我没描述清楚。我说的是 Pie Chart 扇形图 这种类型。Demo没有给出样例如何修改颜色。全是红色的。

@[
                     AAObject(AASeriesElement)
                     .nameSet(@"语言热度占比")
                     .innerSizeSet(@"35%")
                     .dataSet(@[
                                @[@"Java"  , @67],
                                @[@"Swift" , @44],
                                @[@"Python", @83],
                                @[@"OC"    , @11],
                                @[@"Ruby"  , @42],
                                @[@"PHP"   , @31],
                                @[@"Go"    , @63],
                                @[@"C"     , @24],
                                @[@"C#"    , @888],
                                @[@"C++"   , @66],
                                ]),
                     ]
                   )

比如我需要各种开发语言颜色不一样,如修改 Swift 为其它颜色。请教我应该怎么做,谢谢!

from aachartkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.