Results 1 to 7 of 7

Thread: [RESOLVED] Chart Control Links

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Resolved [RESOLVED] Chart Control Links

    Anybody have any good links on the Chart Control they introduced in 3.5 SP1? Company wants me to do some charting on a dashboard for a new project. Thanks!
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Chart Control Links

    Check the link in my signature.

    Gary

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: Chart Control Links

    Thanks. Do you know how I force it to label every tick on the X-Axis? I am doing a chart with equipment tags along the bottom and it is only labelling every few of them. I would guess I would have to set the Major Tick interval to 1, but I don't see where to do that.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Chart Control Links

    Off the top of my head, not sure.

    Can you show what you are currently doing?

    It has been a while since I have played with the Chart Controls.

    Gary

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: Chart Control Links

    Basically I have a chart that shows equipment names on the X Axis and the number of messages sent to each piece of equipment along the Y Axis. Everything charts fine, but the problem is the X Axis is only showing a label for equipment names on the Major Ticks, which is like every 10th tick or so.

    SO I need to either figure out how to have major and minor ticks labeled, or how to set the tick interval to one so every tick is a major tick.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: Chart Control Links

    Found it:

    Chart1.ChartAreas(0).AxisX.Interval = 1
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Chart Control Links

    Noice.

    Good to know, thanks!

Posting Permissions

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



Click Here to Expand Forum to Full Width