Charts

You can visualize your data using different graphics. Memento supports the following types of graphics: Pie, Line, Bar, Columns, Area, Scatter, Stepped Area.

How to build a chart

  • Open the side menu of the library (swipe the screen left to right) and then select Charts.
  • Press + and select the type of the chart you want to build; this opens the chart settings screen.
  • Select the fields of the library, the values of which will be used for building the chart.
Charts are built using Google Charts API and HTML5. Google Charts API requires an active connection to the Internet for downloading JavaScript functions for building charts.
All code and data are processed and rendered in the browser. No data is sent to any server.

Pie Chart

Data sources:
  • Category: Field, the values of which are sectors on a pie chart.
    When category is a field of date or date/time type, the values can be grouped by hour, date, month or year.
  • Values: record number or numeric field that define sector size.
  • Function: Defines sector size calculation method. The default function is Sum. Sector size equals the sum of all value fields of the category’s records.
Example:
Library: Tasks
Objective: Show number of tasks by priority.
  • Category: Priority
  • Values: Number of entries

Line Charts / Area Chart

Data sources:
  • Axis Х: Field of values to be placed on axis X.
  • Axis Y: Field of values that define the point the chart line will go through.
  • Function: Defines method for calculating the value on axis Y. The default method is Sum. The value on axis Y for X equals the sum of all Y-fields in the records with X-field equal to X.
  • Series: Used for building charts with multiple lines. The value of this field defines the line a certain record belongs to.
If the X-field is a number or date, you can specify axis type – discrete or continuous.
Discrete axis contains only those X values that are present in the records.
Continuous axis contains all values of type X in ascending order.
For example, if the type of a field X is numeric and the library contains records with values 1,4,7.
The discrete axis will appear as: 1,4,7
The continuous axis will appear as: 1,2,3,4,5,6,7,8,9

Example:
Library: Purchases
Objective: Show amounts of funds spent by day.
  • Axis Х: Purchase Date
  • Axis Y: Price

Bar Chart / Column Char

Data sources:
  • Columns: Field the values of which are bars on the chart.
  • Values: Field the values of which define the size of the bar.
  • Series: Field for splitting records into individual data sets. Each data set will have its own bar for the respective value of the bar field.
Example:
Library: CD Collections
Objective: Show the number of disks bought each month grouped by genre.
  • Columns: Purchase Date, Group by month
  • Values: Number of entries
  • Series: Genre

Scatter Chart

A scatter chart is used to map correlation between sets of numbers. Each record of the library will be presented on the chart as a point.

Data sources:
  • Axis Х: Field for defining the coordinate of the point on axis X
  • Axis Y: Field for defining the coordinate of the point on axis Y.