简体   繁体   中英

Use Node.js as data source for highcharts

I am newbie with nodejs, now i want to use node js as data source (before this i am using ajax to request new data, but it's not good as node js) for my line chart which make by highcharts. Anyone please help me to point me to right direction, i don't know where to go that can help me to do this.

I think You've mixed some things together. Ajax is for sending HTTP requests from client side to server, but NodeJS is server side technology which can generate data for your charts (like PHP, ruby etc.). It depends on your needs, but ajax is the simplest way to retrieve the data from server. Another option is to choose alternative technology like Socket.io.

As for start I suggest you to take a look at these links:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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