# Graph for two variable on x and y-axis

**URL:** <https://discourse.nodered.org/t/graph-for-two-variable-on-x-and-y-axis/35287>\
**Category:** Dashboard\
**Created:** [3 November 2020 15:20 UTC](https://discourse.nodered.org/t/graph-for-two-variable-on-x-and-y-axis/35287 "2020-11-03T15:20:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![usmanEmder](https://avatars.discourse-cdn.com/v4/letter/u/977dab/32.png) [@usmanEmder](https://discourse.nodered.org/u/usmanEmder)\
**Post date:** [3 November 2020 15:20 UTC](https://discourse.nodered.org/t/graph-for-two-variable-on-x-and-y-axis/35287/1 "2020-11-03T15:20:26Z")

</div>

I have two variables and I want to put on variable on the x-axis and the 2nd variable on the y-axis. to show the relationship between them. But in the dashboard chart x-axis contain time data (As shown in the attachment picture). how can I add there another variable and generate a line graph between two variables to show their relationship?

 ![chart](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/c/1cc0e24b92bb30be763029fd2627a9f6fcf5de09.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 December 2020 15:20 UTC](https://discourse.nodered.org/t/graph-for-two-variable-on-x-and-y-axis/35287/2 "2020-12-03T15:20:31Z")

</div>

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