Forum Replies Created

  • Ilio Crandi

    June 1, 2017 at 9:12 pm in reply to: AE If else expression for sorting elements?

    First of all,
    thank you v much for your help, I really appreciate it.
    I think your example can be useful, I will have to study it since I am not v familiar with expressions, but it seems like it could be a solution for me.

    I’ll show you what I am doing.

    11423_seatslq.mp4.zip

    As you can see all these elements are animated (the party logo, the candidate photo, the number of votes).
    I insert the number of seats for each party as a slider value and this values populate the little men grid on the left and the round graph on the right.
    I am happy with this, what I am missing is a sorting mechanism that will allow me, in the unlikely event that the red party gains more seats then the blue one, for example, to put the red party first on the order of the parties on the bottom of the page, and consequently changing the order in the little men and round graphs.

    Ideally, this will allow me to deal with other graphics, like this one :

    where party A and party B (the first and the second one in the vote ranking) will appear and swap positions automatically, based on the number of votes I will input in the slider control.

    I don’t know If I made clearer or if I have complicated things, in any case, I really appreciate your support!
    I will go and analyse your example.

    Thanks!

  • Ilio Crandi

    June 1, 2017 at 5:50 pm in reply to: AE If else expression for sorting elements?

    Apologies Cassius, I wasn’t clear at all.
    I meant on top in relation to the Y axis on a simple 2D composition, as you would expect when getting the results from a poll or a vote counting.
    The most voted party on top, then the second, etc etc.
    Somebody else suggested to me I should use an array of values and then sort them, I am not familiar with the procedure but I will investigate this option.
    Any suggestions is welcome! ☺
    Regards,

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy