We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There seems to be an error when specifying the open/close/low/high properties of a candlestick trace with typed arrays:
open
close
low
high
candlestick
Versions: Confirmed on 1.42.5 and current master (9bbe295) CodePen: https://codepen.io/jonmmease/pen/ebZVyp Example:
var trace1 = { x: ['2017-01-04', '2017-01-05', '2017-01-06'], type: 'candlestick', // Works fine with standard arrays // close: [116.019997, 116.610001, 117.910004], // high: [116.510002, 116.860001, 118.160004], // low: [115.75, 115.809998, 116.470001], // open: [115.849998, 115.919998, 116.779999], // Fails with typed arrays close: new Float32Array([116.019997, 116.610001, 117.910004]), high: new Float32Array([116.510002, 116.860001, 118.160004]), low: new Float32Array([115.75, 115.809998, 116.470001]), open: new Float32Array([115.849998, 115.919998, 116.779999]), }; var data = [trace1]; Plotly.plot('plotly-div', data);
Expected Result:
Result: No plot is displayed and this error occurs in the JS console
The text was updated successfully, but these errors were encountered:
3141c47
Merge pull request #3342 from plotly/finance-typed-arrays
fdafdb9
fix #3339 - typed arrays support for ohlc / candlestick traces
No branches or pull requests
There seems to be an error when specifying the
open
/close
/low
/high
properties of acandlestick
trace with typed arrays:Versions: Confirmed on 1.42.5 and current master (9bbe295)
CodePen: https://codepen.io/jonmmease/pen/ebZVyp
Example:
Expected Result:

Result:

No plot is displayed and this error occurs in the JS console
The text was updated successfully, but these errors were encountered: