Skip to content
Snippets Groups Projects
Commit a011bb87 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add other console

parent 52937eb6
No related branches found
No related tags found
No related merge requests found
Pipeline #127617 waiting for manual action with stages
in 8 minutes and 38 seconds
...@@ -142,6 +142,8 @@ function getDataLabelFromCell(elem) { ...@@ -142,6 +142,8 @@ function getDataLabelFromCell(elem) {
} }
watch(matrixPlot, () => { watch(matrixPlot, () => {
const cells = d3.selectAll(".pdockq-plot").selectAll("rect") const cells = d3.selectAll(".pdockq-plot").selectAll("rect")
console.log("cells rect on watch")
console.log(cells)
cells.on("click", function (event) { cells.on("click", function (event) {
console.log("click on cells") console.log("click on cells")
const key = getDataLabelFromCell(this) const key = getDataLabelFromCell(this)
...@@ -151,7 +153,6 @@ watch(matrixPlot, () => { ...@@ -151,7 +153,6 @@ watch(matrixPlot, () => {
const index = d3.select(event.srcElement).data()[0] const index = d3.select(event.srcElement).data()[0]
const data = toValGroupedPdock.find(d => { const data = toValGroupedPdock.find(d => {
console.log(d) console.log(d)
return d[0] === key return d[0] === key
}) })
if (data) { if (data) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment