View Source Luminous.Query.Attributes (luminous v1.2.0)

This struct collects all the attributes that apply to a particular Dataset. It is specified in the attrs argument of Luminous.Query.Result.new/2.

Link to this section Summary

Link to this section Types

@type t() :: %Luminous.Query.Attributes{
  fill: boolean(),
  halign: :left | :center | :right,
  order: non_neg_integer() | nil,
  title: binary(),
  type: :line | :bar,
  unit: binary()
}

Link to this section Functions

@spec define() :: t()
@spec define(Keyword.t()) :: t()