Giter VIP home page Giter VIP logo

Comments (2)

mbusson avatar mbusson commented on May 31, 2024 1

Hey Naikus, thank you so much for your answer!

You've given me plenty to work with already, I remember that "d" attribute and it took me some time to ponder whether or not this was an important bit haha

I think I've taken enough of your time, I'll look into it again and in case I end up making something usable out of my fork I'll send you the results :) No need to spend too much time chaperoning me, I'll read the appropriate documentation and try to get my head inside your programming ;)

Thanks again!
Max

from svg-gauge.

naikus avatar naikus commented on May 31, 2024

Hi @mbusson
I'm caught up in some work and will answer your question in detail soon. Meanwhile its not a circle but an svg path. A function called pathString on line 219 draws the gauge value (the "circle") actually, an arc.
See this page of how arcs work.
https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths

Thanks,
naikus

from svg-gauge.

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.