Hi Jolio,
We have analyzed your query and modified sample as per your requirement. To place the image, at the back of the pointer, we have used following code in “drawIndicators” event.
[JS]
function drawIndicators(sender) { sender.context.globalCompositeOperation = 'destination-over'; }
|
In the above code, we have set “globalCompositeOperation” as “destination-over”. Now pointer will be drawn over the image. Please find the below screenshot which illustrate pointer is drawn over the image.
As per your requirement, we have modified the sample with the “markerType” as “diamond”. Please find the below code example.
pointers: [{ type: "marker", markerType: "diamond", width: 40, length: 20, backgroundColor: "red" }],
|
If we run the sample, then gauge will render like below.
Please find the sample from the below location.
Sample link:
https://www.syncfusion.com/downloads/support/forum/123717/ze/Gauge1439528581 Regards,
Sanjith.