diff --git a/components/content/pdockqMatrix.vue b/components/content/pdockqMatrix.vue index 3641145843141592b31fc0b6f719c2803a1d918e..3767cdaee6cb44feba826e9fdbabbd2cb83598b2 100644 --- a/components/content/pdockqMatrix.vue +++ b/components/content/pdockqMatrix.vue @@ -142,6 +142,8 @@ function getDataLabelFromCell(elem) { } watch(matrixPlot, () => { const cells = d3.selectAll(".pdockq-plot").selectAll("rect") + console.log("cells rect on watch") + console.log(cells) cells.on("click", function (event) { console.log("click on cells") const key = getDataLabelFromCell(this) @@ -151,7 +153,6 @@ watch(matrixPlot, () => { const index = d3.select(event.srcElement).data()[0] const data = toValGroupedPdock.find(d => { console.log(d) - return d[0] === key }) if (data) {