# Augment the "font-size" value for labels in diagrams

**URL:** https://discuss.elastic.co/t/augment-the-font-size-value-for-labels-in-diagrams/140668
**Category:** Kibana
**Created:** [July 19, 2018, 7:16am UTC](https://discuss.elastic.co/t/augment-the-font-size-value-for-labels-in-diagrams/140668 "2018-07-19T07:16:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jawhar\_Mbarek](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@Jawhar\_Mbarek](https://discuss.elastic.co/u/Jawhar_Mbarek)
#### Post date: [July 19, 2018, 7:16am UTC](https://discuss.elastic.co/t/augment-the-font-size-value-for-labels-in-diagrams/140668/1 "2018-07-19T07:16:22Z")

</div>

**the needed feature:**

Please can Someone provide me with a Plugin or solution to configure the font-size labels for the diagrams.

**a specific use case for the feature:**

The labels on the X, Y axes look very small, and I need to increase the "font-size" value in the commons.style.css , I'm struggling following the CONTRIBUTING.md to change the code and rebuild Kibana and I can't find a clear guidline how to do it.

```
.label-text {
  font-size: 200%;
  font-weight: normal;
}
```

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [July 19, 2018, 9:47pm UTC](https://discuss.elastic.co/t/augment-the-font-size-value-for-labels-in-diagrams/140668/2 "2018-07-19T21:47:09Z")

</div>

The source for that selector is at [https://github.com/elastic/kibana/blob/master/src/ui/public/vislib/styles/\_layout.less#L259](https://github.com/elastic/kibana/blob/master/src/ui/public/vislib/styles/_layout.less#L259), and it will get compiled into common.style.css when the server starts next.

[How to apply custom css in Kibana UI](https://discuss.elastic.co/t/how-to-apply-custom-css-in-kibana-ui/37434/5) has an example of a plugin that modifies css that can be used as a reference if you want to go that route.

---

<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: [August 16, 2018, 9:51pm UTC](https://discuss.elastic.co/t/augment-the-font-size-value-for-labels-in-diagrams/140668/3 "2018-08-16T21:51:26Z")

</div>

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