# HOW İS MAKE KİBANA METRİC TRENDS?

**URL:** <https://discuss.elastic.co/t/how-is-make-kibana-metric-trends/210083>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [December 1, 2019, 8:04pm UTC](https://discuss.elastic.co/t/how-is-make-kibana-metric-trends/210083 "2019-12-01T20:04:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tims](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tims/32/46750_2.png) [@tims](https://discuss.elastic.co/u/tims)\
**Post date:** [December 2, 2019, 5:50pm UTC](https://discuss.elastic.co/t/how-is-make-kibana-metric-trends/210083/2 "2019-12-02T17:50:46Z")

</div>

Hi @mr_searchng, you can do something like this using Canvas. You can set colors and images based on conditions. Here is an example:

> [@Problem dynamically render image in canvas](https://discuss.elastic.co/t/problem-dynamically-render-image-in-canvas/196266):
>
> Hi all, I'm new with canvas expression language, so probably my question is trivial: I'm trying to dinamically render an image in a canvas using switch statement, but I've got this error: [Immagine] Here my code: filters | essql query="SELECT value FROM \"dummydata\" as Value ORDER BY timestamp DESC LIMIT 1" | math "value" | revealImage origin="bottom" image={asset | switch {case if={compare eq to=1} then="asset-408ac6c1-42d8-4ce5-87f3-7bf90bc26a6d"} {case if={com…

---

_[View the full topic](https://discuss.elastic.co/t/how-is-make-kibana-metric-trends/210083)._
