Uncharted.BaseChart (uncharted v0.2.0) View Source

This is the base chart implementation of the Chart protocol, and should be sufficient for most simple charting needs. Specific charts implement further protocols in the respective base_chart_impl.ex file within the chart type's folder.

Link to this section Summary

Link to this section Types

Specs

t() :: %Uncharted.BaseChart{
  colors: %{required(color_name()) => String.t() | Gradient.t()},
  dataset: Uncharted.dataset(),
  title: String.t()
}