<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Discussion</title><link>https://sourceforge.net/p/javascriptrrd/discussion/</link><description>Recent posts to Discussion</description><atom:link href="https://sourceforge.net/p/javascriptrrd/discussion/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 25 Apr 2022 15:46:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/javascriptrrd/discussion/feed.rss" rel="self" type="application/rss+xml"/><item><title>Add support for RRD version "0001" files</title><link>https://sourceforge.net/p/javascriptrrd/discussion/914915/thread/139a584572/?limit=25#a82c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://app.bountysource.com/issues/107610639-add-support-for-rrd-version-0001-files-to-rrdfile-js" rel="nofollow"&gt;https://app.bountysource.com/issues/107610639-add-support-for-rrd-version-0001-files-to-rrdfile-js&lt;/a&gt; there is a bounty for this feature. Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Lepeska</dc:creator><pubDate>Mon, 25 Apr 2022 15:46:34 -0000</pubDate><guid>https://sourceforge.net9e186145f26313180c2f891d9da8d2b1f0be4404</guid></item><item><title>Add support for RRD version "0001" files</title><link>https://sourceforge.net/p/javascriptrrd/discussion/914915/thread/139a584572/?limit=25#869c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have moved the javascriptRRD code to github and created an feature request to add support for "0001" files here: &lt;a href="https://github.com/Project-Faster/javascriptrrd/issues/1." rel="nofollow"&gt;https://github.com/Project-Faster/javascriptrrd/issues/1.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hoping to find a developer interested in doing this work.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Lepeska</dc:creator><pubDate>Sun, 24 Apr 2022 19:19:23 -0000</pubDate><guid>https://sourceforge.net15b1e74d2982a425bbbe567e3dd175baff87f325</guid></item><item><title>Pointer events?</title><link>https://sourceforge.net/p/javascriptrrd/discussion/914914/thread/97671c4fdf/?limit=25#0945</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I see javascriptRRD hasn't had any development for quite a while. It seems to work great for what it does. One thing lacking though is support for Pointer Events. Creating a rrdFlotAsync results in a small "scaler graph". That works great on a desktop with a mouse, but doesn't seem to do anything on a phone (or other touchscreen?) I'm only guessing that's because it uses mouse events. Support for newer technology would be welcome.&lt;/p&gt;
&lt;p&gt;One question: I can set the background color of the main graph with a graph_option (e.g.  grid:  { backgroundColor: "#DADADA"}). I can't find any way to do the same for the scaler graph?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MikeS</dc:creator><pubDate>Sat, 02 Jan 2021 18:16:05 -0000</pubDate><guid>https://sourceforge.netf5cf41600052ce4e8fe221ed4a59152ae1157af1</guid></item><item><title>Responsive Design Graph</title><link>https://sourceforge.net/p/javascriptrrd/discussion/914914/thread/3f869367/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I wanted to add a simple (graph only) version of rrd graphs to some webpages, and I fought with it for a while and I finally got it to work.&lt;/p&gt;
&lt;p&gt;The basic premise is instead of stripping out the table, just attach the div in the cleanHTMLCruft function.  I used the javascript.js so I could include updated jquery, and flot libraries.&lt;/p&gt;
&lt;p&gt;I used jquery 1.11.2 and flot 0.8.3&lt;/p&gt;
&lt;p&gt;I also used the following flot files, to make the graph resize function&lt;/p&gt;
&lt;p&gt;jquery.flot.resize.js&lt;br /&gt;
jquery.flot.selection.js&lt;br /&gt;
jquery.flot.time.js&lt;/p&gt;
&lt;p&gt;Here’s the patch&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="gd"&gt;--- javascriptrrd.js    2015-02-11 15:23:49.520820330 -0600&lt;/span&gt;
&lt;span class="gi"&gt;+++ javascriptrrd.tmp.js    2015-02-12 16:14:13.281655240 -0600&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1384,14 +1384,10 @@&lt;/span&gt;
 // ===============================================
 // Remove all HTMl elements but the graph
 rrdFlot.prototype.cleanHTMLCruft = function() {
&lt;span class="gd"&gt;-  var rf_this=this; // use obj inside other functions&lt;/span&gt;
&lt;span class="gd"&gt;-&lt;/span&gt;
&lt;span class="gd"&gt;-  // delete top and bottom rows... graph is in the middle&lt;/span&gt;
&lt;span class="gd"&gt;-  this.external_table.deleteRow(-1);&lt;/span&gt;
&lt;span class="gd"&gt;-  this.external_table.deleteRow(0);&lt;/span&gt;
&lt;span class="gd"&gt;-&lt;/span&gt;
&lt;span class="gd"&gt;-  var ds_el=document.getElementById(this.ds_cb_id);&lt;/span&gt;
&lt;span class="gd"&gt;-  ds_el.removeChild(ds_el.lastChild);&lt;/span&gt;
&lt;span class="gi"&gt;+  var div_el=document.getElementById(this.graph_id);&lt;/span&gt;
&lt;span class="gi"&gt;+  var base_el=document.getElementById(this.html_id);&lt;/span&gt;
&lt;span class="gi"&gt;+  while (base_el.lastChild!=null) base_el.removeChild(base_el.lastChild);&lt;/span&gt;
&lt;span class="gi"&gt;+  base_el.appendChild(div_el);&lt;/span&gt;
 }

 // ======================================
&lt;span class="gu"&gt;@@ -2034,16 +2030,11 @@&lt;/span&gt;

 // ===============================================
 // Remove all HTMl elements but the graph
&lt;span class="gd"&gt;-rrdFlotMatrix.prototype.cleanHTMLCruft = function() {&lt;/span&gt;
&lt;span class="gd"&gt;-  var rf_this=this; // use obj inside other functions&lt;/span&gt;
&lt;span class="gd"&gt;-&lt;/span&gt;
&lt;span class="gd"&gt;-  // delete 2 top and 1 bottom rows... graph is in the middle&lt;/span&gt;
&lt;span class="gd"&gt;-  this.external_table.deleteRow(-1);&lt;/span&gt;
&lt;span class="gd"&gt;-  this.external_table.deleteRow(0);&lt;/span&gt;
&lt;span class="gd"&gt;-  this.external_table.deleteRow(0);&lt;/span&gt;
&lt;span class="gd"&gt;-&lt;/span&gt;
&lt;span class="gd"&gt;-  var rrd_el=document.getElementById(this.rrd_cb_id);&lt;/span&gt;
&lt;span class="gd"&gt;-  rrd_el.removeChild(rrd_el.lastChild);&lt;/span&gt;
&lt;span class="gi"&gt;+rrdFlot.prototype.cleanHTMLCruft = function() {&lt;/span&gt;
&lt;span class="gi"&gt;+  var div_el=document.getElementById(this.graph_id);&lt;/span&gt;
&lt;span class="gi"&gt;+  var base_el=document.getElementById(this.html_id);&lt;/span&gt;
&lt;span class="gi"&gt;+  while (base_el.lastChild!=null) base_el.removeChild(base_el.lastChild);&lt;/span&gt;
&lt;span class="gi"&gt;+  base_el.appendChild(div_el);&lt;/span&gt;
 }

 // ======================================
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sean Whitney</dc:creator><pubDate>Tue, 17 Feb 2015 19:54:54 -0000</pubDate><guid>https://sourceforge.netfec9153b889d9f6ceb3b3ea5122e571452ea5845</guid></item></channel></rss>