Commit 5789f53a authored by Romain Loth's avatar Romain Loth

reset legend when load new graph

parent 0165f651
......@@ -106,6 +106,9 @@ TW.resetGraph = function() {
TW.gui.checkBox=false
TW.gui.lastFilters = {}
// reset colors legends
updateColorsLegend()
// forget the states
TW.states = [TW.initialSystemState]
......
Markdown is supported
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