Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSChart setting vertical axis maximum value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01036458
Message ID:
01037284
Vues:
19
Probably AUTO property is set to True. Make sure it is False:
with thisform.MSChart1.Plot.Axis(1,1).ValueScale
   .auto=.F.
   .Maximum = WHATEVER
ENDWITH
>Hi Yuri, thanks for your post which shows what the current values are. Is there a way to set the value? I try to set the Maximum but it has no effect.
>
>>David,
>>Try something similar to this:
>>
>>with thisform.MSChart1.Plot.Axis(1,1).ValueScale
>>	lcmes=lcmes+"Auto: "+TRANSFORM(.Auto)+CHR(13)+CHR(10)
>>	lcmes=lcmes+"MajorDivision: "+TRANSFORM(.MajorDivision)+CHR(13)+CHR(10)
>>	lcmes=lcmes+"MinorDivision: "+TRANSFORM(.MinorDivision)+CHR(13)+CHR(10)
>>	lcmes=lcmes+"Minimum: "+TRANSFORM(.Minimum)+CHR(13)+CHR(10)
>>	lcmes=lcmes+"Maximum: "+TRANSFORM(.Maximum)+CHR(13)+CHR(10)
>>endwith
>>
>>
>>
>>>Hi all, I'd like to set the maximum value of the vertical axis (y-axis) of a MSChart to a certain value. Couldn't find much documentation about this and so I try guessing and set the following to try set the maximum Y to 1000:
>>>
>>> oCHART.Plot.Axis(1,0).ValueScale = 1000
>>>
>>>but it doesn't work. Any suggestion?
>>>Thanks!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform