angular-gauge icon indicating copy to clipboard operation
angular-gauge copied to clipboard

Gauge type of 'stripe' is not supported currently

Open ashish-chopra opened this issue 8 years ago • 1 comments

stripe property is not supported currently, due to coding challenges in animation part. Its support is needed for future release.

ashish-chopra avatar Sep 29 '16 17:09 ashish-chopra

gauge type of stripe will be supported by adding "stripe" attribute to the gauge which can take any positive integer. The value of stripe is the width and space between the stripes. It may look like this:

stripe-gauge

and, it can be added using following global setting to the canvas before starting any drawing:

this.context.setLineDash([stripe]); Checkout canvas API in MDN to know more about linedash API.

ashish-chopra avatar Oct 04 '16 17:10 ashish-chopra