# Is it possible to change default color bar and color by options in the VTU file?

**URL:** https://discourse.paraview.org/t/is-it-possible-to-change-default-color-bar-and-color-by-options-in-the-vtu-file/8325
**Category:** Web Support
**Created:** [November 4, 2021, 4:13pm UTC](https://discourse.paraview.org/t/is-it-possible-to-change-default-color-bar-and-color-by-options-in-the-vtu-file/8325 "2021-11-04T16:13:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![feacluster](https://discourse.paraview.org/user_avatar/discourse.paraview.org/feacluster/32/7856_2.png) [@feacluster](https://discourse.paraview.org/u/feacluster)
#### Post date: [November 4, 2021, 4:13pm UTC](https://discourse.paraview.org/t/is-it-possible-to-change-default-color-bar-and-color-by-options-in-the-vtu-file/8325/1 "2021-11-04T16:13:15Z")

</div>

I would like the VTU file to set the color bar to “Paraview → Rainbow” and set the the “Color By:” to some dataset in the file.

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [November 4, 2021, 4:25pm UTC](https://discourse.paraview.org/t/is-it-possible-to-change-default-color-bar-and-color-by-options-in-the-vtu-file/8325/2 "2021-11-04T16:25:17Z")

</div>

A dataset can not specify how it should be seen. But if you are talking about ParaView Glance, you can export a `*.glance` file which can capture the application state and therefore how each field should be rendered. Please look for previous posts on that subject as many information have been share on how to reference a remote dataset rather than embedding it in the file.
