Current section
Files
Jump to
Current section
Files
lib/live_chart/axes/base_axes.ex
defmodule LiveChart.Axes.BaseAxes do
@moduledoc """
Exposes a struct representing configuration for axes on LiveCharts.
"""
defstruct [:magnitude_axis, :x, :y, show_gridlines: true]
@type t() :: %__MODULE__{
magnitude_axis: LiveChart.Axes.MagnitudeAxis.t() | nil,
x: LiveChart.Axes.MagnitudeAxis.t() | nil,
y: LiveChart.Axes.MagnitudeAxis.t() | nil,
show_gridlines: boolean()
}
end