Current section
Files
Jump to
Current section
Files
lib/live_chart/line_chart/line_chart.ex
defprotocol LiveChart.LineChart do
@spec points(LiveChart.chart() | LiveChart.ColumnChart.Dataset.t()) ::
list(LiveChart.LineChart.Point.t())
def points(chart)
@spec lines(LiveChart.chart() | LiveChart.ColumnChart.Dataset.t()) ::
list(LiveChart.LineChart.Line.t())
def lines(chart)
end