projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8668f7
)
share/collection.js: Keep visibility when redrawing graphs.
author
Florian Forster
<octo@noris.net>
Thu, 23 Dec 2010 09:05:29 +0000
(10:05 +0100)
committer
Florian Forster
<octo@noris.net>
Thu, 23 Dec 2010 09:05:29 +0000
(10:05 +0100)
share/collection.js
patch
|
blob
|
history
diff --git
a/share/collection.js
b/share/collection.js
index
57bd04d
..
141acbd
100644
(file)
--- a/
share/collection.js
+++ b/
share/collection.js
@@
-399,7
+399,10
@@
function inst_redraw (inst, def, data_list) /* {{{ */
}
for (i = inst.chart.series.length - 1; i >= 0; i--)
+ {
+ series_array[i].visible = inst.chart.series[i].visible;
inst.chart.series[i].remove (/* redraw = */ false);
+ }
for (i = 0; i < series_array.length; i++)
inst.chart.addSeries (series_array[i], /* redraw = */ false);