|
-
Mar 7th, 2001, 01:41 PM
#1
Thread Starter
Frenzied Member
MSChart AxtiveX Control
I am looking through MSDN, but I'm not finding a way to set the range of an axis. I am charting percentages in 2D line chart, and when they are all above 95%, why do I need to show 0-100, when 90-100 will give much better resolution.
Any idea on how to set the range?
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Mar 7th, 2001, 01:55 PM
#2
Fanatic Member
Here it is
Code:
Private Sub Command1_Click()
' Set chart type to 2d bar
Form1.MSChart1.chartType = VtChChartType2dBar
' Use manual scale to display y axis (value axis)
With Form1.MSChart1.Plot.Axis(VtChAxisIdY).ValueScale
.Auto = False
.Minimum = -100
.Maximum = 100
End With
End Sub
DocZaf
{;->
That info is from ms
http://support.microsoft.com/support.../Q189/1/59.ASP
-
Mar 7th, 2001, 02:46 PM
#3
Thread Starter
Frenzied Member
Thank you
Plot axis value scale, none of which is listed where I was looking.
http://msdn.microsoft.com/library/de...rtObject_P.htm
Thank you very much.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|