Scale Controls

One of the most difficult facets of drawing a gauge or a scale is arranging the face of its dial: spacing the tick marks evenly, and adjusting the marks and numbers can be tricky. GraphWorX64 now provides a preset Scale Control that you can tailor to your own needs. By default, it looks like the scale illustrated below, a linear measure from 0 to 100.

 

Default Scale Control

The purpose of a scale control is to provide a shortcut to creating a symbol or object that has a dial, rule, or other type of scale. Such types of objects include gauges, thermometers, scales, clocks or watches, meters, speedometers, visual counters, and so on. You can add a scale control to gauges that you've created. Using the scale control's properties, you can tailor the scale's appearance. For help doing this, refer to Adding a Scale Control to a Symbol or Object, next in this topic.

 

Adding a Scale Control to a Symbol or Object

To add a scale control to a symbol or object, you must first design it with its used in mind, and then you can add the scale to the object.

  1. Open the object or symbol you are adding the Scale Control to.

  2. From the GraphWorX64 Controls ribbon, click the Scale Control icon then click the GraphWorX64 work surface. A default scale control is added to the work surface.

  3. Drag the handles around the edge of the scale control to enlarge or stretch the scale to a size or shape you want to work with. Settings, such as the size of tick marks and fonts, may hinge on the overall size of the scale you are creating, so it is important to start with a scale of the right size.

  4. Go to the scale control's Properties tab, and set the properties to create the scale you need. Refer to Featured Scale Control Properties below for several ways to tailor the scale using the properties in the Numbering, Scale, Text, and Tick Marks property sections.

  5. You can also apply effects and styles to the scale by using the options in the Styles and Colors Section of the 2D Home Ribbon in GraphWorX64.

  6. Incorporate the scale control into the symbol or object you created it for, and save it as part of the object.

Return to Top

 

Featured Scale Control Properties

Key properties that are unique to the Scale Control or important to shaping its appearance are described below.

Horizontal:

Vertical:         

Radial:

Inside:

MiddleInside:

MiddleOutside:

Outside:

Tick Mark Divisions

Settings for the FlushEdge Property

Note: To stretch the numbers, use the NumberingStretch property. Ignore the FontStretch property.

Three Examples of Angle Settings

 

Return to Top

 

See also:

Dynamics in the GraphWorX64 Interface

OPC Tags

Dynamics

Controls Ribbon in GraphWorX 2D