View Source LiveCharts.Components (live_charts v0.4.0)
Summary
Functions
Render a chart in LiveView.
Push an update event on the LiveView socket to update chart data.
Functions
@spec chart(map()) :: Phoenix.LiveView.Rendered.t()
Render a chart in LiveView.
Attributes
chart
(LiveCharts.Chart
) (required) - A%LiveCharts.Chart{}
configuration.
@spec push_update(Phoenix.LiveView.Socket.t(), String.t() | LiveCharts.Chart.t(), [ LiveCharts.Chart.series() ]) :: Phoenix.LiveView.Socket.t()
Push an update event on the LiveView socket to update chart data.