Closed dmonaldo closed 7 years ago
You can add an icon (image) to the tip of the gauge pointer with the iconPath and iconScale options. The icon also rotates with the angle of the pointer.
// Gauge options var opts = { angle: 0, lineWidth: 0.05, radiusScale: 0.5, pointer: { length: 0.5, strokeWidth: 0, color: '#000000', iconPath: 'rocketship.png', // Image path for icon iconScale: 0.5 // Relative icon size to image width/height } };
How can i add the icon to each gauge bar
You can add an icon (image) to the tip of the gauge pointer with the iconPath and iconScale options. The icon also rotates with the angle of the pointer.