Vertical Gauge Axis Configuration
- Overview
- Positioning and Configuration
- Scale
- Labels
- Custom Labels
- Tickmarks
- Color Ranges
- Trendlines
- Scale Bar
- Scale Line
- Multiple Axes
Overview
Axis is a set of objects and configuration settings, it includes scale, scale bar, scale line, trendlines, tickmarks, axis labels, custom labels and color ranges. Axis is a base of all gauges and almost all elements of a gauge depend on it.
Positioning and Configuration
Axis defines position and aligns of all depended elements.
Scale Configuration
Axis scale allows you to control such features as minimum and maximum scale values, scale inversion, intervals, scale type and so on for a single axis.
Axis Labels
Axis Labels are labels that are drawn near major_tickmarks. You can adjust their font size, font color, a wide range of other attributes and define their font family. Also you may choose from what side should the labels be displayed (align) and how far they should stand from the tickmarks (padding).
Custom Labels
If you would like to specify some area you may add a custom label, adjust its parameters and set a custom marker for it. The custom label may be added for some tickmark or for area that doesn't have tickmarks.
Tickmarks
Tickmarks are the small marks used to represent a point on an axis scale, there are major and minor tickmarks, first used to indicate major step of an axis scale, second - minor step. You can control their appearance and position. To enable/disable tickmarks set enabled="True" or enabled = "false" to major_tickmarks or minor_tickmarks
Color Ranges
Color ranges are used to color certain areas of the gauge to make it more informative. For example, you may split the scale into 3 areas: green, yellow and red according to their values. Size of color ranges is set in percents of the whole area and, therefore, color range can have different shapes.
Trendlines
Trendline is like a custom tickmark which you can set on any spot of your axis. You may not only set it but also configure its visual appearance and set a custom label for it. Your trendline node must be a subnode of trendlines node, which is inside of axis.
Scale Bar
Scale Bar node adjusts whether Scale bar is enabled or not and controls its align, width and padding. Scale bar, in fact, is only a visual form of your scale. Therefore you can fully customize its visual appearance, fill, border of add some effects.
Scale Line
Scale line is similar to scale bar with the only difference: it is a line. Its settings are the same as border settings, but is also has align and padding attributes, allowing you to adjust line's position.
Multiple Axes
You can have not a single axes but lots of. It is useful when you want your axes to have different orientation, have a various tickmarks step or more than one unit of measuring.