Results 1 to 13 of 13

Thread: Display Excel graph in ASP3.0 page

  1. #1
    Join Date
    Feb 2006

    Unhappy Display Excel graph in ASP3.0 page

    i am creating various charts(graphs,line,pie etc.) in excel sheet on the basis of various values.i want to show that chart(graph) on asp page. i want to just display that charts on web using asp. if i change any value acc. to that the graph will chage, that update graph should be seen in asp page. can any one tell me how to call that perticular excel file in asp page & display the graph which is show in that excel file on web using asp.

  2. #2
    Join Date
    Mar 2006
    does it have to be in excel??
    I can have a pretty good and flexible COM component to make graphs in ASP.

  3. #3
    Join Date
    Feb 2006


    i don't want to create any graph in asp. i want to just display graphs which i m creating in .xls file. so any user will visit the website & see that graph online.Also that .xls file will online, so i want to call that .xls file in my .asp page & show the graph which is in that .xls file.

  4. #4
    Join Date
    Mar 2006
    Try using this at the top of your page :

    <% Response.ContentType = "application/vnd.ms-excel" %>

    There is some sort of way to set the source of this page to your excel file. But I don't have the time at this moment to look this up. (Maybe this evening).

    But why don't you just link to your excel file directly??

  5. #5
    Join Date
    Feb 2006
    thanx Terrorke for helping me. if i directly connect that .xls file then any one can modify it, for that purpose i want to just display it using .asp page. if u can give solution for me pls.

  6. #6
    Join Date
    Mar 2006
    If you don't give permission to modify on your webserver knowone can change a thing.
    it then only can be save local at the user end.

    But I will have a look if I can come up with a solution

  7. #7
    Join Date
    Feb 2006
    thanx Terrorke for helping me.can it is possible that convert excel graph as .jpg or gif format & display as image on webpage.if possible then can u give me solution for that pls.

  8. #8
    Join Date
    Mar 2006
    I'm not sure there is a technique to do this on the fly.

    A work around is to take a printscreen of your worksheet and save it as an image.
    But I'm not sure if that suits your needs

  9. #9
    Join Date
    Feb 2006
    is it possible,in saveas webpage option there is facility publish as webpage.it is creating .htm file of excel sheet. that .htm file we ve to call in out .asp page.i ve tried this it works fine.but i ve update that .xls file then it is not updating changes in that .htm file. do u ve any idea about this , so my problem can be solved.

  10. #10
    Join Date
    Mar 2006
    What you really want is to create a graph 'on the fly' whenever a user requests the page.

    If I were you I would look at a component that can do this.
    I'm doing sort of the same thing in the application I'm building right now.

    I use a COM componten to draw a graph. This component is called csDrawGraph and can be found at www.chestysoft.com

    There are also other ways to do this. For example the Office Web Component

    Here is an article about it. And another one.

    Try searching the web. You will find usefull articles about it.


  11. #11
    Join Date
    Feb 2006
    thanx Terrorke.
    i don't want to generate graph dynamically using asp. i want to just show graph which will be created in excel.whenever values in excel sheet change , the graph will chage.so that whenever user will call .asp page , he can view that graph. i searched on web but i get how to generate graph dynamically.
    any solution for this

  12. #12
    Join Date
    Mar 2006
    When you have the Excel sheet on your webserver, there has to be a way to display it on your page.

    Maybe you can use an Iframe to do this?
    The code should look something like this :
    <iframe src="yourExcel.XLS"></iframe>
    Via this code you will display the whole worksheet thou

  13. #13
    Join Date
    Sep 2004


    You could try http://www.objectplanet.com/easycharts/ for charts etc. I use em, and is fairly happy about their product.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.16650 seconds
  • Memory Usage 2,960KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (13)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (13)postbit
  • (13)postbit_onlinestatus
  • (13)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates