Reputation: 332
I have a EXCEL file containing multiple Tables and Charts. I want to create a web page to display a particular Table and a Chart. I used java script to display the table. But cant find a way to display the CHART. By chart i mean it contains a pie graph or bar graph.
Is it possible to display using java script? Or do i have to use JSP/something else?
Upvotes: 1
Views: 27818
Reputation: 1
An easier way would be to use a free tool like oomfo, which is a PowerPoint plugin to create charts. It lets you pull data from excel, create charts and then export the entire slide as HTML - the charts are in Flash and JavaScript (fallback). Just add a line of code in the output web page to render JavaScript charts only.
Upvotes: 0
Reputation: 2227
Take a look at Google Chart Tools. Here is an example with javascript source code. If you are building the table on the server side, you may instead want to pass the data down JSON encoded and then build both the table and chart at the same time without having to pass the data twice.
Upvotes: 5