• Ken Martin's avatar
    Fix floating point issue with chart test · 180ebd0b
    Ken Martin authored
    TestChartXYZ test fails on various platforms.  It turns out it is
    failing due to floating point issues. Basically
    1)	By default the plot data points define the bounds of the axes
        for the chart
    2)	the axes define the plot area (clip stuff outside that)
    3)	which defines the clipping plane equations
    4)	which can in turn clip the original data points subject to
        floating point precision
    This is what is happening (FYI, the point that disappears in the middle
    is actual on the boundary in the depth axis). This patch
    “fixes” the test by defining axes that are slightly bigger than the
    data and replacing the valid image.
    Change-Id: I25e7f05736f274ffc16633d8110767b9a5a5907b
TestChartXYZ.png.md5 33 Bytes