Charts

Some reports give information in the form of a chart. For instance, it can be a chart showing how a unit speed varied with time or a chart showing dependence of fuel consumption on speed, and many other kinds of charts.

To receive charts in reports you need to have corresponding equipment (sensors) properly installed and configured (except speed and altitude charts which do not need any special sensors). How to create and configure sensors, read in Sensors.

To add a char to a report template, click the Add Chart button in the template properties dialog. :!: A chart cannot be included to a report if report type is Unit group.

Enter a name for a chart or live default Chart (the same for all charts).

Regular Charts

There are several types of charts. First of all, this is Regular type. Their X axis always presents time scale, and you choose data for Y axis:

  • Speed
  • Altitude
  • Voltage
  • Temperature
  • Engine revs
  • Counter sensor
  • Custom sensors
  • Custom digital sensors
  • Absolute mileage
  • Mileage in trips
  • Instant mileage
  • Fuel level (no filtration is applied)
  • Processed fuel level (filtration is applied)
  • Fuel consumption by ImpFCS
  • Fuel consumption by AbsFCS
  • Fuel consumption by InsFCS
  • Fuel consumption by FLS
  • Fuel consumption by math
  • Fuel consumption by rates

The names of these items are editable. However, when building a curve for a sensor, it will borrow sensor name.

Select data set for the chart checking necessary items in the list. You can select two items, then the chart will contain two curves, for example, speed and engine revs. You can select even more items but note that only two variables can exist in one chart in addition to time. It means if Y axis presents speed scale at the left and temperature scale at the right, there is no place for engine revs. But if Y axis presents speed scale at the left and consumption by ImpFCS at the right, it is still possible to add consumption by AbsFLS and other methods because all they are measured in the same metrics and will use Y right scale.

In the picture below there a speed chart united with fuel level chart. To receive such a chart, it is needed to set Regular chart type and select Speed and Fuel level for data set.

If there are more then one curve in the chart, they are displayed in different colors. At the top of the chart you can see the names of all lines as they are indicated in the report template or sensors names. In addition, the metrics are indicated for all axes.

Mileage Charts

Four kinds of mileage chart can be created: absolute mileage, mileage in trips, instant mileage, and instant mileage smoothed. The two first show how mileage changed (increased) with time. Absolute mileage chart is built on the bases of all messages. That means any inaccuracy and outlying data affect the resulting chart. Mileage in trips chart considers trip detector that is chows mileage in trips only. Below you see the chart with curves: absolute mileage (red) and mileage in trips (green).

Instant mileage represents data in the form 'mileage from the previous message to the current one' that is the distance between two adjacent messages. This kind of chart can be useful to detect excessive mileage during connection loss, or to detect made-up additions to the mileage.

Chart Parameters

Select Sensors

In the right part of the dialog you can indicate sensors to form the chart. This selection does not affect such charts as Speed, Altitude, Fuel consumption by math and Fuel consumption by rates because they do not need any sensors to be built.

To indicate necessary sensors, enter a mask to search sensors - full sensor name or its part using wildcard symbols like asterisk * (replaces any number of characters) or question sign ? (replaces one character). Sensor name cannot contain comma.

You can skip this possibility and select All sensors option. In this case the system will automatically define sensors of a required type when building a certain chart.

If any masks are assigned and All sensors option is selected, the chart will be built for all sensors and masks will be cleaned.

Split Sensors

If there are several sensors of the same type and a chart of the same type is created, the curves for all sensors will appear in one chart. To split them, choose the appropriate option Split sensors. Then an individual chart will be built for each sensor. For example, there is a unit with two voltage sensors - external voltage and internal voltage. If creating a voltage chart for this unit we can get one chart with two curves on it or two chart with one curve on each (if Split sensors option is selected).

If several data is selected for the chart and for each several sensors exist, the upper one will be split. Let's assume that a unit has two voltage sensors and two temperature sensors, and you are building a voltage/temperature chart for it. If Split sensors option is off, you will get one chart with four curves in it. If Split sensors option is on, you will get two charts with three curves on each: one chart will contain the first voltage sensor and both temperature sensors, and another one will contain the second voltage sensor and again two temperature sensors.

Count from Zero

This flag is responsible for chart zoom. By default, Y scale range depends on the range of values found within the interval. For instance, if the temperature varies from 3 to 5, Y axis begins from 3, and the curve occupies maximum space in the chart. If the option Count from zero is activated, Y axis is built from zero to the highest value (or from the lowest value to zero if the values are negative).

In the picture below you see two speed charts built for one unit for the same period of time. The first chart is regular, the second one has the flag Count from zero.

Trips

The chart can contain a special line displaying unit state: upper position is for movement (trip), lower position is for stay. Movement/stay intervals are detected according to trip detector settings. If trip detector is not set, the line will not appear. To activate the line, choose Trips option in chart parameters.

Smoothing

Almost all regular charts can be presented in two forms: raw and smoothed. Raw charts are drawn from one message to another in a linear way and have angular look. Smoothed charts look more streamlined. The smoothing algorithm is the same for all chart kinds.

Below is an example where the red line displays a raw voltage chart, and the green line displays a smoothed voltage chart. The blue line is to indicate trip and stay intervals.

Other Charts

Except regular charts you can generate the following charts:

  • Processed fuel level
  • Speed/Fuel Consumption by…

The axes of these charts cannot be changed, however, it is possible to change chart name and use Select sensors and Split sensors options.

Processed Fuel Level

Processed fuel level chart shows the values which are used while calculating fuel level, fillings and thefts in tables.

The chart shows how fuel level changes in time or depending on mileage. The caption of the tab will be correspondingly Time/Fuel level or Mileage/Fuel level. The chart Time/Fuel level is built only if in unit configuration the option Time-based fuel level sensors consumption is on. In all other cases the chart Mileage/Fuel level is built. Besides, the data is processed according to filtration level set on the Fuel Consumption tab (the option Filter fuel level sensors values).

Below are two fuel level charts: the first one is processed (time-based FLS is on, filtration is off, filtration level is 25), and the second one is not processed.

A special chart Processed fuel level should be distinguished from two similar regular charts:

  1. Regular chart Fuel level represents the raw data (no filtration is applied). The flag Time-based fuel level sensors consumption does not affects the chart.
  2. Regular chart Processed fuel level is not available if the option Time-based fuel level sensors consumption is off. If the option is on, the filtration is applied.

These regular charts can represent data only in the form Time/Fuel level. Besides, it is possible to overlay other charts, such as voltage chart, for example. Special charts cannot be combined with other charts.

Speed/Fuel Consumption Chart

This chart shows dependence of average fuel consumption on speed. The data for these charts can be taken from fuel consumption sensors of different types (as impulse, absolute, instant) or fuel level sensor, or predefined consumption by math or rates. The appropriate calculation methods must be indicated in unit properties on the Fuel Consumption tab.

For example, to create this chart, a unit with instant fuel consumption sensor (InsFCS) was used.

Chart Management

A handy interface provides enough tools to work with charts. You can adjust a needed zoom, move along the chart left and right, get a precise sensor value in the indicated point, etc.

To navigate a chart, use the corresponding arrow-shaped buttons:
move left;
move right.

The buttons to scale a chart (along the X axis):
zoom in a chart in half the size;
zoom out in half the size;
custom zoom.

When the custom zoom is activated, a mouse cursor is displayed as a blue vertical line. Holding the left mouse button you can select a needed area of a chart to increase it. Repeat the operation several times. To reset zoom level to the initial position, press the Reset to defaults button .

To get a sensor value in a given point, activate Trace chart values option . A mouse cursor is then displayed as a red vertical line. Click on any place on the chart and read the exact value in a text box below (for instance, time and fuel level or time and speed). If there are several curves, choose a needed one on the dropdown list at the end of the toolbar. If the X axis shows time, you move to the requested massage on the map, and a marker is put at that place.

To scale the Y axis, use the button Y axis auto zoom . If the button is pressed, and you change chart zoom along the X axis, then the Y scale is recalculated automatically in such a way to use the maximum of chart space. If the button is released, the Y scale always stays unchanged.

Pay attention that there is one more parameter which affects chart zoom. This option is set in report template and called Count from zero. If it is on, the Y axis will always have zero despite of the position of the Y axis auto zoom button.

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2012 Gurtam