# vtkContext2D polygon filling disappears when zooming

**URL:** https://discourse.vtk.org/t/vtkcontext2d-polygon-filling-disappears-when-zooming/9827
**Category:** Support
**Tags:** code
**Created:** [November 15, 2022, 1:38pm UTC](https://discourse.vtk.org/t/vtkcontext2d-polygon-filling-disappears-when-zooming/9827 "2022-11-15T13:38:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mezitor](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@Mezitor](https://discourse.vtk.org/u/Mezitor)
#### Post date: [November 15, 2022, 1:38pm UTC](https://discourse.vtk.org/t/vtkcontext2d-polygon-filling-disappears-when-zooming/9827/1 "2022-11-15T13:38:07Z")

</div>

Hello!  
I’m using vtkContext2D as painter with DrawQuadStrip function to draw on vtkXYchart. It works fine, but when I’m zooming in filling of quads is disappearing.

 ![image](https://discourse.vtk.org/uploads/default/original/2X/7/7db965ed284a1acab2e67a7566d8b184d3615cd5.png)  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/c/c531c8eafe77e6e933bd5c554c3e85fe06928bb8.png)

Only thing I found on it is correspondence with developers 7 years ago. But this bug was not fixed. Maybe anyone know why this happen or any way workaround?  
[[vtk-developers] vtkChartXY lines not visible when using logarithmic x axis](https://vtk.org/pipermail/vtk-developers/2016-July/033988.html)  
[Chart Line disapear when zooming in. (#16797) · Issues · VTK / VTK · GitLab (kitware.com)](https://gitlab.kitware.com/vtk/vtk/-/issues/16797)
