<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jqBarGraph &#8211; jQuery graph plugin</title>
	<atom:link href="http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/</link>
	<description>owned by Ivan Lazarevic</description>
	<lastBuildDate>Fri, 03 Feb 2012 21:16:23 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lazarevic Ivan</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-5/#comment-52991</link>
		<dc:creator>Lazarevic Ivan</dc:creator>
		<pubDate>Tue, 31 Jan 2012 02:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-52991</guid>
		<description>@Will
There&#039;s no plans for vertical bars for now.

@Scott
Try to first clear jqBarGraph container on button click. Something like $(&#039;#divForGraph&#039;).html(&#039;&#039;)

@Raj
Options for printing background colors is disabled in browser by default. Only way that I know for printing background colors is to enable that option.</description>
		<content:encoded><![CDATA[<p>@Will<br />
There&#8217;s no plans for vertical bars for now.</p>
<p>@Scott<br />
Try to first clear jqBarGraph container on button click. Something like $(&#8217;#divForGraph&#8217;).html(&#8221;)</p>
<p>@Raj<br />
Options for printing background colors is disabled in browser by default. Only way that I know for printing background colors is to enable that option.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-5/#comment-52762</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Sun, 29 Jan 2012 06:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-52762</guid>
		<description>Hello Friend,

 Thanks for publishing fantastic Bar Charts. It works fine in IE 7 also.

 One comment : I could not print these charts in IE / Chrome. It just shows the number in printed output. When you get a chance, please review and let us know your comments.


Thanks and Regards,
Raj</description>
		<content:encoded><![CDATA[<p>Hello Friend,</p>
<p> Thanks for publishing fantastic Bar Charts. It works fine in IE 7 also.</p>
<p> One comment : I could not print these charts in IE / Chrome. It just shows the number in printed output. When you get a chance, please review and let us know your comments.</p>
<p>Thanks and Regards,<br />
Raj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-5/#comment-48514</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 03 Jan 2012 19:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-48514</guid>
		<description>I have tied this plugin to a form calculator that supplements the array data with var data = [
               [parseInt($(&#039;#one&#039;).text()), &#039;ROI w/ Local Spending&#039;],
               [parseInt($(&#039;#two&#039;).text()), &#039;ROI w/o Local Spending&#039;]
            ];                                                                        When you press the &#039;Calculate&#039; button it runs the function, but if the button is pressed more than once the bar graph starts stacking text on top of itself. Any ideas how to reset and/or stop this?</description>
		<content:encoded><![CDATA[<p>I have tied this plugin to a form calculator that supplements the array data with var data = [<br />
               [parseInt($('#one').text()), 'ROI w/ Local Spending'],<br />
               [parseInt($('#two').text()), 'ROI w/o Local Spending']<br />
            ];                                                                        When you press the &#8216;Calculate&#8217; button it runs the function, but if the button is pressed more than once the bar graph starts stacking text on top of itself. Any ideas how to reset and/or stop this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-5/#comment-47663</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Thu, 29 Dec 2011 16:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-47663</guid>
		<description>Is there any easy solution to make this display with the bars stacked horizontally?  It doesn&#039;t appear so when looking through the source (it looks like most of the code is written presuming a vertical display of the bars).  If not is this possibly planned for a future update?</description>
		<content:encoded><![CDATA[<p>Is there any easy solution to make this display with the bars stacked horizontally?  It doesn&#8217;t appear so when looking through the source (it looks like most of the code is written presuming a vertical display of the bars).  If not is this possibly planned for a future update?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-5/#comment-42733</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Wed, 30 Nov 2011 20:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-42733</guid>
		<description>Near line 180 there is a bug with stacked bar graphs. If one of the stacked bars has the value zero, the zero will still display as if that sub bar exists, overlapping with the next bar  that has a non-zero value. This renders the overlain values unreadable. Here is a simple fix. – Add the line with the comment.

if (arr.showValues) {
    sv = arr.prefix+valueData[i]+arr.postfix;
    if (sv == 0) { sv = &#039;&#039;; } // eliminates zero overlap for bars that don&#039;t exist.
    fs = 12; 
}</description>
		<content:encoded><![CDATA[<p>Near line 180 there is a bug with stacked bar graphs. If one of the stacked bars has the value zero, the zero will still display as if that sub bar exists, overlapping with the next bar  that has a non-zero value. This renders the overlain values unreadable. Here is a simple fix. – Add the line with the comment.</p>
<p>if (arr.showValues) {<br />
    sv = arr.prefix+valueData[i]+arr.postfix;<br />
    if (sv == 0) { sv = &#8221;; } // eliminates zero overlap for bars that don&#8217;t exist.<br />
    fs = 12;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-5/#comment-38838</link>
		<dc:creator>vikas</dc:creator>
		<pubDate>Wed, 02 Nov 2011 10:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-38838</guid>
		<description>Hi Lazarevic Ivan,

I am a fresher to the bargraph, 
my question is, after adding the two js files where the array should be added can you please explain me with the code.</description>
		<content:encoded><![CDATA[<p>Hi Lazarevic Ivan,</p>
<p>I am a fresher to the bargraph,<br />
my question is, after adding the two js files where the array should be added can you please explain me with the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swot template</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-38576</link>
		<dc:creator>Swot template</dc:creator>
		<pubDate>Tue, 01 Nov 2011 00:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-38576</guid>
		<description>This is great, just what I was looking for.</description>
		<content:encoded><![CDATA[<p>This is great, just what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob D</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-38377</link>
		<dc:creator>Jacob D</dc:creator>
		<pubDate>Sun, 30 Oct 2011 19:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-38377</guid>
		<description>oops... my code was stripped out of the above post, let&#039;s give this a try...


Find this line:
div class=&#039;graphValue&quot;+el.id+&quot;&#039; id=&#039;graphValue&quot;+unique+&quot;&#039;

Change to:
div class=&#039;graphValue&quot;+el.id+&quot;&#039; id=&#039;graphValue&quot;+unique+&quot;&#039; style=&#039;position:relative; left:&quot;+space/2+&quot;px;&#039;


Find this line:
div class=&#039;graphBar&quot;+el.id+&quot;&#039; id=&#039;graphFieldBar&quot;+unique+&quot;&#039; style=&#039;background-color:&quot;+color+&quot;;position: relative; overflow: hidden;&#039;


Change to:
div class=&#039;graphBar&quot;+el.id+&quot;&#039; id=&#039;graphFieldBar&quot;+unique+&quot;&#039; style=&#039;background-color:&quot;+color+&quot;;position:relative; left:&quot;+space/2+&quot;px; overflow: hidden;&#039;


Find this line:
div class=&#039;graphLabel&quot;+el.id+&quot;&#039; id=&#039;graphLabel&quot;+unique+&quot;&#039;

Change to:
div class=&#039;graphLabel&quot;+el.id+&quot;&#039; id=&#039;graphLabel&quot;+unique+&quot;&#039; style=&#039;width:&quot;+fieldWidth+&quot;px;&#039;

After making the changes add this to your style sheet and customize the style to your taste:
.graphLabeljqGraph {
border-top: solid 4px black;
}</description>
		<content:encoded><![CDATA[<p>oops&#8230; my code was stripped out of the above post, let&#8217;s give this a try&#8230;</p>
<p>Find this line:<br />
div class=&#8217;graphValue&#8221;+el.id+&#8221;&#8216; id=&#8217;graphValue&#8221;+unique+&#8221;&#8216;</p>
<p>Change to:<br />
div class=&#8217;graphValue&#8221;+el.id+&#8221;&#8216; id=&#8217;graphValue&#8221;+unique+&#8221;&#8216; style=&#8217;position:relative; left:&#8221;+space/2+&#8221;px;&#8217;</p>
<p>Find this line:<br />
div class=&#8217;graphBar&#8221;+el.id+&#8221;&#8216; id=&#8217;graphFieldBar&#8221;+unique+&#8221;&#8216; style=&#8217;background-color:&#8221;+color+&#8221;;position: relative; overflow: hidden;&#8217;</p>
<p>Change to:<br />
div class=&#8217;graphBar&#8221;+el.id+&#8221;&#8216; id=&#8217;graphFieldBar&#8221;+unique+&#8221;&#8216; style=&#8217;background-color:&#8221;+color+&#8221;;position:relative; left:&#8221;+space/2+&#8221;px; overflow: hidden;&#8217;</p>
<p>Find this line:<br />
div class=&#8217;graphLabel&#8221;+el.id+&#8221;&#8216; id=&#8217;graphLabel&#8221;+unique+&#8221;&#8216;</p>
<p>Change to:<br />
div class=&#8217;graphLabel&#8221;+el.id+&#8221;&#8216; id=&#8217;graphLabel&#8221;+unique+&#8221;&#8216; style=&#8217;width:&#8221;+fieldWidth+&#8221;px;&#8217;</p>
<p>After making the changes add this to your style sheet and customize the style to your taste:<br />
.graphLabeljqGraph {<br />
border-top: solid 4px black;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob D</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-38376</link>
		<dc:creator>Jacob D</dc:creator>
		<pubDate>Sun, 30 Oct 2011 19:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-38376</guid>
		<description>This is an excellent plugin. The small footprint is fantastic. With just a few simple changes it&#039;s possible to add a nice baseline to the graph, which I think really completes the appearance...


Find this line:


Change to:



Find this line:



Change to:



Find this line:


Change to:




After making the changes add this to your style sheet and customize the style to your taste:
.graphLabeljqGraph {
	border-top: solid 4px black;
}


example of the result here (scroll down, click the button): http://hikeitlikeit.com/2011/photography-and-backpacking-3/


It would be nice to see these changes implemented into the plugin with an additional parameter added to specify the baseline color &amp; thickness. Making those changes was a bit more than I wanted to tackle though :)



Cheers!
Jacob.</description>
		<content:encoded><![CDATA[<p>This is an excellent plugin. The small footprint is fantastic. With just a few simple changes it&#8217;s possible to add a nice baseline to the graph, which I think really completes the appearance&#8230;</p>
<p>Find this line:</p>
<p>Change to:</p>
<p>Find this line:</p>
<p>Change to:</p>
<p>Find this line:</p>
<p>Change to:</p>
<p>After making the changes add this to your style sheet and customize the style to your taste:<br />
.graphLabeljqGraph {<br />
	border-top: solid 4px black;<br />
}</p>
<p>example of the result here (scroll down, click the button): <a href="http://hikeitlikeit.com/2011/photography-and-backpacking-3/" rel="nofollow">http://hikeitlikeit.com/2011/photography-and-backpacking-3/</a></p>
<p>It would be nice to see these changes implemented into the plugin with an additional parameter added to specify the baseline color &amp; thickness. Making those changes was a bit more than I wanted to tackle though <img src='http://workshop.rs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers!<br />
Jacob.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce Kessel</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-35232</link>
		<dc:creator>Bruce Kessel</dc:creator>
		<pubDate>Mon, 10 Oct 2011 17:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-35232</guid>
		<description>Nice presentation!

Is it possible with this plugin to have horizontal graphs?</description>
		<content:encoded><![CDATA[<p>Nice presentation!</p>
<p>Is it possible with this plugin to have horizontal graphs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Styles</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-31651</link>
		<dc:creator>Ben Styles</dc:creator>
		<pubDate>Wed, 24 Aug 2011 07:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-31651</guid>
		<description>I was finding that all totaled numbers, regardless of decimal or not, were being totaled with &quot;.00&quot; because of the toFixed() function. I replaced that with the following:

&lt;code&gt;
	myToFixed = function (n, digits) {
		digits = digits &#124;&#124; 0;
		return n.toFixed(digits).replace(new RegExp(&quot;\\.0{&quot; + digits + &quot;}&quot;), &quot;&quot;);
	}
&lt;/code&gt;

This allows me to pass rounded whole numbers as follows:

myToFixed(32.1212, 2) --&gt; &quot;32.12&quot;
myToFixed(32.1212, 0) --&gt; &quot;32&quot;
myToFixed(32, 2) --&gt; &quot;32&quot;
myToFixed(32.1, 2) --&gt; &quot;32.10&quot;

and get the desired result.


function per : http://stackoverflow.com/questions/1393332/javascript-tofixed-function</description>
		<content:encoded><![CDATA[<p>I was finding that all totaled numbers, regardless of decimal or not, were being totaled with &#8220;.00&#8243; because of the toFixed() function. I replaced that with the following:</p>
<p><code><br />
	myToFixed = function (n, digits) {<br />
		digits = digits || 0;<br />
		return n.toFixed(digits).replace(new RegExp("\\.0{" + digits + "}"), "");<br />
	}<br />
</code></p>
<p>This allows me to pass rounded whole numbers as follows:</p>
<p>myToFixed(32.1212, 2) &#8211;&gt; &#8220;32.12&#8243;<br />
myToFixed(32.1212, 0) &#8211;&gt; &#8220;32&#8243;<br />
myToFixed(32, 2) &#8211;&gt; &#8220;32&#8243;<br />
myToFixed(32.1, 2) &#8211;&gt; &#8220;32.10&#8243;</p>
<p>and get the desired result.</p>
<p>function per : <a href="http://stackoverflow.com/questions/1393332/javascript-tofixed-function" rel="nofollow">http://stackoverflow.com/questions/1393332/javascript-tofixed-function</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Styles</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-31620</link>
		<dc:creator>Ben Styles</dc:creator>
		<pubDate>Wed, 24 Aug 2011 01:15:01 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-31620</guid>
		<description>Dude, you seriously rock. This is the most inventive chart/graph jquery lib I&#039;ve seen. Love the small footprint. Love the way it renders without all the canvas crap. I can have a gazillion bar charts on a single page with virtually no strain on load time. 

I&#039;m running this against multiple db queries and the results are highly impressive. Small, fast, light, colorful, informational, and impressive. Keep up the great work!!</description>
		<content:encoded><![CDATA[<p>Dude, you seriously rock. This is the most inventive chart/graph jquery lib I&#8217;ve seen. Love the small footprint. Love the way it renders without all the canvas crap. I can have a gazillion bar charts on a single page with virtually no strain on load time. </p>
<p>I&#8217;m running this against multiple db queries and the results are highly impressive. Small, fast, light, colorful, informational, and impressive. Keep up the great work!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-29844</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sun, 07 Aug 2011 01:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-29844</guid>
		<description>Also no bars show if you don&#039;t specify the colour or something. Maybe add a default value?</description>
		<content:encoded><![CDATA[<p>Also no bars show if you don&#8217;t specify the colour or something. Maybe add a default value?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-29842</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sun, 07 Aug 2011 01:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-29842</guid>
		<description>Hey, instead of using a generated placeholder to store both the title and the graph (which goes into the user defined div), could you switch it around so the title and graph both go into the user-defined div? 

For example, when I do $(&#039;#graph1&#039;).jqbargraph(blah); it would be nice to have the title and graph go under the #graph1 div. 

I just had a lot of difficulty getting the graphs side by side because I had to anticipate the generated graph name (it changes according to the number of bars too! :( ) In the end, I ended up making my own div and title to wrap around the graph div

I don&#039;t know if I&#039;m making sense, I&#039;m pretty bad at explaining things. Thanks for the library, it&#039;s really nice and helped me a lot!</description>
		<content:encoded><![CDATA[<p>Hey, instead of using a generated placeholder to store both the title and the graph (which goes into the user defined div), could you switch it around so the title and graph both go into the user-defined div? </p>
<p>For example, when I do $(&#8217;#graph1&#8242;).jqbargraph(blah); it would be nice to have the title and graph go under the #graph1 div. </p>
<p>I just had a lot of difficulty getting the graphs side by side because I had to anticipate the generated graph name (it changes according to the number of bars too! <img src='http://workshop.rs/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ) In the end, I ended up making my own div and title to wrap around the graph div</p>
<p>I don&#8217;t know if I&#8217;m making sense, I&#8217;m pretty bad at explaining things. Thanks for the library, it&#8217;s really nice and helped me a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lilsizzo</title>
		<link>http://workshop.rs/2009/12/jqbargraph-jquery-graph-plugin/comment-page-4/#comment-29678</link>
		<dc:creator>lilsizzo</dc:creator>
		<pubDate>Wed, 03 Aug 2011 07:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://workshop.rs/?p=15#comment-29678</guid>
		<description>solve it...do not know if it jeopardise everything but here goes


....return maxvalue;};maxMulti=function(ar)....


replace to 

return 1;};maxMulti=function(ar)</description>
		<content:encoded><![CDATA[<p>solve it&#8230;do not know if it jeopardise everything but here goes</p>
<p>&#8230;.return maxvalue;};maxMulti=function(ar)&#8230;.</p>
<p>replace to </p>
<p>return 1;};maxMulti=function(ar)</p>
]]></content:encoded>
	</item>
</channel>
</rss>


<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11860629-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
