Chart

Properties of the Chart component in Ilevia Manager, how it is displayed in Ilevia Control, and a step-by-step guided configuration example.


Introduction

This component lets you create charts from the collected data and display them in the user interface. Any information coming from a sensor, meter, or switch can be represented in a chart.

Use cases

  • You can use the Chart component to monitor electricity consumption and production.

Before you start

This component requires some preliminary configuration. The components required for the correct operation of the Chart component are listed below.

  • Component Logger

  • Component Info

  • Download and install Ilevia Logic to enable the plugins (link);

  • After uploading the .eve project to the server, wait a couple of minutes for the logic to activate.

Chart component properties within the Ilevia Manager home automation configuration software

Component properties

The component title and icons can be changed. See the “Common properties” guide for more information.

Graphical user interface (GUI)

Chart data source: the component that defines which data is shown in the chart; from any Logger you can choose which data to log.

Default time range: time display mode (Day, Week, Month, Year);

Chart date selector: the Select date component that lets you choose the date within the chart;

Chart time range selector: Option list component that lets you select specific sections within the chart;

Minimum value: minimum axis value; if left blank, the value scale is set automatically;

Maximum value: maximum axis value; if left blank, the value scale is set automatically;

Draw axes: allows you to enable or disable axis drawing; in map view it allows one or more charts to overlap;

Axis color: select a color for the axes;

Grid color: select a color for the grid;

Text color: select the text color;

Date: select the color of the date shown in the chart;

Date selector offset: allows you to set the same time offset in different charts.


There are three possible display modes: “CLASSIC”, “MODAL”, and “HIDDEN”. For more information, see the “Common properties” guide.

Component display in the user interface

Display of time modes in the user interface

Chart within the Ilevia Remote Plus home automation control app in Day view mode
Chart within the Ilevia Remote Plus home automation control app in Weekly view mode
Chart within the Ilevia Remote Plus home automation control app in Monthly view mode
Chart within the Ilevia Remote Plus home automation control app in Yearly view mode

Chart display in Ilevia Remote Plus (Classic and Map view)

Chart component shown within the Ilevia Remote Plus home automation control app

The chart date is shown next to the date selector icon.

Chart date shown next to the date selector icon

Date selector icon. It lets you select a day in a specific year to view its data.

Selecting a day using the date selector icon

For a more in-depth analysis of the data, you can zoom in by spreading your fingers apart, or zoom out by performing the opposite gesture.

Zooming the chart with the pinch gesture

Move forward or backward to analyze the chart data.

Scrolling through the chart data forward and backward

Range selector icon: click it to select the time display mode (Day, Week, Month, Year).

How to configure a chart (example project)

Example introduction

This is a step-by-step guide explaining how to configure a Chart component with virtual components, using the EVE-Ghost protocol. You will learn how to configure a Chart from scratch, from parameter settings to viewing the data in the user interface.

Step 1:

First, add a new Logger component to the project. Then add the component you want to log to the list that opens from the button in the Logger properties, under the data to be logged section. In this example we use the Slider component as the data source.

How to add components to be logged within the Logger component in the Ilevia Manager home automation configuration software

Step 2:

Add a new Chart component to the project, then select the data source from the “Data source” menu in the Chart component properties.

Adding the chart component to the project and setting the data source within the Ilevia Manager home automation configuration software project

Step 3:

Once the data source has been set, it is possible to add the Chart component to the user interface; in this example we use the Classic user interface. Go to the “User interface” section and add a new icon for the main menu, then add the Slider component (Figure 1). Now also add the Chart component at the third level of the interface editor and finally upload the project to the server (Figure 2).

Adding the main menu and the component to be logged within the user interface of the Ilevia Manager home automation configuration software

Figure 1

Adding the Chart component within the user interface and uploading it to the server for home automation control

Figure 2

Step 4:

The Recorder component requires the Logic module to be active in order to log data. To display data in the chart, the Recorder must log it: in this example, the data is logged every time the Slider component is moved. In the case of closely spaced records, the recorded data is compared every minute with the data recorded in the previous minute.

Logging data from the movement of the slider component within the Ilevia Remote Plus home automation control application

Step 5:

Clicking the Chart icon opens its interface: by moving the slider below, you can browse the displayed data.

Data display within the Chart component interface in the Ilevia Remote Plus home automation control application

Click the link to download the example project and try it out.

Download the project here!

In this section

Last updated: