# How to change the color of the axis values?

**URL:** <https://discourse.nodered.org/t/how-to-change-the-color-of-the-axis-values/29444>\
**Category:** Dashboard\
**Created:** [3 July 2020 13:51 UTC](https://discourse.nodered.org/t/how-to-change-the-color-of-the-axis-values/29444 "2020-07-03T13:51:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)\
**Post date:** [3 July 2020 13:51 UTC](https://discourse.nodered.org/t/how-to-change-the-color-of-the-axis-values/29444/1 "2020-07-03T13:51:13Z")

</div>

Hello i'm trying to cahnge the number in the axis of the chart to black. I've tried this:

```auto
msg.ui_control = {options: {
        scales: {
            yAxes: [{
                ticks: {
                    fontColor: 'black'
                },
            }],
          xAxes: [{
                ticks: {
                    fontColor: 'black'
                },
            }]
        } 

    }}

```

but it didn't work.... any ideas?

---

<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:** [2 August 2020 13:51 UTC](https://discourse.nodered.org/t/how-to-change-the-color-of-the-axis-values/29444/2 "2020-08-02T13:51:18Z")

</div>

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