You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var URL = 'https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.historicaldata%20where%20symbol%20in%20(%22GOOG%22)%20and%20startDate%20%3D%20%222016-01-01%22%20and%20endDate%20%3D%20%222016-09-30%22%0A%09%09&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback='
12
+
13
+
Plotly.d3.json(URL, (err, resp) => {
14
+
if(err) console.log(err)
15
+
16
+
var data = formatData(resp)
17
+
18
+
var layout = {
19
+
title: 'GOOG',
20
+
xaxis: {
21
+
range: [new Date(2016, 8, 1), new Date(2016, 8, 31)].map(toMS),
Copy file name to clipboardExpand all lines: _posts/plotly_js/candlestick-charts/2015-08-15-candlestick_index.html
-11Lines changed: 0 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,5 @@
12
12
order: 1
13
13
---
14
14
15
-
<divclass="tipbox row">
16
-
17
-
<h4class="centered">
18
-
Please note that the inclusion of the Plotly Finance javascript library is necessary when making candlestick charts.
19
-
</h4>
20
-
<aclass="centered" href="https://github.com/etpinard/plotlyjs-finance">Click here to view the PlotlyFinance repository.</a><br>
21
-
<aclass="centered" href="https://raw.githubusercontent.com/etpinard/plotlyjs-finance/master/plotlyjs-finance.js">Click here to view the PlotlyFinance source code.</a>
0 commit comments