Improve Sankey labelling on dash

This commit is contained in:
Herbert Wolverson 2025-01-31 13:56:46 -06:00
parent bb3b82f90c
commit 9841cbb75f

View File

@ -26,7 +26,7 @@ export class TopNSankey extends DashboardGraph {
this.chart.hideLoading();
this.chart.setOption(this.option);
this.chart.on('click', (params) => {
/*this.chart.on('click', (params) => {
let name = params.name;
// Trim to before " ("
name = name.substring(0, name.indexOf(" ("));
@ -41,7 +41,7 @@ export class TopNSankey extends DashboardGraph {
window.location.href = "/circuit.html?id=" + encodeURI(this.nodeMap[actualName]);
}
}
});
});*/
}
processMessage(msg) {