Chart.js/docs/axes/cartesian/logarithmic.md

28 lines
864 B
Markdown
Raw Normal View History

# Logarithmic Axis
2020-11-16 21:05:29 +01:00
The logarithmic scale is used to chart numerical data. It can be placed on either the x or y-axis. As the name suggests, logarithmic interpolation is used to determine where a value lies on the axis.
## Configuration Options
!!!include(axes/cartesian/_common.md)!!!
!!!include(axes/_common.md)!!!
2020-11-16 21:05:29 +01:00
## Tick Configuration
### Logarithmic Axis specific options
2022-09-28 06:54:58 +02:00
Namespace: `options.scales[scaleId].ticks`
2020-11-16 21:05:29 +01:00
| Name | Type | Default | Description
| ---- | ---- | ------- | -----------
| `format` | `object` | | The [`Intl.NumberFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat) options used by the default label formatter
!!!include(axes/cartesian/_common_ticks.md)!!!
!!!include(axes/_common_ticks.md)!!!
2020-11-16 21:05:29 +01:00
## Internal data format
Internally, the logarithmic scale uses numeric data.