AxisGauge

The AxisGauge control exists to supplement the MapGauge, since the MapGauge itself only draws the cells of the map and not either the load or RPM axes. So to get a complete map drawn you will need three gauges:

  1. A MapGauge for the chosen attribute
  2. An AxisGauge for the load axis
  3. An AxisGauge for the RPM axis

Example:

<gauge>
    <name>mapaxis</name>
    <type>AxisGauge</type>
    <direction>vertical</direction>
    <x>20</x>
    <y>40</y>
    <w>30</w>
    <h>390</h>
    <fontsize>10</fontsize>
    <attribute>ve</attribute>
    <colours>blackblack</colours>
    <factor>2</factor>
    <visible>1</visible>
</gauge>
Attribute Mandatory? Value Type Description
direction Yes String “vertical” or “horizontal” Defines the direction of the axis. Typically your load axis would be vertical and your rpm axis would be horizontal.
x Yes Integer The x coordinate of the bottom left of the axis
y Yes Integer The y coordinate of the bottom left of the axis
w Yes Integer The width of the axis
h Yes Integer The height of the axis
fontsize Yes Integer The size of the font for the axis values
attribute Yes String The attribute of the map that the axis relates to. For example if the axis is for a VE table, specify ve here.
colours Yes String The colour definition to use for the axis text.
visible No Integer 1 or 0 The default visibility of the axis. There is not normally a reason to specify anything other than 1 here
offset No Integer Adjusts the x and width for a horizontal axis or y and height for a vertical axis of the rectangular background by the specified amount, to help with alignment with the main map. To be honest, I can’t remember why I did this but it was probably a convenience thing.
factor No Integer The bins being displayed on the axis are multiplied by the specified factor. In Speeduino RPM bins are usually stored divided by 100, so to get actual RPM values you must set the factor to be 100. Similarly the load axis may be stored divided by 2.