text: Title: Chart title property should be dynamic
  Body: ### What went wrong? 🤔
  
  Updating dynamically the title property of a chart visual element does not work. Here is an example where I try to change the title of a chart using a button. Pressing the button should change the title but does nothing.
  
  ```python
  import pandas as pd
  
  import taipy.gui.builder as tgb
  from taipy.gui import Gui
  
  data = pd.DataFrame({"Product": ["Shovel", "Rake", "Hoe"], "Price": [10, 5, 7]})
  
  title = "Undefined"
  
  
  def update_title(state):
      state.title = "Price of Gardening Tools"
  
  
  with tgb.Page() as page:
      tgb.button("Update Title", on_action=update_title)
      tgb.chart(data="{data}", title="{title}")
  
  Gui(page).run()
  ```
  
  Using layout is a workaround:
  ```python
  import pandas as pd
  
  import taipy.gui.builder as tgb
  from taipy.gui import Gui
  
  data = pd.DataFrame({"Product": ["Shovel", "Rake", "Hoe"], "Price": [10, 5, 7]})
  
  layout = {"title": "Undefined"}
  
  
  def update_title(state):
      state.layout = {"title": "Price of Gardening Tools"}
  
  
  with tgb.Page() as page:
      tgb.button("Update Title", on_action=update_title)
      tgb.chart(data="{data}", layout="{layout}")
  
  Gui(page).run()
  ```
  
  ![image](https://github.com/user-attachments/assets/4ea21037-5e6e-4a24-a6b1-33a390444a27)
  
  
  ### Runtime Environment
  
  Windows 11
  
  ### Browsers
  
  Chrome
  
  ### OS
  
  Windows
  
  ### Version of Taipy
  
  4.0.2
  
  ### Acceptance Criteria
  
  - [ ] A unit test reproducing the bug is added.
  - [ ] Any new code is covered by a unit tested.
  - [ ] Check code coverage is at least 90%.
  - [ ] The bug reporter validated the fix.
  - [ ] Related issue(s) in taipy-doc are created for documentation and Release Notes are updated.
  
  
  ### Code of Conduct
  
  - [X] I have checked the [existing issues](https://github.com/Avaiga/taipy/issues?q=is%3Aissue+).
  - [ ] I am willing to work on this issue (optional)