Giter Site home page Giter Site logo

Comments (5)

ckifer avatar ckifer commented on June 11, 2024

labels outside of the pie curved around them

Can you explain this a bit more or show an image of what you want? You want curved labels around the inside edge of the circle?

Or you just want labels in the inside center like this (using highcharts as an example)?
image

from recharts.

jacquesuhlemann avatar jacquesuhlemann commented on June 11, 2024

Hey @ckifer !

I mean something like this..

Bildschirmfoto 2024-04-30 um 22 01 07

I know that there is position=insideStart/insideEnd but there are no more settings for the viewpoint or for a better positioning.. I also try it with a custom label but there i missing a circumference from the cell to add a textPath.

Perhaps you have an idea how I can implement this?

from recharts.

ckifer avatar ckifer commented on June 11, 2024

You're correct that this isn't currently supported without custom work and even with custom work, you might not have the attributes available that you need to do it.

I'll try to get a sandbox going to see if I can make anything work

from recharts.

ckifer avatar ckifer commented on June 11, 2024

Sandbox here, but I don't really know what I'm doing 😅
https://codesandbox.io/p/sandbox/pie-chart-of-straight-angle-forked-ws5ts7

from recharts.

jacquesuhlemann avatar jacquesuhlemann commented on June 11, 2024

hmm then I'll keep trying..

Thanks anyway, @ckifer 🙏

from recharts.

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.