Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
shekhar_analyti
Specialist
Specialist

Repeat of value based on expression with time gap of 3 seconds to give animated look . Is this possible ?

Hi All ,

I want to repeat a value based on expression . But i want that value to be repeated with delay of 3 to 4 second . Is that possible ?

Let me explain with example
star animation.PNG

When a user navigates to sheet 5 from any other sheet , i want to repeat the star value [chr(9734] but with few second of delay to make it animated look .For Barbara we have count value is 2 and hence Rating has two stars . What is intended was when a user navigates to sheet 5 the second instance of star should come with delay of few seconds .

Hope i am able to explain requirement .

Thanks & Regards

Shekar

1 Solution

Accepted Solutions
vinieme12
Champion II
Champion II

it's based on time(now())

Each Star is a different column, we are just making it visible based on the time factor, unfortunately we do not have milliseconds with now()

Here is the Process>>

when you Click on "Go to Main" >> Set a variable with current time

Then vstar1 sets rgb() after 1 second from recorded time

vstar2 sets rgb() after 2 second from recorded time

and vstar3 sets rgb() after 2 second from recorded time


Check the variables definition and the TextExpression for each expression

View solution in original post

12 Replies
Kush
MVP
MVP

Do you mean, if rating is 2 then, 1st start should be there and 2nd star should come with delay and then 3rd with some delay?

shekhar_analyti
Specialist
Specialist
Author

Exactly .... You are correct

shekhar_analyti
Specialist
Specialist
Author

A‌ny suggestion ... loveisfail

vinieme12
Champion II
Champion II

See attached sample

animating_stars_inStraightTable.gif

shekhar_analyti
Specialist
Specialist
Author

Please explain .. i got little confused ... how are you handling stars ...
Also please note my application can have 10 stars as well . I think its not that dynamic . 

vinieme12
Champion II
Champion II

it's based on time(now())

Each Star is a different column, we are just making it visible based on the time factor, unfortunately we do not have milliseconds with now()

Here is the Process>>

when you Click on "Go to Main" >> Set a variable with current time

Then vstar1 sets rgb() after 1 second from recorded time

vstar2 sets rgb() after 2 second from recorded time

and vstar3 sets rgb() after 2 second from recorded time


Check the variables definition and the TextExpression for each expression

View solution in original post

shekhar_analyti
Specialist
Specialist
Author

Thank you So much ... It will help me a lot

vinieme12
Champion II
Champion II

Glad to help

Cheers

V

Anil_Babu_Samineni

Good Work, Here, if they have stars around 10 +. Then you mean to say we need to write 10+ Variables for that? Liked it

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)