VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This will give you an idea on how to input label on the MSchart using array.

by Julito Amodia (8 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 13th May 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This will give you an idea on how to input label on the MSchart using array.

API Declarations


'Change Label on MSChart using array

Dim arrValues(1 to 5, 1 to 3)
Dim i as Integer

Rate This will give you an idea on how to input label on the MSchart using array.



For i = 1 to 5
   arrValues(i, 1) = "Amodia" & i ' Labels
   arrValues(i, 2) = 0 + i ' Series 1 values.
   arrValues(i, 3) = 2 * i ' Series 2 values.
Next i
MsChart1.ChartData = arrValues


Download this snippet    Add to My Saved Code

This will give you an idea on how to input label on the MSchart using array. Comments

No comments have been posted about This will give you an idea on how to input label on the MSchart using array.. Why not be the first to post a comment about This will give you an idea on how to input label on the MSchart using array..

Post your comment

Subject:
Message:
0/1000 characters