Results 1 to 4 of 4

Thread: How to display the name of every column in a chart?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    67

    How to display the name of every column in a chart?

    Hi, I am trying to create a graph to show the user the amount of times they have pressed the keys 0-9.

    However my graph is only showing the numbers 1,3,5,7 and 9 as shown in the image. Name:  9862adb332855fb3e5503ae38fde3382.png
Views: 402
Size:  10.7 KB

    Is there anyway to get it to show every column name?
    Additionally is there a way of stopping there being blank space before the start of the first bar and after the end of the last bar?

    This was just a mock up UI to see what it would look like so the only code I have used is
    Code:
    Dim rand As New Random
    For i = 0 To 9
    Chart1.Series("0-9").Points.AddXY(i.ToString, rand.Next(1001))
    Next

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: How to display the name of every column in a chart?

    In Designer:

    ChartAreas > ChartArea1 > Axes > XAxis > Interval > 1

    There is no way to change the spacing of the bars. That's all part of the graph type. You'd have to design and implement a custom graph type for that (if it's possible - never thought about it).
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Reviews: "dunfiddlin likes his DataTables" - jmcilhinney

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    67

    Re: How to display the name of every column in a chart?

    Thank you!

    That's a shame about the spacing. I don't like how there is a line protruding from the top of the middle of each bar as if you choose to display the value of the bar, it cuts right through it

  4. #4
    New Member HarryRoger's Avatar
    Join Date
    Nov 2013
    Location
    6757 S 90th St Lincoln, NE 68526
    Posts
    1

    Re: How to display the name of every column in a chart?

    Try visiting KoolChart's charting tools which gives you the flexibility to work with all type of chart like pie chart, bar chart, line chart which provides 3D charting.

    Name:  EasyCharts.jpg
Views: 379
Size:  156.4 KB
    Last edited by HarryRoger; Nov 13th, 2013 at 11:36 PM. Reason: Grammatical Error
    chart software works good in 3D with support of HTML5.

Tags for this Thread

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