Comments (1)
It is likely that the default styles defined by the Firefox browser are different for the body
element such that it is not filling the screen as you expect.
The autosize
option in Lightweight Charts attempts to fill the size of the containing element, which in your example is the body
element. So to fix this issue, you can define some css for the body element to be size you expect.
Here is an example: https://glitch.com/edit/#!/moored-daily-haumea
It is good to specify the height
and width
properties anyway as mentioned here in the docs for autosize
:
https://tradingview.github.io/lightweight-charts/docs/api/interfaces/ChartOptionsBase#autosize
from lightweight-charts.
Related Issues (20)
- Line gaps not working in version 4.2 but work in version 3.8 HOT 1
- Best way to detachPrimitive and remove markers HOT 2
- setVisibleLogicalRange doesn't work inside subscribeSizeChange callback
- Improve error message for: Error: Value is null at ensureNotNull (lightweight-charts.development.mjs:205:15) HOT 18
- Allow AREA series to be "infinite" horizontally ( like price lines ) HOT 2
- Realign marker text if cut by fixed edge
- Line Break in a marker Text HOT 2
- Uncaught TypeError TypeError: Cannot read properties of undefined (reading '_internal_state') HOT 1
- The curve and time axis jitter when moving left HOT 5
- Series title obfuscates the chart line HOT 2
- Delta Tooltip Plugin HOT 1
- Build is broken: Puppeteer download URL access denied HOT 2
- missing very small numbers HOT 8
- Optimize the algorithm for curved line
- No possibility to install as github dependency. Postinstall hook is missed. HOT 1
- Unable to display the real-time price of priceLine on the price axis HOT 3
- How to add floating data info (OHLCV) on corner for the hovored day ? HOT 2
- Is it possible to real-time update chart per minute and not per day? HOT 1
- Is it possible to show weekly data, depending on daily data ? HOT 2
- Issue with Weight Calculation for Second Rendered Label on Time Axis HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightweight-charts.