Represents a card within a Lotus dashboard.
Cards can be one of several types:
:query- Displays results from a saved query with optional visualization:text- Displays markdown text content:link- Displays a clickable link:heading- Displays a section heading
Each card has a layout that determines its position and size in the dashboard's 12-column grid system.
Summary
Types
@type t() :: %Lotus.Storage.DashboardCard{ __meta__: term(), card_type: :query | :text | :link | :heading, content: map(), dashboard: Lotus.Storage.Dashboard.t() | Ecto.Association.NotLoaded.t(), dashboard_id: term(), filter_mappings: [Lotus.Storage.DashboardCardFilterMapping.t()] | Ecto.Association.NotLoaded.t(), id: term(), inserted_at: DateTime.t(), layout: Lotus.Storage.DashboardCard.Layout.t() | nil, position: non_neg_integer(), query: Lotus.Storage.Query.t() | Ecto.Association.NotLoaded.t() | nil, query_id: term() | nil, title: String.t() | nil, updated_at: DateTime.t(), visualization_config: map() | nil }