Addon:Life Line Chart View

From Gramps
Jump to: navigation, search
Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager.
An Addons Offline Manual is available for review.

Gnome-important.png
To enable SVG file export use the minimum requirement of Python 3.6 for svgwrite prerequisite

Life Line Chart View - addon - Visualizing an ancestors tree (Gramps 5.1.x version)
Life Line Chart View - addon - Visualizing a descendant tree with photos (Gramps 5.1.x version)
Life Line Chart View - addon - Visualizing a larger ancestor tree (Gramps 5.1.x version)
Life Line Chart View - addon - Visualizing a ancestor tree with photos (Gramps 5.1.x version)
Life Line Chart View - addon - Visualizing a descendant tree in cactus shape (Gramps 5.1.x version)

Life Line Chart View is an interactive Charts Charts category view addon which shows individuals as lines in an ancestor or descendant chart. The length and position of the line depends on the actual life span and the marriages. The pedigree/ancestor collapse is handled. Labels for birth / names, death, and marriages can be added.

The active person on the person tab is starting point in both charts. Birth/christening/baptism, death/burial, and marriage dates need to be available to properly draw this chart. If they are incomplete reasonable guess values are chosen if possible. If not, then these individuals are not shown

Usage

Two new chart icons will appear in the Charts Charts category view tool bar if the addon was loaded successfully and the prerequisites have been installed: LifeLineChartView default Toolbar-Icons-51.png

  • Life Line Ancestor Chart View (left icon)
  • Life Line Descendant Chart View (right icon)


  • You may zoom (if the chart is focused) with
    • Ctrl++ and Ctrl+-
    • Ctrl+mouse wheel
    • the GUI control buttons (+, -, fit to view, reset to 1)
  • Scrolling is possible (if the chart is focused) with
    • mouse wheel, Shift+mouse wheel
    • Ctrl+left mouse button (grabbing)
  • Context menu enables
    • Opening the edit dialog
    • Change active person
    • Show / hide persons and their ancestors / descendants
    • Showing siblings in the ancestor chart
  • You may lock Ctrl with the GUI control button "M"
  • You may also use the filter to fade out individuals
  • A tooltip shows the name, gramps id, birth and death date of the person.

Configure Options

Life Line Chart View - addon - Configure dialog (Gramps 5.1.x version)

The Configure the active view dialog shows two tabs of option that you can configure independently for the charts.

General Layout

  • number of generations.
  • relative line width.
  • vertical and horizontal chart size.
  • warping of the whole chart (normal grid, sine, triangle).
  • show or hide pedigree collapse.
  • unique line color or coloring based on surname.
  • line fading represents the uncertainty of dates or the age.
  • show or hide lables for birth, death, marriages.
  • line weighting (only descendant diagram).
  • general chart layout "parents enclose children" or "cactus" (only descendant diagram).
  • optimizations (only ancestor diagram):
    • flip family to reduce the cross chart connection lengths.
    • horizontal chart compression.
  • softness of the family shape.
  • vertical flipping of the whole chart.
  • show photos of the person on the line.
  • size of the photos.

Label Configuration

  • birth and death label.
    • position.
    • rotation.
    • alignment.
    • word wrapping.
    • font name and size.
  • marriage label font size and name.

Features

  • Photos of the persons can be displayed along the line. Their position is either based on the date that is set in the media object, or displayed in the order of appearance in the family tree.
  • Overview map on the bottom left.
  • The diagram can be exported as an SVG file using the Save the Life Line Chart View button (not available using Python 3.5).
  • Layout optimization algorithms.
  • Dark theme.
  • Handling of pedigree collapse.

Prerequisites

If the requirements for this addon have not already been installed you will be prompted to download them semi-automatically by selecting the Download module button for each.

The addon is based on the Python module life_line_chart, this Python module is required.

LifeLineChartView-life line chart.png

To enable SVG file export, the module (svgwrite) is required (which has a minimum requirement of Python 3.6).

LifeLineChartView-svgwrite.png

Issues

  • "smooth scrolling" is supported since GTK 3.24 (GTK documentation), the Windows AIO currently uses an older version.
  • Touch screens are not properly supported on Windows. This is an unresolved GTK issue (GTK issue)

For current issues see the related tag LifeLineChartView on the bugtracker.