简体   繁体   English

来自asp.net的百度图表

[英]Echarts from baidu with asp.net

I want to use Echarts from baidu in a web application. 我想在网络应用程序中使用来自百度的Echarts。 I want to draw a scatter graph using data from a csv file embedded in a web page form that I'm using asp.net as a backend framework. 我想使用嵌入在Web窗体中的csv文件中的数据绘制散点图,而我使用asp.net作为后端框架。 Is that possible?? 那可能吗?? If yes, is there any example that might make me understand better? 如果是,是否有任何示例可以使我更好地理解?

Yes, it is possible. 对的,这是可能的。 I am using that in same way but the backed framework is JSF. 我以相同的方式使用它,但支持的框架是JSF。 I have done below things.... 1. Download the echarts 2. Copy the file echarts-2.2.7\\doc\\example\\www2\\js\\echarts-all.js to project directory 3. Load that in web page using script 4. In another script tag need to write the required Options (look into the examples under the same directory) 5. Just find the div id and pass as parameter to the echart init method I guess this resolves your need... it done for me.. 我已经做了以下事情。...1.下载echarts 2.将文件echarts-2.2.7 \\ doc \\ example \\ www2 \\ js \\ echarts-all.js复制到项目目录3.使用脚本将其加载到网页中4.在另一个脚本标签中,需要编写所需的选项(查看同一目录下的示例)。5.仅找到div id并将其作为参数传递给echart init方法,我想这可以解决您的需求...我..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM