# Dashboard line chart PLUS bullets possible?

**URL:** <https://discourse.nodered.org/t/dashboard-line-chart-plus-bullets-possible/51500>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [25 September 2021 08:13 UTC](https://discourse.nodered.org/t/dashboard-line-chart-plus-bullets-possible/51500 "2021-09-25T08:13:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![metter](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@metter](https://discourse.nodered.org/u/metter)\
**Post date:** [25 September 2021 08:13 UTC](https://discourse.nodered.org/t/dashboard-line-chart-plus-bullets-possible/51500/1 "2021-09-25T08:13:02Z")

</div>

I have a line graph chart in my dashboard, where X is a timestamp series.  
It display 4 graph lines with 800 datapoints.

```auto
var j=0;
var i=0;
var dataarray = [[],[],[],[]];

for (i = 800; i >= 0; i--) {

     dataarray[0][i] = {"x":global.get("market.data["+j+"].timestamp"),"y":global.get("market.data["+j+"].close")};
     dataarray[1][i] = {"x":global.get("market.data["+j+"].timestamp"),"y":global.get("market.data["+j+"].MFA_short")};
     dataarray[2][i] = {"x":global.get("market.data["+j+"].timestamp"),"y":global.get("market.data["+j+"].MFA_long")};
     dataarray[3][i] = {"x":global.get("market.data["+j+"].timestamp"),"y":global.get("market.data["+j+"].MFA_40")};
     j++;
}

var chart = [{
    "series":["close","MFA_short","MFA_long", "MFA_40"],
    "data":dataarray,
    "labels":[""]
}];

msg.payload = chart;
msg.topic = "test";

return msg;

```

I also have an array of 40 additional timestamps as a second set of data with no corresponding Y values:

```auto
[1632552397900,1632551497602,1632540996402, ...]

```

Is it possible to mark these timestamp positions on the existing graph with a bullet or vertical line or something else entirely, that mark those moments visually?

---

<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:** [25 October 2021 08:13 UTC](https://discourse.nodered.org/t/dashboard-line-chart-plus-bullets-possible/51500/2 "2021-10-25T08:13:35Z")

</div>

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