Skip to content

TrendHubLayer

trendminer_interface.objects.TrendHubLayer

Configuration for a TrendHub layer

A layer itself does not directly specify a time interval. What time interval a layer refers to is determined by the properties (live, locked) of the TrendHub view it is attached to.

Attributes:

Name Type Description
name str

Name of the layer, displayed in TrendHub

hidden_references list[Tag | Attribute]

List of tags and attributes that are hidden in the layer.

name instance-attribute

name: str = name

hidden_references instance-attribute

hidden_references: list[Tag | Attribute] = hidden_references

stored_interval property

stored_interval: Interval

The interval as configured when the view was saved.

This is NOT the interval currently represented by the layer for live views. The stored interval does not update.

base property

base: bool

Whether the layer is a base layer or an additional layer

line_style property writable

line_style: LineStyle

The line style of the layer

visible property writable

visible: bool

Whether the layer is visible in the view