<?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>评论：open-flash-chart系列教程(7)–PHP类库的用法</title>
	<atom:link href="http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/</link>
	<description>网站开发技术博客 php js css xml ajax mysql</description>
	<lastBuildDate>Tue, 29 Jun 2010 04:02:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>来自：im502</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4471</link>
		<dc:creator>im502</dc:creator>
		<pubDate>Mon, 24 Aug 2009 06:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4471</guid>
		<description>不是没有onclick，而是默认只支持line和pie不支持bar

解决办法参考:http://www.ofc2dz.com/OFC2/examples/OnClickEvents.html</description>
		<content:encoded><![CDATA[<p>不是没有onclick，而是默认只支持line和pie不支持bar</p>
<p>解决办法参考:http://www.ofc2dz.com/OFC2/examples/OnClickEvents.html</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：jsck</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4466</link>
		<dc:creator>jsck</dc:creator>
		<pubDate>Fri, 24 Jul 2009 07:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4466</guid>
		<description>OFC2  怎么没有on_click事件啊，　我把 PHP　程序改了加上了　on_click 　JSON 生成成功　　图没问题　　on_click　属性也就　就是不显示　哪们仁兄知道　请赐教啊</description>
		<content:encoded><![CDATA[<p>OFC2  怎么没有on_click事件啊，　我把 PHP　程序改了加上了　on_click 　JSON 生成成功　　图没问题　　on_click　属性也就　就是不显示　哪们仁兄知道　请赐教啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：im502</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4245</link>
		<dc:creator>im502</dc:creator>
		<pubDate>Tue, 07 Apr 2009 06:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4245</guid>
		<description>ofc2.0的话应该是自动utf-8的，如果你是手动生成json数据的话里面的中文必须经过escape处理，如果用php的类库的话中文自动会转码，jsp应该也是一样的，但是我不知道1.97版本是不是也相同。</description>
		<content:encoded><![CDATA[<p>ofc2.0的话应该是自动utf-8的，如果你是手动生成json数据的话里面的中文必须经过escape处理，如果用php的类库的话中文自动会转码，jsp应该也是一样的，但是我不知道1.97版本是不是也相同。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Tom.Leo</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4244</link>
		<dc:creator>Tom.Leo</dc:creator>
		<pubDate>Tue, 31 Mar 2009 14:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4244</guid>
		<description>谢谢！</description>
		<content:encoded><![CDATA[<p>谢谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Tom.Leo</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4243</link>
		<dc:creator>Tom.Leo</dc:creator>
		<pubDate>Tue, 31 Mar 2009 14:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4243</guid>
		<description>jsp中应用ofc1.9.7，中文乱码问题如何解决？注：页面和tomcat中都已经设置成了UTF-8编码格式</description>
		<content:encoded><![CDATA[<p>jsp中应用ofc1.9.7，中文乱码问题如何解决？注：页面和tomcat中都已经设置成了UTF-8编码格式</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：im502</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4237</link>
		<dc:creator>im502</dc:creator>
		<pubDate>Mon, 02 Mar 2009 09:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4237</guid>
		<description>1.97的没怎么用过 中做过基本的统计图表，所以也明白push的方法怎么用，可以到官方的论坛里寻求帮助。</description>
		<content:encoded><![CDATA[<p>1.97的没怎么用过 中做过基本的统计图表，所以也明白push的方法怎么用，可以到官方的论坛里寻求帮助。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：im502</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4236</link>
		<dc:creator>im502</dc:creator>
		<pubDate>Mon, 02 Mar 2009 08:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4236</guid>
		<description>add_link方法在ofc2中没有提供支持，另外我发现只有line和pie才支持on-click。解决办法参考:http://www.ofc2dz.com/OFC2/examples/OnClickEvents.html</description>
		<content:encoded><![CDATA[<p>add_link方法在ofc2中没有提供支持，另外我发现只有line和pie才支持on-click。解决办法参考:http://www.ofc2dz.com/OFC2/examples/OnClickEvents.html</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：tom.leo</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4235</link>
		<dc:creator>tom.leo</dc:creator>
		<pubDate>Mon, 02 Mar 2009 01:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4235</guid>
		<description>Value:  Label:  &lt;a href=&quot;push();&quot; rel=&quot;nofollow&quot;&gt;push new value&lt;/a&gt;. 
 
可显示图像，但不能正常调用程序中的push()方法</description>
		<content:encoded><![CDATA[<p>Value:  Label:  <a href="push();" rel="nofollow">push new value</a>. </p>
<p>可显示图像，但不能正常调用程序中的push()方法</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：tom.leo</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4234</link>
		<dc:creator>tom.leo</dc:creator>
		<pubDate>Mon, 02 Mar 2009 01:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4234</guid>
		<description>我用的是ofc1.9.7版本
 
function push() 
{ 
tmp = findSWF(&quot;chart&quot;); 
x = tmp.push_value( 
    0, 
    document.getElementById(&#039;my_val&#039;).value, 
    document.getElementById(&#039;my_label&#039;).value ); 
} 

function findSWF(movieName) { 
if (navigator.appName.indexOf(&quot;Microsoft&quot;)!= -1) { 
    return window[&quot;ie_&quot; + movieName]; 
} else { 
    return document[movieName]; 
} 
} 
 
 
 
var so = new SWFObject(&quot;open-flash-chart.swf&quot;, &quot;chart&quot;, &quot;250&quot;, &quot;200&quot;, &quot;9&quot;, &quot;#FFFFFF&quot;); 
。。。。。。//相关参数省略
so.write(&quot;mychart&quot;); 
 
 
Value:  Label:  &lt;a href=&quot;push();&quot; rel=&quot;nofollow&quot;&gt;push new value&lt;/a&gt;. 
 
可显示图像，但为什么不能正常调用程序中的push()方法</description>
		<content:encoded><![CDATA[<p>我用的是ofc1.9.7版本</p>
<p>function push()<br />
{<br />
tmp = findSWF(&#8220;chart&#8221;);<br />
x = tmp.push_value(<br />
    0,<br />
    document.getElementById(&#8216;my_val&#8217;).value,<br />
    document.getElementById(&#8216;my_label&#8217;).value );<br />
} </p>
<p>function findSWF(movieName) {<br />
if (navigator.appName.indexOf(&#8220;Microsoft&#8221;)!= -1) {<br />
    return window["ie_" + movieName];<br />
} else {<br />
    return document[movieName];<br />
}<br />
} </p>
<p>var so = new SWFObject(&#8220;open-flash-chart.swf&#8221;, &#8220;chart&#8221;, &#8220;250&#8243;, &#8220;200&#8243;, &#8220;9&#8243;, &#8220;#FFFFFF&#8221;);<br />
。。。。。。//相关参数省略<br />
so.write(&#8220;mychart&#8221;); </p>
<p>Value:  Label:  <a href="push();" rel="nofollow">push new value</a>. </p>
<p>可显示图像，但为什么不能正常调用程序中的push()方法</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：yibin</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4233</link>
		<dc:creator>yibin</dc:creator>
		<pubDate>Sun, 01 Mar 2009 07:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4233</guid>
		<description>如何加上on-click事件呢？我这一直加不上
$bar = new bar_glass();
$bar-&gt;text= &#039;访问量&#039;;
$bar-&gt;set_values( $tmpy );
$bar-&gt;set_tooltip(&#039;访问量:#val#&#039;);
$bar-&gt;set_alpha(&#039;0.3&#039;);

官方有add_link方法，我本地的类里根本找不到这个方法-,-</description>
		<content:encoded><![CDATA[<p>如何加上on-click事件呢？我这一直加不上<br />
$bar = new bar_glass();<br />
$bar-&gt;text= &#8216;访问量&#8217;;<br />
$bar-&gt;set_values( $tmpy );<br />
$bar-&gt;set_tooltip(&#8216;访问量:#val#&#8217;);<br />
$bar-&gt;set_alpha(&#8217;0.3&#8242;);</p>
<p>官方有add_link方法，我本地的类里根本找不到这个方法-,-</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：im502</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4232</link>
		<dc:creator>im502</dc:creator>
		<pubDate>Mon, 09 Feb 2009 08:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4232</guid>
		<description>例子其实就是数据的生成，可以参考官方的示例数据，下载的包里data-files目录下就是。</description>
		<content:encoded><![CDATA[<p>例子其实就是数据的生成，可以参考官方的示例数据，下载的包里data-files目录下就是。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：phper</title>
		<link>http://www.im502.com/2009/01/17/open-flash-chart-tutorial7-phpclass/comment-page-1/#comment-4231</link>
		<dc:creator>phper</dc:creator>
		<pubDate>Sat, 07 Feb 2009 13:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.im502.com/?p=103#comment-4231</guid>
		<description>这篇open flash chart的教程写的有点笼统，有实际例子就好了。</description>
		<content:encoded><![CDATA[<p>这篇open flash chart的教程写的有点笼统，有实际例子就好了。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->