defmodule PyrauiWeb.DocsLive.AnimatedChartDocs do use PyrauiWeb, :html def render(assigns) do ~H"""
Animated Chart component with smooth transitions when data changes.
<.animated_chart type={:line} data={@chart_data} labels={@labels} />
| Prop | Type | Default | Description |
|---|---|---|---|
| type | atom | - | Chart type (:line, :bar, :area) |
| duration | integer | 1000 | Animation duration in milliseconds |