Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customization #37

Closed
sarfarazengglb opened this issue Jan 20, 2016 · 7 comments
Closed

Customization #37

sarfarazengglb opened this issue Jan 20, 2016 · 7 comments

Comments

@sarfarazengglb
Copy link

I was working with the gauge.I wanted to remove the small gray color display with more visible custom display of numbers.Apart from this looking to change the needle to custom custom pointer.
Can you please advise how can i achieve IT.
guageexample

@Mikhus
Copy link
Owner

Mikhus commented Jan 21, 2016

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 notifications@github.com
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.

@dec
Copy link
Collaborator

dec commented Jan 24, 2016

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!

@sarfarazengglb
Copy link
Author

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 <notifications@github.com

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 notifications@github.com
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).

@Mikhus
Copy link
Owner

Mikhus commented Feb 1, 2016

@sarfarazengglb,

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

Best regards,
Mike

@Mikhus Mikhus closed this as completed Feb 1, 2016
@dec
Copy link
Collaborator

dec commented Feb 1, 2016

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. :)

@Mikhus
Copy link
Owner

Mikhus commented Feb 1, 2016

@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.

@dec
Copy link
Collaborator

dec commented Feb 1, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants