Skip to content
New issue

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

Create candlestick series not working in v 3.1.2 #521

Closed
nakcyber opened this issue Jul 9, 2020 · 2 comments
Closed

Create candlestick series not working in v 3.1.2 #521

nakcyber opened this issue Jul 9, 2020 · 2 comments

Comments

@nakcyber
Copy link

nakcyber commented Jul 9, 2020

Hi, lightweight-charts team
I try to create candlestick series in lightweight-charts v.3.1.2,
I found an error in console Uncaught Error: Value is null

image

Lightweight Charts Version: 3.1.2

Actual behavior: Show Uncaught Error: Value is null;

Expected behavior: Don't show Uncaught Error: Value is null;

CodeSandbox/JSFiddle/etc link: https://jsfiddle.net/cyberdev1992/2vadx735/12/

@timocov
Copy link
Contributor

timocov commented Jul 9, 2020

              { time: '2019-04-21', open: 131.33, high: 151.17, low: 77.68, close: 96.43 },
              { time: '2019-04-21', open: 106.33, high: 110.20, low: 90.39, close: 98.10 },

You have 2 points with the same time, that's the reason.

@timocov timocov closed this as completed Jul 9, 2020
@timocov
Copy link
Contributor

timocov commented Jul 9, 2020

We'll improve our error handling in #315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants