This commit is contained in:
2026-04-01 17:37:19 +00:00
parent 8d7d99d749
commit 259ea93479
21 changed files with 2900 additions and 436 deletions

View File

@@ -59,10 +59,11 @@ async function create_tv() {
secondsVisible: true // Optional: show seconds
},
rightPriceScale: {
visible: true
visible: true,
autoScale: true
},
leftPriceScale: {
visible: true
visible: true
},
layout: {
@@ -102,10 +103,12 @@ async function create_tv() {
window.lineSeries_c = chart.addSeries(LightweightCharts.LineSeries, {
color: '#ea0707',
priceScaleId: 'left',
priceRange: {
minValue: 0,
maxValue: 1
},
autoscaleInfoProvider: () => ({
priceRange: {
minValue: 0.0,
maxValue: 1.0
}
})
// topColor: '#94fcdf',
// bottomColor: 'rgba(112, 171, 249, 0.28)',
// invertFilledArea: false