Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ASP.NET Chart

ASP.NET Chart

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiohelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BobbyStrain
    wrote on last edited by
    #1

    I have a web page, .net 4.5, that has a tab control. The second tab contains a chart control. When I run the page in VS 2013 Community Edition, it displays as it should. However, in the designer only the upper left portion of the chart is visible. Is there a way to fix this so that I can see the entire chart? I have a desktop application which has the same chart in a tabbed page, and it is all visible in the designer. I can't find anything to make the whole chart visible. Nothing scrolls, either. I have been unable to find anything on the web to shed light on this behavior. Bobby

    A 1 Reply Last reply
    0
    • B BobbyStrain

      I have a web page, .net 4.5, that has a tab control. The second tab contains a chart control. When I run the page in VS 2013 Community Edition, it displays as it should. However, in the designer only the upper left portion of the chart is visible. Is there a way to fix this so that I can see the entire chart? I have a desktop application which has the same chart in a tabbed page, and it is all visible in the designer. I can't find anything to make the whole chart visible. Nothing scrolls, either. I have been unable to find anything on the web to shed light on this behavior. Bobby

      A Offline
      A Offline
      Anurag Gandhi
      wrote on last edited by
      #2

      If you are setting the chart data dynamically, then, it seems to be the expected behavior. Your design view cannot generate chart preview unless it gets the data. Even if it gets the data, generating design view is costly from performance point of view, so, it should not be done. I would suggest not to rely on design view and test your charts while running it directly.

      Life is a computer program and everyone is the programmer of his own life.

      B 1 Reply Last reply
      0
      • A Anurag Gandhi

        If you are setting the chart data dynamically, then, it seems to be the expected behavior. Your design view cannot generate chart preview unless it gets the data. Even if it gets the data, generating design view is costly from performance point of view, so, it should not be done. I would suggest not to rely on design view and test your charts while running it directly.

        Life is a computer program and everyone is the programmer of his own life.

        B Offline
        B Offline
        BobbyStrain
        wrote on last edited by
        #3

        Anurag, Thank you. The chart is not dynamically populated and contains whatever is the default. I have the same application on windows form and the entire chart shows. So, I am still puzzled as to why the chart does not show in its entirety on the web page designer. Maybe I don't have something that is quite right. But, for now I can live with it. I have a similar application using VS 2010 and .net 3.5. But I use images instead of the chart. But I cannot find how to add a point on the image with java script (or otherwise). I'm searching, though. Using the chart I would like to add some labels within the chart areas, but I haven't found a way to accomplish this. Any advice on either?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups