# Chart Log Axis Configuration

**URL:** <https://discourse.nodered.org/t/chart-log-axis-configuration/96734>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, chart\
**Created:** [24 April 2025 06:03 UTC](https://discourse.nodered.org/t/chart-log-axis-configuration/96734 "2025-04-24T06:03:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elegant\_dijkstra](https://avatars.discourse-cdn.com/v4/letter/e/b3f665/32.png) [@elegant\_dijkstra](https://discourse.nodered.org/u/elegant_dijkstra)\
**Post date:** [24 April 2025 06:03 UTC](https://discourse.nodered.org/t/chart-log-axis-configuration/96734/1 "2025-04-24T06:03:52Z")

</div>

Hello to everyone,  
does anyone know of a way to set the number formatting on a log axis to avoid this issue?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/1/e1df0e1abc866af6f5b767c8666ad493fa8a5323.png)

It seems the chart does only accept a small subset of the Chart.js configuration options.

```auto
yAxes: [{
    type: 'logarithmic',
        ticks: {
            max: 1e-3,
            min: 1e-6,
        }
}]

```

I found some suggestions to use a callback to format the values, but that doesn't seem to have any effect either.

Regards

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 May 2025 06:04 UTC](https://discourse.nodered.org/t/chart-log-axis-configuration/96734/2 "2025-05-24T06:04:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
