New Features Added to Graph Control in Versions 2.0 and 3.0

Last reviewed: June 21, 1995
Article ID: Q93322
The information in this article applies to:

- Professional Edition of Microsoft Visual Basic for Windows,

  versions 2.0 and 3.0

SUMMARY

In Visual Basic versions 2.0 and 3.0, the Graph Control now includes most of the major features that were requested with the Microsoft Visual Basic Professional Toolkit for Windows, version 1.0.

For example, in versions 2.0 and 3.0, the user has control over the labeling of the X axis and the minimum and maximum range of the Y axis. More information on the Graph Control is included in the "Professional Features" manual provided with the Professional Edition of Microsoft Visual Basic for Windows, versions 2.0 and 3.0.

New features of the Graph Control include the following:

New Properties

   FontSize        'Standard FontSize property.
   FontStyle       'Standard FontStyle property.
   FontUse         'Other font properties are applied against.
   HelpContextID   'Help file topic ID.
   hWnd            'Window handle.
   IndexStyle      'Enhanced usage of ThisSet and ThisPoint.
   LabelEvery      'Frequency of labels on the X axis.
   TickEvery       'Tick interval on X axis.
   Ticks           'Check if X or Y axis ticks are displayed.
   YAxisMax        'Maximum range of Y axis.
   YAxisMin        'Minimum range of Y axis.
   YAxisPos        'Position of Y axis, right or left.
   YAxisStyle      'Auto or manual.
   YAxisTicks      'Number of ticks on Y axis.

New Events

   Events are the same as the Graph Control included with the Microsoft
   Visual Basic Professional Toolkit for Windows, version 1.0.

New Methods

   ZOrder         'Standard ZOrder method.


Additional reference words: 2.00 3.00 z-order
KBCategory: kbprg
KBSubcategory: PrgCtrlsCus


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.