Uncharted.ProgressChart.Dataset (uncharted v0.2.0) View Source

Exposes a struct representing a data set that drives a Uncharted Progress Chart.

Link to this section Summary

Link to this section Types

Specs

t() :: %Uncharted.ProgressChart.Dataset{
  background_stroke_color: color(),
  current_value: number(),
  label: String.t() | nil,
  label_fill_color: color(),
  percentage_fill_color: color(),
  percentage_text_fill_color: color(),
  secondary_label: String.t() | nil,
  to_value: number()
}