uia4w / uia-wafermap

Shot & Wafer map for semiconductor
Apache License 2.0
48 stars 25 forks source link

if possible show X and Y when hover the Die? #4

Closed sjpeng closed 2 years ago

sjpeng commented 2 years ago

if possible show X and Y when hover the Die and display X and Y axis at sidebar?

maxsyst commented 2 years ago

if possible show X and Y when hover the Die and display X and Y axis at sidebar?

this is a welcome problem. I meet the same questions.

gazer2kanlin commented 2 years ago
var shotmap = uia.shotmap('wafer2')
    .attachHoverIn(function(oEvent) {
        var die = oEvent.source; // pixi.js graphics object
        document.getElementById("position").innerHTML = "Map " + die.info.drawRow + "," + die.info.drawCol;
    })