Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

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

$
0
0
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: 21
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

Attached Images
 

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>