leeoniya / uPlot

📈 A small, fast chart for time series, lines, areas, ohlc & bars
MIT License
8.83k stars 385 forks source link

Relative % scaling doesn't work for y scales, given null #969

Open Qanpi opened 4 months ago

Qanpi commented 4 months ago

The docs reads that passing null will sync the y scale across instances by relative % position

/* sets the x and y scales to sync by values. null will sync by relative (%) position / scales?: Sync.Scales; // [xScaleKey, null]

However, adjusting the sync-cursor demo to use null does not sync the y scale in any way.

Am I misunderstanding something or is this functionality not supported by default?