Hello,In my raw data I can find in Xdata "GEARS" with columns "FRONT" 53 or 39 and "REAR" 11-28.I would like to create 2 charts, one showing which Front-Rear combinaison I use the most in percent (for exemple 52-15 -> 25%) and another one showing which combinaison I''m on during an activitie.I tried a lot of thing but could not find a way to do it for neither of the two, I can't even display anything with this data on a graph.
Have any of you done this before and could help me?
Thanks a lot for your answer, il will help a lot.The problem is I'm using GC on Archlinux (https://aur.archlinux.org/packages/golden-cheetah-git/) and I can't enable cloudDB, in the config file gcconfig.pri I uncommented cloudDB = active, I now find "download chart" in the "view" menu but it give me a 404 error and I do not know the values for GC_CLOUD_DB_BASIC_AUTH and GC_CLOUD_DB_APP_NAME needed to use the public cloudDB instance. I am still looking for a solution to this problem.
I'm making good progress but I still have some problems.I used the wiki to understand how aggregations work but I can't find an example (even basic) of a pie chart.
Since I'm on Archlinux I use the git version of GC compiled from AUR but I'm unable to build it with support for CloudDB.
Is it possible without using a binary version?
gearsecs <- xdata("GEARS", secs);
# secs to duration
gearsecs2 <- gearsecs;
append(gearsecs2,gearsecs[length(gearsecs)-1],length(gearsecs2)); # repeat last at the end to shift indexes
remove(gearsecs2, 0,1); # remove first to have same length
duration <- gearsecs2 - gearsecs;
Perhaps someone has a tip on how to use XDATA(‘GEARS’, ‘REAR’, repeat) in a user chart? When I use only yy <- XDATA(“GEARS”, ‘REAR’, repeat), the return value is only 0 or 1, meaning that it is available or not available in the selected unit. I thought it would give the same result as in Python with d = list(GC.xdata(‘GEARS’, ‘REAR’, join="repeat") )
print(d), where the Xdata values for the respective sections in the unit are repeated. I wanted to use this to determine the pause time when the sprocket is not moving with speed from the unit. Thank you for your help.
init { xx <- c(); yy<- c(); }
sample {
append(yy, XDATA("GEARS","REAR", repeat ));
append(xx, SECS);
}
I thought xdata("GEARS", "REAR") only specified the times when shifting occurred.