Average speed in time - chart

147 views
Skip to first unread message

Adam Jędrysik

unread,
Feb 18, 2022, 6:49:24 AM2/18/22
to golden-cheetah-users
Hey.

How could I add to Activity / Ride (chart settings > user data) section, a custom chart with average speed in time?
For power there's xPower which is something I like to have for speed.

I just need a direction to write it myself.
Some things in GC is sometimes not so clear for me :)

Thanks in advance.

Adam

Ale Martinez

unread,
Feb 18, 2022, 9:37:33 AM2/18/22
to golden-cheetah-users
El viernes, 18 de febrero de 2022 a la(s) 08:49:24 UTC-3, adam.j...@gmail.com escribió:
Hey.

How could I add to Activity / Ride (chart settings > user data) section, a custom chart with average speed in time?
For power there's xPower which is something I like to have for speed.

I just need a direction to write it myself.

Alex

unread,
Mar 1, 2022, 9:54:08 AM3/1/22
to golden-cheetah-users
Hi,


My question is: how can I change following formula:

100* (HEARTRATE - config(rhr)) / (config(maxhr) - config(rhr))

if I would like to display same chart of HR with different zone colors but representing the curve not as a percentage of HR but with the original values measured on BPM on y-axis?

I've already defined HR % zones on athlete settings, starting of max HR eg. 172 bpm

HR zone 1 form 0 to 68% of max HR  = 117              Would like to display as a grey color on the chart;
HR zone 2 from 68 to 79% of max HR = 135             Would like to display as a grey color on teh chart;
... and so on

Br 
Alex

Ale Martinez

unread,
Mar 1, 2022, 11:16:48 AM3/1/22
to golden-cheetah-users
El martes, 1 de marzo de 2022 a la(s) 11:54:08 UTC-3, Alex escribió:
Hi,


My question is: how can I change following formula:

100* (HEARTRATE - config(rhr)) / (config(maxhr) - config(rhr))

if I would like to display same chart of HR with different zone colors but representing the curve not as a percentage of HR but with the original values measured on BPM on y-axis?

 
I've already defined HR % zones on athlete settings, starting of max HR eg. 172 bpm

HR zone 1 form 0 to 68% of max HR  = 117              Would like to display as a grey color on the chart;
HR zone 2 from 68 to 79% of max HR = 135             Would like to display as a grey color on teh chart;
... and so on

then define the zone string accordingly, as explained in the wiki entry you are quoting. 

Alex

unread,
Mar 1, 2022, 11:21:38 AM3/1/22
to golden-cheetah-users
And another dubt:

If I would like to display  a colored horizontal band area between two HR values defined on athlete setting or simply typing two values on a new activity chart how can I add entire zone eg. 4 on second vale on following formula: 
{

finalise {

# we just fetch samples at end

xx <- samples(SECS);

yy <- rep(157,samples(SECS));

}

x { xx; }

y { yy; }

}

Just to have for example a yellow band area for eg. HR Zone 4 from 157 to 164 bpm  

sorry for all my questions...
anyway thank you in advance 
Message has been deleted

Ale Martinez

unread,
Mar 1, 2022, 12:41:51 PM3/1/22
to golden-cheetah-users
El martes, 1 de marzo de 2022 a la(s) 13:21:38 UTC-3, Alex escribió:
And another dubt:

If I would like to display  a colored horizontal band area between two HR values defined on athlete setting or simply typing two values on a new activity chart how can I add entire zone eg. 4 on second vale on following formula: 
{

finalise {

# we just fetch samples at end

xx <- samples(SECS);

yy <- rep(157,samples(SECS));

}

x { xx; }

y { yy; }

}

Just to have for example a yellow band area for eg. HR Zone 4 from 157 to 164 bpm  

If you are talking about the performance/ride chart, that syntax doesn’t make any sense.
 
sorry for all my questions...

GoldenCheetah is a relatively complex program if you want to customize it and make you own chars, take the time to read the documents, and to understand the examples, I don’t think you current rate of questions is sustainable.

Alex

unread,
Mar 1, 2022, 1:47:59 PM3/1/22
to golden-cheetah-users
Hi Ale,

I can understand you... I will follow your advice!

Is there an overall guide with functions, command lines and everything that could help me... Do I have to refer to following link:  https://github.com/GoldenCheetah/GoldenCheetah/wiki/

By my side I'm just trying to replicate Polar (HR zone colors band) and strava Chart (average speed on min/km every 1 Km)... as in attach.

Br
Alex
Strava.jpg
Polar.jpg

Ale Martinez

unread,
Mar 1, 2022, 1:53:40 PM3/1/22
to golden-cheetah-users
El martes, 1 de marzo de 2022 a la(s) 15:47:59 UTC-3, Alex escribió:
Is there an overall guide with functions, command lines and everything that could help me...

Help > Help Overview menu has links to most relevant documents  

Ale Martinez

unread,
Mar 1, 2022, 5:48:02 PM3/1/22
to golden-cheetah-users
El martes, 1 de marzo de 2022 a la(s) 15:47:59 UTC-3, Alex escribió:
By my side I'm just trying to replicate Polar (HR zone colors band) and strava Chart (average speed on min/km every 1 Km)... as in attach.

We have builtin colors bands for Power, but not for Pace or HR, they can be added to User Charts with some work. To use the Zone String discussed in this chart is easier to achieve.

WRT the Strava chart look at the intervals tile in Overview chart, for example:

OverviewIntervalsTable.PNG 
Reply all
Reply to author
Forward
0 new messages