From a94a1a41885d29db544690636baf0211665dd182 Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Thu, 25 Jun 2009 19:43:14 +0000 Subject: Display RRDcbs in multiple columns, if needed --- src/lib/rrdFlotMatrix.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/lib/rrdFlotMatrix.js b/src/lib/rrdFlotMatrix.js index aa057bd..4b0dfa9 100644 --- a/src/lib/rrdFlotMatrix.js +++ b/src/lib/rrdFlotMatrix.js @@ -210,9 +210,18 @@ rrdFlotMatrix.prototype.populateRRDcb = function() { // First clean up anything in the element while (form_el.lastChild!=null) form_el.removeChild(form_el.lastChild); + var table_el=document.createElement("Table"); + var row_el=table_el.insertRow(-1); + row_el.vAlign="top"; + var cell_el=null; // will define later + // now populate with RRD info var nrRRDs=this.rrd_files.length; for (var i=0; i