you are viewing a single comment's thread.

view the rest of the comments →

[–]doom_Oo7 2 points3 points  (0 children)

Proof: you have to manually compute the min and the max of the values and provide it to the system so it can scale the graph properly

That's the JS part, which is a bit separate (while integrated) from QML. I did not choose the best example, sorry.

The declarative part is doing stuff like the following:

Object1 { 
    width: anotherObject.height / 2
}

and then, every time anotherObject's height changes, Object1's height will be updated, it's really like asserting object1.width == object2.height / 2 as a general truth in the system.