mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
864 B
864 B
Logarithmic Axis
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)!!!
Tick Configuration
Logarithmic Axis specific options
Namespace: options.scales[scaleId].ticks
Name | Type | Default | Description |
---|---|---|---|
format |
object |
The Intl.NumberFormat options used by the default label formatter |
!!!include(axes/cartesian/_common_ticks.md)!!!
!!!include(axes/_common_ticks.md)!!!
Internal data format
Internally, the logarithmic scale uses numeric data.