<?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>ガントチャートを描画するjQueryプラグイン へのコメント</title>
	<atom:link href="http://www.maro-z.com/archives/190/feed" rel="self" type="application/rss+xml" />
	<link>http://www.maro-z.com/archives/190</link>
	<description>折角なので色々と。</description>
	<lastBuildDate>Mon, 14 Nov 2011 10:54:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Mike より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-34277</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 14 Nov 2011 10:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-34277</guid>
		<description>John,

Thanks very much for fixing the October/November day number issue.

And, yes, we still care very much.

Mike</description>
		<content:encoded><![CDATA[<p>John,</p>
<p>Thanks very much for fixing the October/November day number issue.</p>
<p>And, yes, we still care very much.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>maki より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-33704</link>
		<dc:creator>maki</dc:creator>
		<pubDate>Tue, 24 May 2011 10:48:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-33704</guid>
		<description>おかげさまで、なんとかうまくいきました。
チャートが表示できなかった直接の原因は、Ajaxのレスポンスがテキスト形式だったことです。
ポストしたPHP側でmysqlからJSON形式に変換させ、レスポンスをJSON形式で受けて、&#039;tasks&#039;に入れてあげたら、すんなりチャートが表示されました。

今回、Maroさんにご指摘頂いた「完全に同じ値」に着目して、手動とAjaxそれぞれの配列の中身が、javascriptのtoSource関数で見ると微妙に異なっていたため、Ajaxのレスポンスの形式がよろしくないのではと気づくことができました。

ありがとうございました!!</description>
		<content:encoded><![CDATA[<p>おかげさまで、なんとかうまくいきました。<br />
チャートが表示できなかった直接の原因は、Ajaxのレスポンスがテキスト形式だったことです。<br />
ポストしたPHP側でmysqlからJSON形式に変換させ、レスポンスをJSON形式で受けて、&#8217;tasks&#8217;に入れてあげたら、すんなりチャートが表示されました。</p>
<p>今回、Maroさんにご指摘頂いた「完全に同じ値」に着目して、手動とAjaxそれぞれの配列の中身が、javascriptのtoSource関数で見ると微妙に異なっていたため、Ajaxのレスポンスの形式がよろしくないのではと気づくことができました。</p>
<p>ありがとうございました!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Maro より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-33700</link>
		<dc:creator>Maro</dc:creator>
		<pubDate>Mon, 23 May 2011 11:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-33700</guid>
		<description>&gt;&gt;makiさん
ちょっと情報が少ないのではっきりしたことは言えませんが、
手動とAjaxで、完全に同じ値を入力しているのに動作が異なる場合、Ajaxによるタイムラグが原因になっているケースが多いのですが(オブジェクトの作成される順番等)、その辺りに糸口がないでしょうか</description>
		<content:encoded><![CDATA[<p>>>makiさん<br />
ちょっと情報が少ないのではっきりしたことは言えませんが、<br />
手動とAjaxで、完全に同じ値を入力しているのに動作が異なる場合、Ajaxによるタイムラグが原因になっているケースが多いのですが(オブジェクトの作成される順番等)、その辺りに糸口がないでしょうか</p>
]]></content:encoded>
	</item>
	<item>
		<title>maki より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-33698</link>
		<dc:creator>maki</dc:creator>
		<pubDate>Sun, 22 May 2011 14:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-33698</guid>
		<description>jqueryでガントチャートで探しておりまして、こちらを試用させていただいております。
現在、mysqlのDBに保存されているデータを用いて、tasksの配列を作りこもうとしているのですが、うまくいかなくて困っております。
↓こんな感じでDBから抽出したdataを配列に変換して、
$.post(&#039;./hoge.php&#039;,function(data) {
var myTask = data.split(&quot;~&quot;);

↓タスクとして以下のように記述してみたのですが、チャートが表示されないのです。
&#039;tasks&#039;: myTask

myTaskを手入力で記述してあげると問題なくチャートが表示されます。
また、そもそもの戻り値dataについては、ちゃんと返ってきていることを確認できていて、何がおかしいのか見当がつきませんでした。

なお、Firefox(Win版)で動かしており、エラーコンソールを見てみると、jquery.gantt.jsの165行目でエラーとなっているようで、p.task[i].titles is undefinedと表示されます。</description>
		<content:encoded><![CDATA[<p>jqueryでガントチャートで探しておりまして、こちらを試用させていただいております。<br />
現在、mysqlのDBに保存されているデータを用いて、tasksの配列を作りこもうとしているのですが、うまくいかなくて困っております。<br />
↓こんな感じでDBから抽出したdataを配列に変換して、<br />
$.post(&#8216;./hoge.php&#8217;,function(data) {<br />
var myTask = data.split(&#8220;~&#8221;);</p>
<p>↓タスクとして以下のように記述してみたのですが、チャートが表示されないのです。<br />
&#8216;tasks&#8217;: myTask</p>
<p>myTaskを手入力で記述してあげると問題なくチャートが表示されます。<br />
また、そもそもの戻り値dataについては、ちゃんと返ってきていることを確認できていて、何がおかしいのか見当がつきませんでした。</p>
<p>なお、Firefox(Win版)で動かしており、エラーコンソールを見てみると、jquery.gantt.jsの165行目でエラーとなっているようで、p.task[i].titles is undefinedと表示されます。</p>
]]></content:encoded>
	</item>
	<item>
		<title>John より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-33683</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 19 May 2011 18:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-33683</guid>
		<description>For any of you that may care.  Nov shows up with 31 days.  I updated the line 

FROM -
return Math.ceil((dateTo.getTime() - dateFrom.getTime())/(24 * 60 * 60 * 1000));

TO  -
return Math.abs((dateTo.getTime() - dateFrom.getTime())/(24 * 60 * 60 * 1000));</description>
		<content:encoded><![CDATA[<p>For any of you that may care.  Nov shows up with 31 days.  I updated the line </p>
<p>FROM -<br />
return Math.ceil((dateTo.getTime() &#8211; dateFrom.getTime())/(24 * 60 * 60 * 1000));</p>
<p>TO  -<br />
return Math.abs((dateTo.getTime() &#8211; dateFrom.getTime())/(24 * 60 * 60 * 1000));</p>
]]></content:encoded>
	</item>
	<item>
		<title>John より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-33381</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 07 Apr 2011 21:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-33381</guid>
		<description>Team,

This is really very useful...thank you.

I have now frozen the title on the top of the screen (my version of tool) but would love to change the calendar from months to week.

Would you mind helping with this?

Thanks,
John</description>
		<content:encoded><![CDATA[<p>Team,</p>
<p>This is really very useful&#8230;thank you.</p>
<p>I have now frozen the title on the top of the screen (my version of tool) but would love to change the calendar from months to week.</p>
<p>Would you mind helping with this?</p>
<p>Thanks,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>Maro より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-31361</link>
		<dc:creator>Maro</dc:creator>
		<pubDate>Thu, 23 Sep 2010 12:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-31361</guid>
		<description>Hi Fredy,

thanks for invite.
if this is useful for others, I think it would be nice.

but now I have to stay away from the web.
perhaps i would be difficult to manage.

the script itself, feel free to use.
if i get a opportunities, I would like to join.</description>
		<content:encoded><![CDATA[<p>Hi Fredy,</p>
<p>thanks for invite.<br />
if this is useful for others, I think it would be nice.</p>
<p>but now I have to stay away from the web.<br />
perhaps i would be difficult to manage.</p>
<p>the script itself, feel free to use.<br />
if i get a opportunities, I would like to join.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Fredy より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-31330</link>
		<dc:creator>Fredy</dc:creator>
		<pubDate>Tue, 21 Sep 2010 13:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-31330</guid>
		<description>Hi Maro-San,

first, congratulation for your work,
would you like to put it onto  github (http://github.com) as an open source project, (it&#039;s free)
if you want I can manage with you the project (on my spare time).
and maybe other people like Mike and Matt can contribute.

What do you think?
Regards
Fredy</description>
		<content:encoded><![CDATA[<p>Hi Maro-San,</p>
<p>first, congratulation for your work,<br />
would you like to put it onto  github (<a href="http://github.com" rel="nofollow">http://github.com</a>) as an open source project, (it&#8217;s free)<br />
if you want I can manage with you the project (on my spare time).<br />
and maybe other people like Mike and Matt can contribute.</p>
<p>What do you think?<br />
Regards<br />
Fredy</p>
]]></content:encoded>
	</item>
	<item>
		<title>スズキ より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-29879</link>
		<dc:creator>スズキ</dc:creator>
		<pubDate>Thu, 22 Jul 2010 08:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-29879</guid>
		<description>手頃なガントチャートを探しておりました。just meetです。
初心者の私でも簡単に使えました。
以前、永島 さんが要望されておりました、週単位表示は
私もほしい機能です。無理を言って申し訳ありませんが
是非とも実現お願いします。</description>
		<content:encoded><![CDATA[<p>手頃なガントチャートを探しておりました。just meetです。<br />
初心者の私でも簡単に使えました。<br />
以前、永島 さんが要望されておりました、週単位表示は<br />
私もほしい機能です。無理を言って申し訳ありませんが<br />
是非とも実現お願いします。</p>
]]></content:encoded>
	</item>
	<item>
		<title>Matt より</title>
		<link>http://www.maro-z.com/archives/190/comment-page-1#comment-29282</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sat, 26 Jun 2010 17:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.maro-z.com/?p=190#comment-29282</guid>
		<description>that&#039;s awesome.
btw, I got  little pedantic with the css and bar positioning.
To get the border-left + border-right to be within the 1 px &#039;date cell&#039; range made a tiny adjustment.
+ altered the bar height and position as you&#039;ll see.




$(&quot;#GNT_bar&quot; + d, trObj).css({ //apply the position in the css - 1 per date pair
								&#039;left&#039;: barLeft+&#039;px&#039;,
								&#039;width&#039;: barWidth-1+&#039;px&#039;
							});


.GNT_tbl .GNT_bar_body
{
	background-color: #6699CC;
	line-height: 11px;
	color: #FFFFFF;
	text-align: center;
	overflow: hidden;
	border-top: 1px #333 solid;
	border-bottom: 1px #333 solid;
	margin-left: 1px;
	/* added by mjm start */
	font-size: 10px;
	position: absolute;
	width: 100%;
	margin-top: -6px;
	/* added by mjm end */
}</description>
		<content:encoded><![CDATA[<p>that&#8217;s awesome.<br />
btw, I got  little pedantic with the css and bar positioning.<br />
To get the border-left + border-right to be within the 1 px &#8216;date cell&#8217; range made a tiny adjustment.<br />
+ altered the bar height and position as you&#8217;ll see.</p>
<p>$(&#8220;#GNT_bar&#8221; + d, trObj).css({ //apply the position in the css &#8211; 1 per date pair<br />
								&#8216;left&#8217;: barLeft+&#8217;px&#8217;,<br />
								&#8216;width&#8217;: barWidth-1+&#8217;px&#8217;<br />
							});</p>
<p>.GNT_tbl .GNT_bar_body<br />
{<br />
	background-color: #6699CC;<br />
	line-height: 11px;<br />
	color: #FFFFFF;<br />
	text-align: center;<br />
	overflow: hidden;<br />
	border-top: 1px #333 solid;<br />
	border-bottom: 1px #333 solid;<br />
	margin-left: 1px;<br />
	/* added by mjm start */<br />
	font-size: 10px;<br />
	position: absolute;<br />
	width: 100%;<br />
	margin-top: -6px;<br />
	/* added by mjm end */<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

