/* ************************************************************************ #module(Smokeping) ************************************************************************ */ /** * a widget showing the smokeping graph overview */ qx.Class.define('Smokeping.ui.Graphs', { extend: qx.ui.layout.FlowLayout, /* ***************************************************************************** CONSTRUCTOR ***************************************************************************** */ /** * @param base_url {String} Path to the location of the image generator * */ construct: function (url) { with(this){ base(arguments,'root node'); setOverflow('scrollY'); setBackgroundColor('white'); setBorder('inset'); setWidth('100%'); setHeight('100%'); setVerticalSpacing(10); setHorizontalSpacing(10); setPadding(10); }; var load_graphs = function(m){ var files = m.getData() this.removeAll(); for(var i=0;i