Skip to content

graphlist

Pragmatismo edited this page Mar 8, 2023 · 7 revisions

List of Graph Modules

Basic

Line

line_graph

Bar

bar_graph

Histogram

histogram_graph

Day Range

day_range_graph

Overlaid Days

overlaid_days_graph

Averages

averages_graph

With only the daily average shown;

averages_graph

Day Night

For location based sunset/sunrise times this uses the python module suntime which can be installed using;

pip3 install suntime

or using the gui install dialogue.

day_night_graph

Colourful

Each day is given it's own colour to help see daily patterns.

colorful_graph

Log Analysis

Time Difference

calculates the time difference between log entries, useful for check for intermittent sensors.

difference_time_graph

Value Difference

the difference in values between each log entry

difference_values_graph

Rate of Change

This is not a very good graph, it needs reworking but it can be useful in select situations.

It attempts to detect the positive and negative movements in the value and mark the change of the value per hour, the value change per period of change, and the duration of the period of change.

Changed the log_window_size option will help tune results depending on the log size and granularity required.

rate_of_change_graph

Graphical

picture bar

A bar graph using pictures, this takes an image (pic_to_use=flower.png) and divides it into three sections repeating or stretching the middle section to fill the bar. These are set with top_cut_location and bottom_cut_location which are the amount of pixels down from the top.

use_val_set= day average 
             day min
             day max 
             day range
             last

middle_method = repeat
                stretch  

picture_bar_graph

Clone this wiki locally