VB.NET Chart Horizontal Scroll or Fit to Screen When Resizing Forms - Please Help (HOW)

Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.Chart1.Series("Rate").Points.AddXY("Rowel", 27)
        Me.Chart1.Series("Rate").Points.AddXY("Rona", 24)
        Me.Chart1.Series("Rate").Points.AddXY("Edwin", 28)
        Me.Chart1.Series("Rate").Points.AddXY("Rock", 29)
        Me.Chart1.Series("Rate").Points.AddXY("Ben", 30)
        Me.Chart1.Series("Rate").Points.AddXY("July", 25)
        Me.Chart1.Series("Rate").Points.AddXY("King", 54)
        Me.Chart1.Series("Rate").Points.AddXY("Coby", 64)
        Me.Chart1.Series("Rate").Points.AddXY("Rhian", 74)
        Me.Chart1.Series("Rate").Points.AddXY("Josh", 84)
        Me.Chart1.Series("Rate").Points.AddXY("Ping", 94)
        Me.Chart1.Series("Rate").Points.AddXY("Cardo", 104)
        Me.Chart1.Series("Rate").Points.AddXY("Fact Boy", 234)
        Me.Chart1.Series("Rate").Points.AddXY("Jame", 254)
        Me.Chart1.Series("Rate").Points.AddXY("Bunso", 264)
    End Sub
End Class

Open in new window

That's how I created the chart,
fewaf.JPGProblem is the space of charts How can I Fit this to screen or can I have a scroll bar?
Rowel VirgoVisual Studio .NETAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dustin SaundersDirector of OperationsCommented:
The chart has a method to adjust the scaling:


Open in new window

Example (C#):

string[] series = { "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen" };
int[] points = { 10, 33, 42, 34, 65, 89, 55, 20, 15, 64, 44, 51, 32 };

for (int i = 0; i < series.Length; i++)


Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rowel VirgoVisual Studio .NETAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fuzzy Databse

From novice to tech pro — start learning today.