# Charts in OH3

**URL:** <https://community.openhab.org/t/charts-in-oh3/108549>\
**Category:** Items & Sitemaps\
**Tags:** openhab3-charts\
**Created:** [November 19, 2020, 11:51am UTC](https://community.openhab.org/t/charts-in-oh3/108549 "2020-11-19T11:51:21Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![maxmaximax](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@maxmaximax](https://community.openhab.org/u/maxmaximax)\
**Post date:** [December 27, 2020, 11:20am UTC](https://community.openhab.org/t/charts-in-oh3/108549/23 "2020-12-27T11:20:53Z")

</div>

not sure this is the right place to post this question…

I have partial success to get Grafana charts into OH3 Main UI.  
(Yes, I still prefer Grafana over the built in chart function OH3, since the Grafana charts have a much nicer look.)

In OH2 sitemap I used:

```php
Image refresh=60000 url="http://192.168.0.13:3000/render/d-solo/4OdYJNbMk/test?orgId=1&from=now-6h&to=now&panelId=2&width=1000&height=500&tz=Europe%2FVienna" visibility=[test_chart_period=="0"]

```

I managed to get the chart into Main UI with the Image card/widget.

Now I wonder:

- How to automatically refresh the image e.g. once a minute? or any other way to refresh the image?
- How to apply visibility - is there the same or similar function for OH3 Main UI?

---

_[View the full topic](https://community.openhab.org/t/charts-in-oh3/108549)._
