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
Lightweight Charts Version: 3.5.0
Steps/code to reproduce:
import { BarData, createChart } from "lightweight-charts"; const chartRoot = document.getElementById("main-chart") as HTMLDivElement; const chart = createChart(chartRoot, { width: 800, height: 600 }); const precision = 10; const candlestick = chart.addCandlestickSeries({ priceFormat: { type: "price", minMove: Math.pow(10, -precision), precision: precision } }); const barData: BarData[] = [ { time: "2021-09-09", open: Math.pow(10, -precision), high: Math.pow(10, -precision), low: Math.pow(10, -precision), close: Math.pow(10, -precision) } ]; candlestick.setData(barData);
Actual behavior:
price axis dissapear
Expected behavior:
price shouldn't dissapear
Screenshots:
This on precision 10
This on precision 9
CodeSandbox/JSFiddle/etc link:
The text was updated successfully, but these errors were encountered:
Increased min price tick mark step up to 1e-14 (from 1e-9)
4c2aaf2
Fixes #841
timocov
Successfully merging a pull request may close this issue.
Lightweight Charts Version: 3.5.0
Steps/code to reproduce:
Actual behavior:
price axis dissapear
Expected behavior:
price shouldn't dissapear
Screenshots:
This on precision 10
This on precision 9
CodeSandbox/JSFiddle/etc link:
The text was updated successfully, but these errors were encountered: