# How to create a linegraph chart with different "dot" colors based on column values

**URL:** <https://discuss.elastic.co/t/how-to-create-a-linegraph-chart-with-different-dot-colors-based-on-column-values/230738>\
**Category:** Kibana\
**Created:** [May 1, 2020, 4:49pm UTC](https://discuss.elastic.co/t/how-to-create-a-linegraph-chart-with-different-dot-colors-based-on-column-values/230738 "2020-05-01T16:49:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenet\_testuser1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tenet_testuser1/32/67526_2.png) [@tenet\_testuser1](https://discuss.elastic.co/u/tenet_testuser1)\
**Post date:** [May 1, 2020, 4:49pm UTC](https://discuss.elastic.co/t/how-to-create-a-linegraph-chart-with-different-dot-colors-based-on-column-values/230738/1 "2020-05-01T16:49:22Z")

</div>

Hi,

x-axis - time  
y-axis - my\_metric (line graph)  
y-axis - mymetric2 (dots) on the line...

I want to create a line graph where one of the columns has 3 possible values (1,2,3) and I want to show a "red", "green", "blue" dots respectively along the line.

How can I achieve this?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [May 2, 2020, 11:55pm UTC](https://discuss.elastic.co/t/how-to-create-a-linegraph-chart-with-different-dot-colors-based-on-column-values/230738/2 "2020-05-02T23:55:46Z")

</div>

Hello,  
I think the only visualizations which allow you such customizations are Canvas or Vega.

> [@tenet\_testuser1](#):
>
> a line graph where one of the columns has 3 possible values (1,2,3) and I want to show a "red", "green", "blue" dots respectively along the line.

Would it be possible to get a sketch or example of it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 30, 2020, 11:55pm UTC](https://discuss.elastic.co/t/how-to-create-a-linegraph-chart-with-different-dot-colors-based-on-column-values/230738/3 "2020-05-30T23:55:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
