Home > database >  You ever do a pb send data to the HTML page, HTML which mainly include js, used for the chart
You ever do a pb send data to the HTML page, HTML which mainly include js, used for the chart

Time:10-24

Take some chart to compare soil pb, want to use of the more popular now reporting tools, such as some js doing now reporting system is more vivid, such as chart, js, etc., there are a lot of HTML templates, containing the js tools, pb how to put the data sent to js??

Chart, js, with the help of http://www.bootcss.com/p/chart.js/docs/, a look is known,

CodePudding user response:

Use fusionchart!

CodePudding user response:

reference 1/f, gosling response:
use fusionchart!

Hello, do you have any pb combined with the example of

CodePudding user response:

First do a HTML page, the HTML page contains the js calls to you, and then control ole_1 pb had been a webpage; Declaration by this control method, it is commonly ole_1. Object. XXXX, XXXX, XXX is ok,

CodePudding user response:

reference wangxun0997 reply: 3/f
do a HTML page first, the HTML page contains the js calls to you, and then control ole_1 pb had been a webpage; Declaration by this control method, it is commonly ole_1. Object. XXXX, XXXX, XXX,
,

1. The control is to use webbrowser?
2. Ole_1. Object. XXXX. XXXX, XXX, can say it to me?

CodePudding user response:

refer to the original poster jiang396 response:
pb take some chart to compare soil, to use of the more popular now reporting tools, such as some js doing now reporting system is more vivid, such as chart, js, etc., there are a lot of HTML templates, containing the js tools, pb how to put the data sent to js??

Chart. Js, with the help of http://www.bootcss.com/p/chart.js/docs/, a look is known,


Directly connect to the database in js, fetch the data from the table, and then to display the chart

CodePudding user response:

reference 5 floor lzp_lrp reply:
Quote: refer to the original poster jiang396 response:

Take some chart to compare soil pb, want to use of the more popular now reporting tools, such as some js doing now reporting system is more vivid, such as chart, js, etc., there are a lot of HTML templates, containing the js tools, pb how to put the data sent to js??

Chart. Js, with the help of http://www.bootcss.com/p/chart.js/docs/, a look is known,


Directly connect to the database in js, fetch the data from the table, and then to display the chart can the


The moderator, js as a front-end tool how to connect to the database? As if only such as node can now even the database, but I don't know how to the node

CodePudding user response:

JS, connect to the database
//to connect SQL

<script language="javascript" & gt;
Var conn=new ActiveXObject (" ADODB. Connection ");
Conn. Open (" Provider=SQLOLEDB. 1; Data Source=TGF; User ID=sa; "
+ "Password=sasa; Initial Catalog=MyBulletin ");
Var rs=new ActiveXObject (" ADODB. You ");
Var SQL="select id, name from the Category";
Rs. The open (SQL, conn);
Alert (rs (0));//remove the first to come
Rs. The close ();
Rs=null;
Conn. Close ();
Conn=null;
</script>



//connection ACCESS

<script language="javascript" & gt;
The function conn () {
Var db_bbs
Db_bbs="dd. MDB"//define database
Var conn=new ActiveXObject (" ADODB. Connection ");
Conn. Open (" Provider=Microsoft. Jet. The OLEDB. 4.0; Data Source="+ db_bbs +" ");

Var rs=new ActiveXObject (" ADODB. You ");
Var SQL="select the name from the authors";//in the database with the authors table, name field
Rs. The open (SQL, conn);
Alert (rs (0))//remove the first to come

Conn. Close ();
Conn=null;
}
</script>

CodePudding user response:

Moderator to collect examples of the thanks

Do you have any examples of pb can directly interact with js? So you don't need to go js database access to data,

CodePudding user response:

reference 5 floor lzp_lrp reply:
Quote: refer to the original poster jiang396 response:

Take some chart to compare soil pb, want to use of the more popular now reporting tools, such as some js doing now reporting system is more vivid, such as chart, js, etc., there are a lot of HTML templates, containing the js tools, pb how to put the data sent to js??

Chart. Js, with the help of http://www.bootcss.com/p/chart.js/docs/, a look is known,


Directly connect to the database in js, fetch the data from the table, and then to display the chart can the


Moderator to collect examples of the thanks
Do you have any examples of pb can directly interact with js? So you don't need to go js database access to data,