[vtkusers] vtkChartXY axis range

Bill Lorensen bill.lorensen at gmail.com
Wed Sep 29 23:49:52 EDT 2010


Also notice in David's image, the y axis label does not fit on the
screen. I saw this crop up a while back in several wiki examples.

Bill
On Wed, Sep 29, 2010 at 6:16 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list