What Is The Graph2Lab Library?

The Graph2Lab library is a collection of tools to assist the developer or the end user to take better advantage of the Graph2 external component that ships with current versions of Omnis Studio. It even contains a number of tools that extend the utility of the Graph2 component beyond its original design to make graphing in Omnis Studio even more powerful.

(Note: Graph2Lab is designed for use with the Graph2 component that began shipping with Omnis Studio 4.1. We have a separate product, GraphLab, that is used with the original Graph component that still ships with Omnis Studio. For more information and for pricing on all of our products, please see our Products page.)

For a price equivalent to two or three hours of billable time, you can put a window into any application that simplifies the process of setting up the Graph2 component and another that allows your users to modify existing Graph2 graphs to better suit their needs. Creating such features on your own could take months to accomplish - if you didn't give up trying first!

The first release of this libary has two primary windows: the Graph2Lab window and the Graph Control Panel palette. The Graph2Lab window allows the user to enter data into an expandable grid, then view a graph of that data and modify the features of that graph until they get what they want. A snapshot of the graph can then be taken and exported to a file on disk or the features of the graph, a graph color palette, a set of titles and the sample dataset can be stored in database records for later retrieval and use. Any such record can also be exported or imported, allowing graph layouts, color palettes, etc. to be shared by Graph2Lab users or, more importantly, allowing the developer to distribute custom graph setup templates to end users without having to redistribute a completely new library. We provide the flexible tools - you provide the creative uses!

Graph2Lab also includes tools that extend the built-in capabilities of the Graph2 component. Among these is the ability to transpose the existing data set (swapping the Series and Group information and replotting the graph), selecting any data column (not just the first group) for use with a Pie graph and creating stacked Bar, Line and Area graphs. Work on this project has generated many bug reports and enhancement requests, which have been accepted by the Mitford House engineering team. As more features and fixes are added to Graph2, the Graph2Lab library will be updated to take advantage of them - and to possibly extend the use of Graph2 even further!

This library is sold as open code, so there is plenty to explore! This library also serves as an example of how to use the many features of Graph2 correctly, since there are many errors and inaccurate statements in the current documentation. You will not find this depth of example on the Graph2 component anywhere else!

Here is a brief listing of the main features of Graph2Lab:

  • Easy-to-use interface for setting Graph2 properties
  • Database storage and import/export of graph layout (properties), color palette, titles and data
  • Extended support for stacked Bar, Line and Area graphs
  • Group selection for Pie graphs
  • Easy management and manipulation of sample data and group name lists
  • Remapping of series and group data
  • Snapshot options
  • Graph configuration Control Panel, for end user use, with all these features except data manipulation and graph storage

Check the other information pages for further explanations of Graph2 and Graph2Lab features as well as for screen shots of some of those features.