PerCentGraph is a control template that uses an image control to create a horizontal bar type graph. PerCentGraph adds a group, Panel, and image control in a horizontal layout shown in below window in the ide. Strings for clarity added by the developer.

 

PerCentGraph

 

Right click on the control and select the actions tab for the prompts.

You only need to select the Image to use for the bar graph and the variable to represent with the graph.

Any Image format supported by the Clarion IDe can be used, and the Variable should be a numerical value representing a percentile in the range of 1-100, ie 65(%) The length of the image is 100 and {PROP:WIDTH} is set to the variable.

 

PerCentGraphTpl

 

A Goto button is provided to go to an embed in the routine before the variable is used and assigned to the graph for any necessary hand coding.

 

PerCentGraphembeds

 

Below is screen shot of Horizontal bar graph in action.

 

PerCentGraphPix