All fixtures · From the Format page · format/78-chart-log-toggle.dh.md
Source
---
title: "Chart log and linear switch"
description: A sample of the chart features of format version 11.
---
## Chart log and linear switch
The reader can switch the y axis between log and linear.
```chart
kind: line
x: { label: year, values: [2020, 2021, 2022, 2023] }
y: { label: requests, scale: log, toggle: true }
series:
- name: Web
data: [1200, 8100, 61000, 410000]
- name: Batch
data: [30, 70, 150, 400]
```
LLM view
---
title: "Chart log and linear switch"
description: A sample of the chart features of format version 11.
source: format/78-chart-log-toggle.dh.md
---
<!-- Made by dh llm from the source; nobody edits this file. -->
## Chart log and linear switch
The reader can switch the y axis between log and linear.
Chart (line)
The reader can switch the y axis between log and linear; it starts as log.
Log scale on y.
| year | Web | Batch |
| --- | --- | --- |
| 2020 | 1200 | 30 |
| 2021 | 8100 | 70 |
| 2022 | 61000 | 150 |
| 2023 | 410000 | 400 |Chart log and linear switch
The reader can switch the y axis between log and linear.
Axis scale
Show the numbers as a table
| year | Web | Batch |
|---|---|---|
| 2020 | 1,200 | 30 |
| 2021 | 8,100 | 70 |
| 2022 | 61,000 | 150 |
| 2023 | 410,000 | 400 |