On Thu, Mar 10, 2011 at 11:18 AM, Koen Deforche <[email protected]> wrote:
> Hey Gaetano,
>
> 2011/3/10 Gaetano Mendola <[email protected]>:
>> On Wed, Mar 9, 2011 at 8:46 PM, Gaetano Mendola <[email protected]> wrote:
>>> Hi all,
>>> is it possible to set a minimum resolution on the axis chart ? As
>>> example plotting
>>> the points:
>>>
>>> (0, 1.112), (1, 1.113), (2.114)
>>>
>>> leads to have reported on the Y axis the values: 1.11, 1.11, 1.11.
>>>
>>> Putting a resolution of 10 as example would lead those 3 points as a
>>> straight orizontal
>>> line instead of a diagonal one and then wandering why on the y axis I
>>> have all 1.11
>
> Using WAxis::setLabelFormat() you can configure the labels to show
> more significant digits.
>
>> I have tried asking the minimum value or the maximum valued displayed
>> on the axis (the autolimit is set) and i seems that the minimum and
>> maximum retrieved are the ones of the previous visualization.
>
> True. You can force the chart to recalculate its layout using
> WCartesianChart::initLayout()

Would this lead to have 2 calls to initLayout each time the model changes?
(my explicit one and I guess an internal call)

G.


-- 
cpp-today.blogspot.com

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to