Logarithmic axis
ProA line chart with a logarithmic y-axis for values spanning several orders of magnitude.
Illustration — rendered output uses live data.
Example
blade
<chart:line-log
:series="[['name' => 'Users', 'data' => [1, 10, 100, 1000, 10000]]]"
:categories="['2018', '2019', '2020', '2021', '2022']"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| series | array | [] | Series objects or a flat list of numbers. |
| categories | array | [] | Labels for the x-axis. |
| logBase | int | 10 | Logarithm base. |
| legend | bool | true | Show the series legend. |
Plus the common props (height, theme, model, class).
This is a Pro component
Unlock it and every other Pro chart with a one-time license.
Get WireCharts Pro