View Source Luminous.Components (luminous v2.6.1)

Phoenix function components for visualizing a dashboard and its constituent components.

Link to this section Summary

Functions

The dashboard component is responsible for rendering all the necessary elements

This component is responsible for rendering a Panel by rendering all the common panel elements and then delegating the rendering to the concrete Panel

This component is responsible for setting up various dashboard prerequisites

This component is responsible for rendering the Luminous.TimeRange 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

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

attributes

Attributes

  • dashboard (:map) (required)

This component is responsible for rendering a Panel by rendering all the common panel elements and then delegating the rendering to the concrete Panel

attributes

Attributes

  • panel (:map) (required)
  • dashboard (:map) (required)

This component is responsible for setting up various dashboard prerequisites

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

attributes

Attributes

  • dashboard (:map) (required)

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

attributes

Attributes

  • variable (:map) (required)