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. MSChart text annotation asp.net 4.5

MSChart text annotation asp.net 4.5

Scheduled Pinned Locked Moved ASP.NET
2 Posts 2 Posters 1 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 an MSChart control on a web form that displays numerous line graphs. But I am unable to apply a text annotation. Nothing works thus far. I tried to add with VS 2013 community in both the designer and run-time code. Nothing shows up. But no errors are shown, either. Any suggestions? Nothing from Microsoft was helpful. Or elsewhere in my search, although I noted lots of difficulties with this control.

    K 1 Reply Last reply
    0
    • B BobbyStrain

      I have an MSChart control on a web form that displays numerous line graphs. But I am unable to apply a text annotation. Nothing works thus far. I tried to add with VS 2013 community in both the designer and run-time code. Nothing shows up. But no errors are shown, either. Any suggestions? Nothing from Microsoft was helpful. Or elsewhere in my search, although I noted lots of difficulties with this control.

      K Offline
      K Offline
      koolprasad2003
      wrote on last edited by
      #2

      what you want to do exactly with text annotation, MSCHART support shape, text, group annotation, which one you want to use ? try with following simple snippet, see if it works

      using System.Web.UI.DataVisualization.Charting;
      ...
      LineAnnotation myLine = new LineAnnotation();
      myLine.Name = "myLine";
      myLine.X = 3;
      myLine.Y = 3;
      Chart1.Annotations.Add(myLine);

      Find More .Net development tips at : .NET Tips The only reason people get lost in thought is because it's unfamiliar territory.

      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