toorshia / justgage

JustGage is a handy JavaScript plugin for generating and animating nice & clean dashboard gauges. It is based on Raphaël library for vector drawing.
MIT License
1.82k stars 460 forks source link

Custom icon as pointer, set custom tick mark #207

Open tmpkco opened 8 years ago

tmpkco commented 8 years ago

This code is a great help. I was wondering about two possible options:

1: A way to add a custom icon (svg, png, whatever) as a pointer. Furthermore, could it either take the place of the pointer, or sit in the inner part of the gauge, and rotate to point at the value?

2: Adding a tick mark: a good way, in a 180 degree to set a mark that denotes a central 0 point in the middle of the gauge. Assuming a 0-100 range, the mark would sit at 50, so 0-50 would be one range of measurement, and 50-100 would indicate another range.

If there are good ways to achieve this now, I'm open to suggestions, of course. Otherwise, keep up the good work!

bautistaaa commented 8 years ago

im looking for a similar solution! hope its possible!