Click here to Skip to main content
16,017,954 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I need to retrieve data and characteristics (axis, legends, etc. series etc.) from hundreds of graphs from different excel files, store everything in a database, and then show these graphs in asp.net pages using .net 4.0 chart object. Data related to these graphs will be modified by users via web forms; so, charts must therefore be constructed interactively.

In recovery phase I'm able to access to excel object chart to get the data from and to "see" each chart's property. Since charts are so many, not knowing what properties will be helpful and which are not, I would store all graph's properties, then they will be available for web side.

There is a simple way to retrieve all excel graph's properties? Is it possible to serialize chart's object to xml?

TIA
Alder
Posted

1 solution

If i understand you well, you need to retrieve nothing from Excel graph's properties. All you need is to import data, then to create chart and bind data.

Please, see:
Getting Started[^]
Using Chart Controls[^]
Data Binding and Manipulation[^]
Samples Environment for Microsoft Chart Controls[^]
 
Share this answer
 
Comments
ALDER_MORIGGI 12-Nov-13 2:44am    
No, My problem is how to retrieve and store Excel graph's information in a database.
I've also to import data and rebuild graph on asp.net page like excel graph.
Maciej Los 12-Nov-13 16:57pm    
What have you tried till now? Where are you stuck? What kind of database?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900