angular-gauge
angular-gauge copied to clipboard
Gauge type of 'stripe' is not supported currently
stripe property is not supported currently, due to coding challenges in animation part. Its support is needed for future release.
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:
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.