mirror of https://github.com/CIRCL/AIL-framework
Fixed a bug in the hover of provider graph (happened when there was an 'other' in other graphs)
parent
9d37ebc860
commit
9e82ec82b7
|
@ -185,13 +185,15 @@ function plot_top_graph(module_name, init){
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
/* rememeber the data for the two graph */
|
/* rememeber the data for the two provider graph */
|
||||||
if (plot_data_old.length>1){ // avoid adding plot_data for previous clicked pie part
|
if (chartUrl == "providersChart"){
|
||||||
plot_data_old = [];
|
if (plot_data_old.length>1){ // avoid adding plot_data for previous clicked pie part
|
||||||
plot_old = [];
|
plot_data_old = [];
|
||||||
|
plot_old = [];
|
||||||
|
}
|
||||||
|
plot_data_old.push(plot.getData());
|
||||||
|
plot_old.push(plot);
|
||||||
}
|
}
|
||||||
plot_data_old.push(plot.getData());
|
|
||||||
plot_old.push(plot);
|
|
||||||
|
|
||||||
if (can_bind){ // avoid binding two listener for provider graphs
|
if (can_bind){ // avoid binding two listener for provider graphs
|
||||||
binder(module_name);
|
binder(module_name);
|
||||||
|
|
Loading…
Reference in New Issue