# Chart.js and candlestick charts

**URL:** https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414
**Category:** General
**Created:** [20 July 2020 19:24 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414 "2020-07-20T19:24:29Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![chuckf201](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chuckf201/32/91382_2.png) [@chuckf201](https://discourse.nodered.org/u/chuckf201)
#### Post date: [20 July 2020 19:24 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/1 "2020-07-20T19:24:29Z")

</div>

I've been looking all over the Inet for an example or tutorial for Financial candlestick charting.  
x: date, Y: open,High, low, close

Can't seem to locate any flows for this use.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [20 July 2020 20:47 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/2 "2020-07-20T20:47:12Z")

</div>

I've not got a specific example for that chart type but uibuilder does have examples in the WIKI for using Chart.js and it should be easy enough to merge that with an example from the Chart.js website.

---

<div class="post-metadata">

### Author: ![chuckf201](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chuckf201/32/91382_2.png) [@chuckf201](https://discourse.nodered.org/u/chuckf201)
#### Post date: [21 July 2020 14:48 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/3 "2020-07-21T14:48:45Z")

</div>

Thanks, I'll check it out. I didn't think it would be this hard to find full examples.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [21 July 2020 20:35 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/4 "2020-07-21T20:35:38Z")

</div>

Charting libraries are very powerful and flexible. Data is pretty much infinitely variable. So you will often find overly simplistic examples but rarely truly useful ones.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [22 July 2020 14:37 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/5 "2020-07-22T14:37:22Z")

</div>

You could always use a Plotly.js chart in a node-RED dashboard - [https://plotly.com/javascript/candlestick-charts/](https://plotly.com/javascript/candlestick-charts/)

---

<div class="post-metadata">

### Author: ![chuckf201](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chuckf201/32/91382_2.png) [@chuckf201](https://discourse.nodered.org/u/chuckf201)
#### Post date: [22 July 2020 15:05 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/6 "2020-07-22T15:05:43Z")

</div>

Agreed. But, often there is a stand-along example with 'data' embedded into final node. It would be stand-alone, sure but I can modify it in steps and an msg.payload one the final product is satisfactory.

---

<div class="post-metadata">

### Author: ![chuckf201](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chuckf201/32/91382_2.png) [@chuckf201](https://discourse.nodered.org/u/chuckf201)
#### Post date: [22 July 2020 15:06 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/7 "2020-07-22T15:06:45Z")

</div>

I did want to stay within the chart.js family but...if the example is good I will use it.

---

<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: [20 September 2020 15:07 UTC](https://discourse.nodered.org/t/chart-js-and-candlestick-charts/30414/8 "2020-09-20T15:07:06Z")

</div>

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