<?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: Plotr 0.3.0 released</title>
	<atom:link href="http://solutoire.com/2007/09/27/plotr-030-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutoire.com/2007/09/27/plotr-030-released/</link>
	<description>Publicing platform</description>
	<lastBuildDate>Fri, 03 Feb 2012 08:33:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Daniel Lunde</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-11674</link>
		<dc:creator>Daniel Lunde</dc:creator>
		<pubDate>Fri, 04 Jan 2008 23:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-11674</guid>
		<description>It feels like there may be problem when creating a PieChart 0.3.  My intension is to associate the label with the correct slice, but since the dataset is a hash, the &quot;Yes&quot; and &quot;No&quot; keys do not map to the xTicks 100% of the time.


&lt;code&gt;
var dataset = {&quot;Yes&quot;: [[0, 335]], &quot;No&quot;: [[0, 119]]};

var options = {&quot;axis&quot;: {&quot;x&quot;: {&quot;ticks&quot;: [{&quot;v&quot;: 0, &quot;label&quot;: &quot;Yes&quot;}, {&quot;v&quot;: 1, &quot;label&quot;: &quot;No&quot;}]}}};

var qp = new Plotr.PieChart(&#039;qp&#039;,options);
qp.addDataset(dataset);
qp.render();
&lt;/code&gt;

Back in 0.2, the dataset looked like the following which allowed for the association between slice and label to work without any problems.
&lt;code&gt;
var dataset = {&quot;Set&quot;: [[0,335],[1,119]]}
&lt;/code&gt;
But this dataset doesn&#039;t work in 0.3 (only the first value ([0,335]) is used.

How should I be constructing the dataset in 0.3 to get the desired results?</description>
		<content:encoded><![CDATA[<p>It feels like there may be problem when creating a PieChart 0.3.  My intension is to associate the label with the correct slice, but since the dataset is a hash, the &#8220;Yes&#8221; and &#8220;No&#8221; keys do not map to the xTicks 100% of the time.</p>
<p><code><br />
var dataset = {"Yes": [[0, 335]], "No": [[0, 119]]};</p>
<p>var options = {"axis": {"x": {"ticks": [{"v": 0, "label": "Yes"}, {"v": 1, "label": "No"}]}}};</p>
<p>var qp = new Plotr.PieChart('qp',options);<br />
qp.addDataset(dataset);<br />
qp.render();<br />
</code></p>
<p>Back in 0.2, the dataset looked like the following which allowed for the association between slice and label to work without any problems.<br />
<code><br />
var dataset = {"Set": [[0,335],[1,119]]}<br />
</code><br />
But this dataset doesn&#8217;t work in 0.3 (only the first value ([0,335]) is used.</p>
<p>How should I be constructing the dataset in 0.3 to get the desired results?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-10104</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Wed, 14 Nov 2007 01:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-10104</guid>
		<description>Any word on being able to use this version with MooTools? I tried using the Prototype-Mootools wrapper mentioned in the comments for the main Plotr release post, but I keep getting the &quot;canvas is not contained in a div&quot; error.</description>
		<content:encoded><![CDATA[<p>Any word on being able to use this version with MooTools? I tried using the Prototype-Mootools wrapper mentioned in the comments for the main Plotr release post, but I keep getting the &#8220;canvas is not contained in a div&#8221; error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-9874</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 07 Nov 2007 22:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-9874</guid>
		<description>Do you have any plans to support negative numbers in a future version, for example a line graph that goes from -10 to +10 with the x-axis at 0 in the center?  What amount of work do you see this as taking?  Is it something you&#039;d accept help to support?</description>
		<content:encoded><![CDATA[<p>Do you have any plans to support negative numbers in a future version, for example a line graph that goes from -10 to +10 with the x-axis at 0 in the center?  What amount of work do you see this as taking?  Is it something you&#8217;d accept help to support?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack Danger</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-9733</link>
		<dc:creator>Jack Danger</dc:creator>
		<pubDate>Thu, 01 Nov 2007 15:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-9733</guid>
		<description>Bas: I can&#039;t tell you how happy I am to have found Plotr.  Thanks for maintaining it and keeping it up to date.  My startup has removed massive application and database workload by pushing our charts off to the client - it&#039;s been a real lifesaver.</description>
		<content:encoded><![CDATA[<p>Bas: I can&#8217;t tell you how happy I am to have found Plotr.  Thanks for maintaining it and keeping it up to date.  My startup has removed massive application and database workload by pushing our charts off to the client &#8211; it&#8217;s been a real lifesaver.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas Wenneker</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-9190</link>
		<dc:creator>Bas Wenneker</dc:creator>
		<pubDate>Wed, 17 Oct 2007 11:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-9190</guid>
		<description>@Greg: Yes I heard the Prototype team rewrote the Hash class, but I didn&#039;t knew the merge function&#039;s changed, I&#039;ll look into it. About the class functionality, I&#039;m going use to new functionality of Prototype 1.6.</description>
		<content:encoded><![CDATA[<p>@Greg: Yes I heard the Prototype team rewrote the Hash class, but I didn&#8217;t knew the merge function&#8217;s changed, I&#8217;ll look into it. About the class functionality, I&#8217;m going use to new functionality of Prototype 1.6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G Jones</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-9189</link>
		<dc:creator>G Jones</dc:creator>
		<pubDate>Wed, 17 Oct 2007 11:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-9189</guid>
		<description>Hi,

Just upgraded Plotr to use this version and I like the changes, but I&#039;m also using the RCs of Prototype 1.6, and it&#039;s probably because of this that adding datasets fails. The new version of the Hash object in Prototype has changed such that .merge() no longer changes the instance, but instead returns a new, merged instance. Changing 466 of the combined file to either &quot;this.dataSets = this.dataSets.merge(dataset);&quot; or &quot;this.dataSets.update(dataset);&quot; makes it work. I understand changing this before 1.6 is actually out wouldn&#039;t make sense, but thought the heads-up would be useful.

Also, could I suggest that the addTable function be changed to accept elements as well as id-strings? This makes things a lot simpler when charts are being created programatically. As far as I can tell, this could easily be done by changing the start of the function to be:
&lt;code&gt;
table = $(table);
var tr = table.getElementsBySelector(&#039;tbody tr&#039;);
var thead = table.getElementsBySelector(&#039;thead td&#039;);
&lt;/code&gt;

I&#039;m probably missing something, but I can&#039;t seem to get Plotr to take heed when I pass it &#039;axis&#039; ranges:
I used to use:
&lt;code&gt;
options = {
  yAxis: [0,10000]
}
&lt;/code&gt;
and I tried: 
&lt;code&gt;
options = {
  axis: {
    y: {
      axis: [0,10000]
    }
  }
};
&lt;/code&gt;
but doesn&#039;t seem to work.


sorry to go on so long, but one final question/comment. Do you have any plans to make Plotr use some of the new Class functionality that Prototype 1.6 is bringing? If not, then would you be receptive to patches that make it do so?

thanks for your work,

Greg</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Just upgraded Plotr to use this version and I like the changes, but I&#8217;m also using the RCs of Prototype 1.6, and it&#8217;s probably because of this that adding datasets fails. The new version of the Hash object in Prototype has changed such that .merge() no longer changes the instance, but instead returns a new, merged instance. Changing 466 of the combined file to either &#8220;this.dataSets = this.dataSets.merge(dataset);&#8221; or &#8220;this.dataSets.update(dataset);&#8221; makes it work. I understand changing this before 1.6 is actually out wouldn&#8217;t make sense, but thought the heads-up would be useful.</p>
<p>Also, could I suggest that the addTable function be changed to accept elements as well as id-strings? This makes things a lot simpler when charts are being created programatically. As far as I can tell, this could easily be done by changing the start of the function to be:<br />
<code><br />
table = $(table);<br />
var tr = table.getElementsBySelector('tbody tr');<br />
var thead = table.getElementsBySelector('thead td');<br />
</code></p>
<p>I&#8217;m probably missing something, but I can&#8217;t seem to get Plotr to take heed when I pass it &#8216;axis&#8217; ranges:<br />
I used to use:<br />
<code><br />
options = {<br />
  yAxis: [0,10000]<br />
}<br />
</code><br />
and I tried:<br />
<code><br />
options = {<br />
  axis: {<br />
    y: {<br />
      axis: [0,10000]<br />
    }<br />
  }<br />
};<br />
</code><br />
but doesn&#8217;t seem to work.</p>
<p>sorry to go on so long, but one final question/comment. Do you have any plans to make Plotr use some of the new Class functionality that Prototype 1.6 is bringing? If not, then would you be receptive to patches that make it do so?</p>
<p>thanks for your work,</p>
<p>Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bas Wenneker</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-8894</link>
		<dc:creator>Bas Wenneker</dc:creator>
		<pubDate>Mon, 08 Oct 2007 07:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-8894</guid>
		<description>The options are changed in version 0.3.0, to define x ticks: use the option &lt;code&gt;option.axis.x.ticks&lt;/code&gt;. Keep an eye out on the plotr documentation, an article about the ticks should be ready soon...</description>
		<content:encoded><![CDATA[<p>The options are changed in version 0.3.0, to define x ticks: use the option <code>option.axis.x.ticks</code>. Keep an eye out on the plotr documentation, an article about the ticks should be ready soon&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-8872</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 08 Oct 2007 00:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-8872</guid>
		<description>Hi, thanks for a wonderful tool. I&#039;m working on a piechart which isn&#039;t doint exactly what I want. 
I&#039;ve defined datasets with only one value per set. I have a list of attributes for a certain object, which I&#039;m trying to present as a piechart breakdown of the percentage of that attribute for the total object. For instance, one object is made up out of 17% fat, 53% water, 22% of substance 1, and 8% of substance 2. 
My dataset looks like:
&quot;fat&quot;: [[0, 17]],
&quot;water&quot;: [[1, 53]],
&quot;substance1&quot;: [[2, 22]],
&quot;substance2&quot;: [[3, 8]]
At the moment next to the actual slice it simply displays 0 (17%), 1 (53%), 2 (22%), 3 (8%).
I would very much like it to display the label of that slice, so I defined (as per example) the xTicks option like so:
{v:0, label:&#039;fat&#039;},
{v:1, label: &#039;water&#039;},
{v:2, label: &#039;substance1&#039;}, 
{v:3, label: &#039;substance2&#039;}
but it&#039;s not displaying them at all. 
Basically, I&#039;ve copied over your example here (http://solutoire.com/plotr/pieexample/) and changed the variables and added some stuff like transparent background, legend, and stroke. Also obviously I changed the dataset values to only one value per dataset.
Suggestions would be most welcome.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for a wonderful tool. I&#8217;m working on a piechart which isn&#8217;t doint exactly what I want.<br />
I&#8217;ve defined datasets with only one value per set. I have a list of attributes for a certain object, which I&#8217;m trying to present as a piechart breakdown of the percentage of that attribute for the total object. For instance, one object is made up out of 17% fat, 53% water, 22% of substance 1, and 8% of substance 2.<br />
My dataset looks like:<br />
&#8220;fat&#8221;: [[0, 17]],<br />
&#8220;water&#8221;: [[1, 53]],<br />
&#8220;substance1&#8243;: [[2, 22]],<br />
&#8220;substance2&#8243;: [[3, 8]]<br />
At the moment next to the actual slice it simply displays 0 (17%), 1 (53%), 2 (22%), 3 (8%).<br />
I would very much like it to display the label of that slice, so I defined (as per example) the xTicks option like so:<br />
{v:0, label:&#8217;fat&#8217;},<br />
{v:1, label: &#8216;water&#8217;},<br />
{v:2, label: &#8216;substance1&#8242;},<br />
{v:3, label: &#8216;substance2&#8242;}<br />
but it&#8217;s not displaying them at all.<br />
Basically, I&#8217;ve copied over your example here (<a href="http://solutoire.com/plotr/pieexample/" rel="nofollow">http://solutoire.com/plotr/pieexample/</a>) and changed the variables and added some stuff like transparent background, legend, and stroke. Also obviously I changed the dataset values to only one value per dataset.<br />
Suggestions would be most welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mladen Mihajlovic</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-8650</link>
		<dc:creator>Mladen Mihajlovic</dc:creator>
		<pubDate>Thu, 04 Oct 2007 10:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-8650</guid>
		<description>Wonderful news! I can&#039;t wait to try it out. Any comment on my previous question of making it JQuery compatible?</description>
		<content:encoded><![CDATA[<p>Wonderful news! I can&#8217;t wait to try it out. Any comment on my previous question of making it JQuery compatible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryushe</title>
		<link>http://solutoire.com/2007/09/27/plotr-030-released/comment-page-1/#comment-8533</link>
		<dc:creator>ryushe</dc:creator>
		<pubDate>Mon, 01 Oct 2007 21:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://solutoire.com/2007/09/27/plotr-030-released/#comment-8533</guid>
		<description>Great ;)
Just played around changing values in the Plotr.Base.generateColorscheme() and the Plotr.Color() functions, but I don&#039;t see any difference at all. Am I missing something here, or is any arbitrary number not going to give results anyways?

Once again, thanks for taking the time to answer questions dude, much appreciated.</description>
		<content:encoded><![CDATA[<p>Great ;)<br />
Just played around changing values in the Plotr.Base.generateColorscheme() and the Plotr.Color() functions, but I don&#8217;t see any difference at all. Am I missing something here, or is any arbitrary number not going to give results anyways?</p>
<p>Once again, thanks for taking the time to answer questions dude, much appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

