| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
openkk
13年前发布

C#图表API GoogleChartSharp

     <p>GoogleChartSharp 是一个 Google 的图表 API 的 C# 语言封装。</p>    <p>示例代码:</p>    <pre class="prettyprint"><a name="A_Simple_Example"><span class="kwd">using</span><span class="pln"> </span><span class="typ">GoogleChartSharp</span><span class="pun">;</span><span class="pln"> </span><span class="kwd">int</span><span class="pun">[]</span><span class="pln"> data </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="kwd">int</span><span class="pun">[]</span><span class="pln"> </span><span class="pun">{</span><span class="pln"> </span><span class="lit">0</span><span class="pun">,</span><span class="pln"> </span><span class="lit">10</span><span class="pun">,</span><span class="pln"> </span><span class="lit">20</span><span class="pun">,</span><span class="pln"> </span><span class="lit">30</span><span class="pun">,</span><span class="pln"> </span><span class="lit">40</span><span class="pln"> </span><span class="pun">};</span><span class="pln"> </span><span class="typ">LineChart</span><span class="pln"> chart </span><span class="pun">=</span><span class="pln"> </span><span class="kwd">new</span><span class="pln"> </span><span class="typ">LineChart</span><span class="pun">(</span><span class="lit">150</span><span class="pun">,</span><span class="pln"> </span><span class="lit">150</span><span class="pun">);</span><span class="pln"> chart</span><span class="pun">.</span><span class="typ">SetData</span><span class="pun">(</span><span class="pln">data</span><span class="pun">);</span><span class="pln"> </span><span class="kwd">string</span><span class="pln"> url </span><span class="pun">=</span><span class="pln"> chart</span><span class="pun">.</span><span class="typ">GetUrl</span><span class="pun">();</span></a></pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1322838989468" target="_blank">http://www.open-open.com/lib/view/home/1322838989468</a></p>     
 本文由用户 openkk 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1322838989468.html
C# 图表/报表制作