I wrote custom plot which derives from vtkPlot and added it to vtkChartXY.
When i zoomin at some point the plot just disappears.
I looked at vtk sources and found that the problem originates in function vtkChart::CalculatePlotTransform:
for (int i = 0; i < 2; ++i)
{
if (fabs(log10(origin[i] / scale[i])) > 2)
{
/* the code here looks strange, when i got here the plot disappears */
shift[i] = floor(log10(origin[i] / scale[i]) / 3.0) * 3.0;
^^^^^^^^
shift[i] = -origin[i];
^^^^^^^^
}
....
}