Grouplab BarChart ActiveX Control

The Grouplab BarChart ActiveX control provides a simple bar chart, where data elements graphed as bars can be added programmatically. The programmer can: 

  • add sequential bars by supplying integer values 
  • set the various colors of the bar chart 
  • indicate the maximum number of bars that should be drawn in the control 
  • indicate the expected maximum value of a data element 
  • ask that a line be drawn to indicate the highest value in the set of data elements 
  • limit the number of data elements remembered

Implemented Interfaces

The usual ones automatically supplied with ActiveX Controls made in Visual Basic

 

GroupLab DirectPlay


Properties

Only non-standard ActiveX control properties are documented here.
Property Access Description
BackColor as OLE_Color Get, Put By Value The background color of the bar chart. 
BarFillColor as OLE_Color Get, Put By Value The fill color of each bar.
BarMaxValue as Integer  

 

Get, Put By Value The expected maximum value of the data elements. All bars are drawn proportional to this value.
BarMemory as Integer

 

Get, Put By Value The number of data elements that should be remembered. Data elements preceding this number are discarded.
BarNumberToDraw as Integer  

 

Get, Put By Value The maximum number of bars to draw in the space provided.
BarOutlineColor as OLE_Color

 

Get, Put By Value The outline color around each bar.
BarShowHighestValue as Boolean

 

Get, Put By Value Whether to display a line representing the highest value held in the data memory.
BorderStyle as Integer

 

Get, Put By Value Draw a border around the control (1) or not (0).

Methods

Signature Description
BarAdd (Value As Integer) Add a new data element, which is drawn as a new bar on the right side of the bar chart
Refresh () Forces a complete repaint of the bar chart. Note that this is called automatically only when the add method is invoked.

Samples

See sample projects included with the release.
 

License Terms