Hello,
From the security perspective the client will not have direct access to the database. So how the chart should get the data from database.
Kindly provide me a sample program to acheive this.
Regards,
Dinesh.
Chart fetching data from remote database.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Dinesh,
You'll find an example at the live applet demo:
http://www.steema.com/products/teechart ... etDemo.htm
At Components->JDBC.
This demo (TeeChart.Features.jar) is also included with the installation.
You'll find an example at the live applet demo:
http://www.steema.com/products/teechart ... etDemo.htm
At Components->JDBC.
This demo (TeeChart.Features.jar) is also included with the installation.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
We were able to run the same code and plot the data on chart. But problem here is the client (browser) system will not have access to database server system. So in this case how chart will fetch the data?
In case of sample code, it is a swing and it fetches data directly hitting to the database server system. What if the database server is not accessible or reachable?
In case of sample code, it is a swing and it fetches data directly hitting to the database server system. What if the database server is not accessible or reachable?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi SDG,
It's essential that the client has a connection to the server to be able to get data from it. Once this is achieved there are several ways of charting this data.
It's essential that the client has a connection to the server to be able to get data from it. Once this is achieved there are several ways of charting this data.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Veeranna,
Some of the options are using a JDBC connection as I told you before, you can manually read your database and populate series using add method, you can use XML source as in the example at Components -> XML import source, etc.
Some of the options are using a JDBC connection as I told you before, you can manually read your database and populate series using add method, you can use XML source as in the example at Components -> XML import source, etc.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |