Git Product home page Git Product logo

Comments (7)

Mikhus avatar Mikhus commented on July 20, 2024

Hi!

All drawings of the gauge including the needle are hard-coded as far as
drawings implementation is a gauge itself. If you need custom needle look,
you have to re-write it. Currently it only supports color customization,
but not different look. A part of canv-gauge code which draws the needle is
drawNeedle() function, as far as it is open source you can fork and
re-write it to your needs.

Hope this can help.

All kind regards,
Mike

On Wed, Jan 20, 2016 at 1:28 PM, sarfarazengglb [email protected]
wrote:

I was working with the gaugeI wanted to remove the small gray color
display with more visible custom display of numbersApart from this looking
to change the needle to custom custom pointer
Can you please advise how can i achieve IT
[image: guageexample]
https://camo.githubusercontent.com/6739d56c4327a8266e13883c99fdd9f59f0383f6/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f363534333538352f31323434373539372f36356662366638302d626638612d313165352d393864612d3861363365656465323937664a5047


Reply to this email directly or view it on GitHub
#37.

from canvas-gauges.

dec avatar dec commented on July 20, 2024

Hello to all,

I made a pull request with certain additions like new colors and other customization options. Between others, some of the new options allow us to show or hide the value box and text programatically.

I am also writing an Angular 1.x directive based in your excellent code @Mikhus and can be downloadad from anyone interested from here: https://github.com/dec/angular-canvas-gauge

Thanks for this project @Mikhus!

from canvas-gauges.

sarfarazengglb avatar sarfarazengglb commented on July 20, 2024

Hi Mykhailo,

Thank Man.Your are the star.I have made the change its working beautifully.
I have not forked it i will do it later. It has been great help as my neck
and my reputation was inline :)
[image: Inline image 1]

Regards,

Mohammed

On Thu, Jan 21, 2016 at 12:29 PM, Mykhailo Stadnyk <[email protected]

wrote:

Hi!

All drawings of the gauge including the needle are hard-coded as far as
drawings implementation is a gauge itself. If you need custom needle look,
you have to re-write it. Currently it only supports color customization,
but not different look. A part of canv-gauge code which draws the needle is
drawNeedle() function, as far as it is open source you can fork and
re-write it to your needs.

Hope this can help.

All kind regards,
Mike

On Wed, Jan 20, 2016 at 1:28 PM, sarfarazengglb [email protected]
wrote:

I was working with the gaugeI wanted to remove the small gray color
display with more visible custom display of numbersApart from this
looking
to change the needle to custom custom pointer
Can you please advise how can i achieve IT
[image: guageexample]
<
https://camo.githubusercontent.com/6739d56c4327a8266e13883c99fdd9f59f0383f6/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f363534333538352f31323434373539372f36356662366638302d626638612d313165352d393864612d3861363365656465323937664a5047


Reply to this email directly or view it on GitHub
#37.


Reply to this email directly or view it on GitHub
#37 (comment).

from canvas-gauges.

Mikhus avatar Mikhus commented on July 20, 2024

@sarfarazengglb,

Let's give our thanks to amazing work which is actually done by @dec ! That wasn't me.

Best regards,
Mike

from canvas-gauges.

dec avatar dec commented on July 20, 2024

No way! Always thanks you @Mikhus for your excelent piece of code!

P.S. If you need something I can do don't hesitate to contact me or comment here. :)

from canvas-gauges.

Mikhus avatar Mikhus commented on July 20, 2024

@dec , I've added you as a collaborator. Feel free to make your changes. I'd be very appreciate if you have something to update the wiki pages due to your last improvements.

from canvas-gauges.

dec avatar dec commented on July 20, 2024

Thanks @Mikhus! Yes; I want to add the right information in the wiki pages. Just let me some time! :)

from canvas-gauges.

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.