# font size in vtk Charts and Plots

**URL:** https://discourse.vtk.org/t/font-size-in-vtk-charts-and-plots/2002
**Category:** Support
**Created:** [October 29, 2019, 5:54pm UTC](https://discourse.vtk.org/t/font-size-in-vtk-charts-and-plots/2002 "2019-10-29T17:54:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Zolo](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@Zolo](https://discourse.vtk.org/u/Zolo)
#### Post date: [October 29, 2019, 5:54pm UTC](https://discourse.vtk.org/t/font-size-in-vtk-charts-and-plots/2002/1 "2019-10-29T17:54:47Z")

</div>

Dear VTK users,

I have compiled both VTK-7.1.1 and VTK-8.1.2 on MacOS Catalina and both versions run smoothly and all the examples compile and run. I am using VTK at the moment to produce some 2D plots (scatter and line plots) and I also would like to create some contour plots as well. Since I am running under macOS when I run any of the Chart examples I get a Cocoa display. I can change the legend font size but is there a way to change the font size of the axis values appearing under the ticks? They do not resize when I resize the dispaly so they are really small when the chart is displayed full screen.

Thanks!

---

<div class="post-metadata">

### Author: ![Zolo](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/z/4af34b/32.png) [@Zolo](https://discourse.vtk.org/u/Zolo)
#### Post date: [November 3, 2019, 8:42am UTC](https://discourse.vtk.org/t/font-size-in-vtk-charts-and-plots/2002/2 "2019-11-03T08:42:27Z")

</div>

alright! changing the font sieze is actually relativly easy! 🙂  
chart-\>GetAxis(vtkAxis::BOTTOM)-\>GetLabelProperties()-\>SetFontSize(32)

This makes the disaply easier to read.
