[vtkusers] vtkChart large axis ranges

Andrew Ward andrew.derek.ward at gmail.com
Mon May 19 20:48:11 EDT 2014


Hello,

I am attempting to use a vtkChartXY with an x-axis in the range of 32-bit
floating-point numbers (-3.40282e+038 to 3.40282e+038), however when adding
values with a range greater than 1e10, the chart fails to render properly.

I tracked one possible problem down to vtkChart::CalculatePlotTransform,
where the scaling factor is altered for large ranges, which at least
explains why the issue appears over the 1e10 limit, but I am at a loss as
to whether this is a bug, or whether I am using the chart incorrectly.

Any suggestions much appreciated,


Andrew Ward.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140520/e3939d92/attachment.html>


More information about the vtkusers mailing list