User chart with isRun works , with isRide no

84 views
Skip to first unread message

pepe

unread,
Jul 4, 2022, 2:39:22 PM7/4/22
to golden-cheetah-users
Question, i created the following chart. With isRide in relevant, the chart doesn't work. With isRun works. No filter applied, season with rides.

{

relevant { isRide && Data contains "P"; }

finalise {

xx <- bests(date);

yy <- bests(POWER,300);

z <- nonzero(yy);

}

x { xx[z]; }

y { yy[z]; }

}

Ale Martinez

unread,
Jul 4, 2022, 2:59:17 PM7/4/22
to golden-cheetah-users
Because you have a Run selected in activities view (?) 

pepe

unread,
Jul 4, 2022, 3:05:53 PM7/4/22
to golden-cheetah-users
Yes i had, problem solved. Thanks.

Ale Martinez

unread,
Jul 4, 2022, 3:05:57 PM7/4/22
to golden-cheetah-users
I mean, that relevant function is ok for User Charts in Activities View, but it makes no sense for User Charts in Trends View. 

pepe

unread,
Jul 4, 2022, 3:26:08 PM7/4/22
to golden-cheetah-users
Better use a filter?

Ale Martinez

unread,
Jul 4, 2022, 3:49:59 PM7/4/22
to golden-cheetah-users
El lunes, 4 de julio de 2022 a la(s) 16:26:08 UTC-3, pepe escribió:
Better use a filter?

The relevant function allows to show/hide a data series based on conditions, as explained in https://github.com/GoldenCheetah/GoldenCheetah/wiki/UG_Special-Topics_Working-with-User-Charts#functions-relevant-init-and-finalise 
Reply all
Reply to author
Forward
0 new messages