Code Monkey home page Code Monkey logo

Comments (5)

wfgilman avatar wfgilman commented on July 23, 2024 3

@FouadAstitou any chance of sharing your solution?

from piecharts.

ryanbliss avatar ryanbliss commented on July 23, 2024 2

I made a forked solution that is hardly elegant and definitely not perfect, but it works. Here is my fork: https://github.com/ryanbliss/PieCharts. Basically when creating the PieSliceModel, you initialize it with the following:

chartView.models = [PieSliceModel(value: 100.0, color1: UIColor.fromHex(hexString: "66C0D8"), color2: UIColor.fromHex(hexString: "A77FDB"))]

Here is what my output looks like:

fullsizeoutput_19ec

from piecharts.

ivnsch avatar ivnsch commented on July 23, 2024

Not possible at the moment! Feel free to add this functionality to the library, happy to review a pull request.

from piecharts.

FouadAstitou avatar FouadAstitou commented on July 23, 2024

from piecharts.

m-irfan avatar m-irfan commented on July 23, 2024

any solution yet?

from piecharts.

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.