# Trellis change font color of the row labels

**URL:** https://discuss.elastic.co/t/trellis-change-font-color-of-the-row-labels/209644
**Category:** Kibana
**Tags:** vega
**Created:** [November 27, 2019, 9:38am UTC](https://discuss.elastic.co/t/trellis-change-font-color-of-the-row-labels/209644 "2019-11-27T09:38:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kilianten](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@kilianten](https://discuss.elastic.co/u/kilianten)
#### Post date: [November 27, 2019, 9:38am UTC](https://discuss.elastic.co/t/trellis-change-font-color-of-the-row-labels/209644/1 "2019-11-27T09:38:01Z")

</div>

Hey! Im building a vega diagram using something similar to this trellis example:

> **[Trellis Bar Chart](https://vega.github.io/vega-lite/examples/trellis_bar.html)**
>
> A trellis bar chart showing the US population distribution of age groups and gender in 2000.

Its split by row and I can't change the font color of (in the example above gender & male feminine)

I was hoping  
"row": {"field": "gender", "type": "nominal", "titlecolor"/"labelcolor":"white"},  
would work but it doesnt seem to!

Help would be appreciated.

---

<div class="post-metadata">

### Author: ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)
#### Post date: [November 28, 2019, 8:00am UTC](https://discuss.elastic.co/t/trellis-change-font-color-of-the-row-labels/209644/2 "2019-11-28T08:00:35Z")

</div>

Hi

I guess you don't want to show those labels? Try the following:  
`"row": {"field": "gender", "type": "nominal", "header": { "labels": false}},`

hope this helps,  
best,  
Matthias

---

<div class="post-metadata">

### Author: ![kilianten](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@kilianten](https://discuss.elastic.co/u/kilianten)
#### Post date: [November 28, 2019, 10:03am UTC](https://discuss.elastic.co/t/trellis-change-font-color-of-the-row-labels/209644/3 "2019-11-28T10:03:44Z")

</div>

Sorry, not exactly. I want those labels, but I want to change the colour from black! But yup, it helped, didnt know the tag was "header". Issue fixed.

"header":{titleColor:"white", labelColor:"white"}

Thanks Matthias!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 26, 2019, 10:03am UTC](https://discuss.elastic.co/t/trellis-change-font-color-of-the-row-labels/209644/4 "2019-12-26T10:03:49Z")

</div>

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