# Vega-Lite: x-axis title not displayed on chart with generated data and fold transform

**URL:** <https://talk.observablehq.com/t/vega-lite-x-axis-title-not-displayed-on-chart-with-generated-data-and-fold-transform/4499>\
**Category:** Help\
**Created:** [January 22, 2021, 4:50am UTC](https://talk.observablehq.com/t/vega-lite-x-axis-title-not-displayed-on-chart-with-generated-data-and-fold-transform/4499 "2021-01-22T04:50:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarioDelgadoSr](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mariodelgadosr/32/1828_2.png) [@MarioDelgadoSr](https://talk.observablehq.com/u/MarioDelgadoSr)\
**Post date:** [January 22, 2021, 4:50am UTC](https://talk.observablehq.com/t/vega-lite-x-axis-title-not-displayed-on-chart-with-generated-data-and-fold-transform/4499/1 "2021-01-22T04:50:41Z")

</div>

The second chart in notebook [Vega-Lite Chart Visualization of the Sin Function’s Taylor Series](https://observablehq.com/@mariodelgadosr/vega-lite-chart-visualization-of-the-sin-functions-taylor-s) is not displaying its title.

It appears related to the fold transform and updating of the view with Vega’s change method.

Any ideas or workarounds?

---

<div class="post-metadata">

**Author:** ![MarioDelgadoSr](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mariodelgadosr/32/1828_2.png) [@MarioDelgadoSr](https://talk.observablehq.com/u/MarioDelgadoSr)\
**Post date:** [January 23, 2021, 12:29pm UTC](https://talk.observablehq.com/t/vega-lite-x-axis-title-not-displayed-on-chart-with-generated-data-and-fold-transform/4499/2 "2021-01-23T12:29:01Z")

</div>

Solution: Stabilize quantitative axis that are being updated via a dynamic stream of data.

The issue can best be illustrated with the following notebook from the Vega-Lite tutorial:  
[Vega-Lite with Streaming Data Updates](https://observablehq.com/@vega/vega-lite-with-streaming-data-updates).

- The encoding for the x channel in the notebook is ordinal; because it is a bar chart:

- Making it quantitative (to illustrate the problem) will remove the x axis title, only when it is dynamically updated:

- Solution is to stabilize the scale for quantitative encodings:
