-
-
Notifications
You must be signed in to change notification settings - Fork 910
[Bug] Y-axis does not scale properly for numbers <0.01 #783
Copy link
Copy link
Open
Description
Version
9.6.0
Steps to Reproduce
I created a chart like this:
// Initialize new chart
chart = klinecharts.init('kline-container');
// Set style options
chart.setStyles({
grid: {
show: true,
horizontal: {
show: true,
size: 1,
color: '#EDEDED'
},
vertical: {
show: true,
size: 1,
color: '#EDEDED'
}
}
});
return chart;and then I used chart.applyNewData(candles); with valid OHLC candles that have prices in the 0.00000894 - 0.00001232 range (inverted BTC/USD price).
Current Behavior
Does not automatically zoom in when plotted, and requires manual zooming through multiple orders of magnitude to view the data.
Expected Behavior
(This is manually zoomed in, note that the values on the Y-axis are still zero rather than values like 0.00001232 or 1.23e-5)
Environment
- OS: Linux Mint 22.1
- Browser: Firefox
- Framework: Native JSAny additional comments?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels