1 Attachment(s)
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. Attachment 101237
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
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).
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
1 Attachment(s)
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.
Attachment 107091