[vtkusers] vtkChartXY axis range

Marcus D. Hanwell marcus.hanwell at kitware.com
Wed Sep 29 18:16:17 EDT 2010


On Wed, Sep 29, 2010 at 12:48 PM, David Doria <daviddoria at gmail.com> wrote:

> On Wed, Sep 29, 2010 at 9:48 AM, Eric E. Monson <emonson at cs.duke.edu>wrote:
>
>> That's definitely a bug. It's like the data is getting painted on the
>> first go-around based on the wrong axis range (wrong transform...?), but as
>> soon as you resize the window it's recalculating something based on the new
>> bounds and then it gets figured out properly. I don't have time to look into
>> it right now, but hopefully Marcus will (be able to reproduce the problem
>> and) recognize what's wrong.
>>
>> -Eric
>>
>>
> Ah, yep, you're right, when I resize the window it appears correctly.
> Thanks for confirming this.
>

Sigh...I have a one line patch (moving a call) that should fix this up.
Thanks for pointing it out, it is an artifact introduced in the new font
metric based layout code I added, but none of the other tests seemed to show
the issue.

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100929/601c9338/attachment.htm>


More information about the vtkusers mailing list