Closed Knight2601 closed 6 years ago
Awesome! Unfortunately a bit busy these days, but I will have a look as soon as I can.
Sorry for asking perhaps silly questions without a proper look at what you have done yet, but:
Hi, yes it is backward compatible, it has a simple check to see if the labels object has properties (value.label) otherwise falls through to operate in the old way, theres a simple example on the index page using the same system, it worked for me on all the same browsers in browserstack, so should be good. Also fixed the coffee as there were no calls to super() before init’ing this.
No the node mods aren’t necessary, but being new to coffee, it took me a while to get it running so figure I’d save the next guy the hassle… ☺
And yeah I don’t mind being listed as a contrib, I had to expand the functionality as it was a bit limited as it was – and probably will have a need to do more.
I quite liked producing stuff like this : [cid:image003.jpg@01D3625D.97151C20]
They’re just a little more fun to look at ☺
[cid:image004.jpg@01D3625D.97151C20] Many thanks
Andy
From: Karl-Petter Lindegaard [mailto:notifications@github.com] Sent: Monday, November 20, 2017 5:17 PM To: bernii/gauge.js gauge.js@noreply.github.com Cc: Knight, Andrew Andrew.Knight@informa.com; Author author@noreply.github.com Subject: Re: [bernii/gauge.js] Add gauge flexibility (#152)
Awesome! Unfortunately a bit busy these days, but I will have a look as soon as I can.
Sorry for asking perhaps silly questions without a proper look at what you have done yet, but:
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bernii/gauge.js/pull/152#issuecomment-345764089, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET2qiA_8EvSpUFxAzqpD9T42lo7P7sFks5s4bQpgaJpZM4QkMdy.
Hello. Sorry for slow response.
The image links are cool!
I appreciate the idea of making things simpler for developers, but it's just that I don't really fancy adding unnecessary developer dependencies like this. To me one of the nice things about this project is that it is so small from the start.
Here's what I suggest:
Looking forward to get this PR and #153 merged and released :)
might be worth updating the documentation to reflect the addition a little better?
Agree. BTW I have asked Berni to add you as contributor. Update: Collaborator is the correct term.
I just discovered a small artifact I didn't see before. If you open http://bernii.github.io/gauge.js/ you will see that something is painted in the upper left corner while the gauge pointer is moving. Try e.g. to play with the Current Val slider. Don't think it was there before, because my fork (https://kplindegaard.github.io/gauge.js/) does not have it. Perhaps you know what the issue might be?
Yeah, weird, it looks like an erroneous pointer draw when you click between the example thumbnails, I’ll have a look.
From: Karl-Petter Lindegaard [mailto:notifications@github.com] Sent: Monday, November 27, 2017 9:12 PM To: bernii/gauge.js gauge.js@noreply.github.com Cc: Knight, Andrew Andrew.Knight@informa.com; Author author@noreply.github.com Subject: Re: [bernii/gauge.js] Add gauge flexibility (#152)
I just discovered a small artifact I didn't see before. If you open http://bernii.github.io/gauge.js/http://bernii.github.io/gauge.js/ you will see that something is painted in the upper left corner while the gauge pointer is moving. Try e.g. to play with the Current Val slider. Don't think it was there before, because my fork (https://kplindegaard.github.io/gauge.js/https://kplindegaard.github.io/gauge.js/) does not have it. Perhaps you know what the issue might be?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bernii/gauge.js/pull/152#issuecomment-347329384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET2qk4oGFL__yCI3kZQXQVh_YFaz4_bks5s6yWXgaJpZM4QkMdy.
@Knight2601 thanks for your really cool PRs - adding you as collabolator
to the repo.
Thank you ☺ great utility though!!
From: Bernard Kobos [mailto:notifications@github.com] Sent: Monday, November 27, 2017 9:23 PM To: bernii/gauge.js gauge.js@noreply.github.com Cc: Knight, Andrew Andrew.Knight@informa.com; Mention mention@noreply.github.com Subject: Re: [bernii/gauge.js] Add gauge flexibility (#152)
@Knight2601https://github.com/knight2601 thanks for your really cool PRs - adding you as collabolator to the repo.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/bernii/gauge.js/pull/152#issuecomment-347332431, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET2qr0DyfYkzSzg0Hco8WOisOqqbd7Sks5s6ygjgaJpZM4QkMdy.
Ok all fixed
See #153 (version incremented too) + live ticks example
From: Karl-Petter Lindegaard [mailto:notifications@github.com] Sent: Monday, November 27, 2017 9:12 PM To: bernii/gauge.js gauge.js@noreply.github.com Cc: Knight, Andrew Andrew.Knight@informa.com; Author author@noreply.github.com Subject: Re: [bernii/gauge.js] Add gauge flexibility (#152)
I just discovered a small artifact I didn't see before. If you open http://bernii.github.io/gauge.js/http://bernii.github.io/gauge.js/ you will see that something is painted in the upper left corner while the gauge pointer is moving. Try e.g. to play with the Current Val slider. Don't think it was there before, because my fork (https://kplindegaard.github.io/gauge.js/https://kplindegaard.github.io/gauge.js/) does not have it. Perhaps you know what the issue might be?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bernii/gauge.js/pull/152#issuecomment-347329384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET2qk4oGFL__yCI3kZQXQVh_YFaz4_bks5s6yWXgaJpZM4QkMdy.
Fixed and updated pr#153 with live examples of ticks on all Gauge types. Incremented version to 1.3.6 to add in scalable sections and ticks.
Tried resolving the conflicts but it says I don’t have write access to the repo – so can’t.
If you just select my changes in each file, it’ll be good.
Thanks
From: Karl-Petter Lindegaard [mailto:notifications@github.com] Sent: Monday, November 27, 2017 9:12 PM To: bernii/gauge.js gauge.js@noreply.github.com Cc: Knight, Andrew Andrew.Knight@informa.com; Author author@noreply.github.com Subject: Re: [bernii/gauge.js] Add gauge flexibility (#152)
I just discovered a small artifact I didn't see before. If you open http://bernii.github.io/gauge.js/http://bernii.github.io/gauge.js/ you will see that something is painted in the upper left corner while the gauge pointer is moving. Try e.g. to play with the Current Val slider. Don't think it was there before, because my fork (https://kplindegaard.github.io/gauge.js/https://kplindegaard.github.io/gauge.js/) does not have it. Perhaps you know what the issue might be?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bernii/gauge.js/pull/152#issuecomment-347329384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET2qk4oGFL__yCI3kZQXQVh_YFaz4_bks5s6yWXgaJpZM4QkMdy.
Yay, ok so I could resolve conflicts, the whole shebang is sitting on PR #153, please review proposed changes.
From: Karl-Petter Lindegaard [mailto:notifications@github.com] Sent: Monday, November 27, 2017 9:12 PM To: bernii/gauge.js gauge.js@noreply.github.com Cc: Knight, Andrew Andrew.Knight@informa.com; Author author@noreply.github.com Subject: Re: [bernii/gauge.js] Add gauge flexibility (#152)
I just discovered a small artifact I didn't see before. If you open http://bernii.github.io/gauge.js/http://bernii.github.io/gauge.js/ you will see that something is painted in the upper left corner while the gauge pointer is moving. Try e.g. to play with the Current Val slider. Don't think it was there before, because my fork (https://kplindegaard.github.io/gauge.js/https://kplindegaard.github.io/gauge.js/) does not have it. Perhaps you know what the issue might be?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bernii/gauge.js/pull/152#issuecomment-347329384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AET2qk4oGFL__yCI3kZQXQVh_YFaz4_bks5s6yWXgaJpZM4QkMdy.
added height option to
staticZones
this offsets and expands the line style for this segmentadded font size override per
staticLabels
object, optional label override to {label: 'label value', font: 'font string'} or just straight value as existing.example