View Source Luminous.Components (luminous v1.3.0)

This module contains a set of components that can be used to create a dashboard.

Link to this section Summary

Functions

The dashboard component is responsible for rendering all the necessary elements

Attributes

This component registers the JS event listeners for the panel spinners.

This component is responsible for rendering the panel's data. Depending on the panel's type, there will be a different visualization.

Attributes

  • stats (:map) (required)

This component is responsible for rendering the time range component. It consists of a date range picker and a presets dropdown.

This component is responsible for rendering the dropdown of the assigned variable.

Link to this section Functions

The dashboard component is responsible for rendering all the necessary elements:

  • title
  • variables
  • time range selector
  • panels

Additinally, it registers callbacks for reacting to panel loading states.

attributes

Attributes

attributes

Attributes

This component registers the JS event listeners for the panel spinners.

This component is responsible for rendering the panel's data. Depending on the panel's type, there will be a different visualization.

attributes

Attributes

Link to this function

panel_statistics(assigns)

View Source

attributes

Attributes

  • stats (:map) (required)

This component is responsible for rendering the time range component. It consists of a date range picker and a presets dropdown.

attributes

Attributes

This component is responsible for rendering the dropdown of the assigned variable.

attributes

Attributes