Linechart zoom shows wrong preview
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
4.2.1-rc1
### Reproduction link
[https://jsfiddle.net/tmtron/0beLxwh2/21/](https://jsfiddle.net/tmtron/0beLxwh2/21/)
### Steps to reproduce
- add a null datapoint at 1995
- add some data between 1997 and 2000
- add a final null datapoint at 2005
### What is expected?
the zoom slider background data should show the real data in the middle of the slider
### What is actually happening?
The data in the zoom slider is stretched. I think this is a bug, unless I am missing some settings (but I could not find any switches on the zoom-slider to make this work)
---
The following screenshot shows the issue. The area outside of the yellow highlighted rectangle in the zoom range (1) should not be visible.

see also: related [Stackoverflow question](https://stackoverflow.com/questions/55062223/linechart-zoom-shows-wrong-preview)
Contributor guide
Assessment
This issue has not been assessed yet.