# `Jido.Chat.Card.ChartData`
[🔗](https://github.com/agentjido/jido_chat/blob/v1.2.0/lib/jido/chat/card/chart_data.ex#L1)

One provider-neutral data point in a canonical card chart.

# `input`

```elixir
@type input() :: t() | map() | {String.t(), number()}
```

# `t`

```elixir
@type t() :: %Jido.Chat.Card.ChartData{
  label: binary(),
  metadata: map(),
  series: nil | nil | binary(),
  value: number()
}
```

# `from_map`

```elixir
@spec from_map(map()) :: t()
```

Builds chart data from serialized data.

# `new`

```elixir
@spec new(input()) :: t()
```

Creates a chart data point.

# `schema`

Returns the schema for chart data.

# `to_map`

```elixir
@spec to_map(t()) :: map()
```

Serializes the chart data point.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
