|
-
Jun 15th, 2013, 04:31 PM
#1
Thread Starter
Lively Member
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. 
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
-
Jun 15th, 2013, 06:05 PM
#2
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!
-
Jun 15th, 2013, 07:00 PM
#3
Thread Starter
Lively Member
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
-
Nov 13th, 2013, 05:36 AM
#4
New Member
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.
Last edited by HarryRoger; Nov 13th, 2013 at 11:36 PM.
Reason: Grammatical Error
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|