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

console

parent b37fbb5d
No related branches found
No related tags found
No related merge requests found
Pipeline #127614 waiting for manual action with stages
in 6 minutes and 41 seconds
......@@ -143,10 +143,15 @@ function getDataLabelFromCell(elem) {
watch(matrixPlot, () => {
const cells = d3.selectAll(".pdockq-plot").selectAll("rect")
cells.on("click", function (event) {
console.log("click on cells")
const key = getDataLabelFromCell(this)
console.log(key)
const toValGroupedPdock = toValue(groupedPdocks)
console.log(toValGroupedPdock)
const index = d3.select(event.srcElement).data()[0]
const data = toValGroupedPdock.find(d => {
console.log(d)
return d[0] === key
})
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