@Franzsk , scusa se chiedo sempre a te aiuto....ma sembri abbastanza ferrato in programmazione......
Vorrei fare nel pannello Overview di Trends una tabella riassuntiva con tutte le mie uscite , utilizzando questa formula :
{
# column names, if using metrics then best
# to use metricname() to get correct name for locale
# otherwise it won't translate to other languages
names {
metricname(date,
Duration,
Time_Moving,
Distance,
Work,
W'_Work,
30_min_Peak_Power,
Route);
}
# column units, if using metrics then best
# to use metricunit() function to get correct string
# for locale and metric/imperial
units {
metricunit(date,
Duration,
Time_Moving,
Distance,
Work,
W'_Work,
30_min_Peak_Power,
Route);
}
# values to display as doubles or strings
# if using metrics always best to use asstring()
# to convert correctly with dp, metric/imperial
# or specific formats eg. rowing pace xx/500m
values {
c(metricstrings(date),
metricstrings(Duration),
metricstrings(Time_Moving),
metricstrings(Distance),
metricstrings(Work),
metricstrings(W'_Work),
metricstrings(30_min_Peak_Power),
metricstrings(Route);
}
# Click thru for the row, we can set the file
# this row represents. In the same way as a user chart.
f {
filename();
}
}
Il problema è che vorrei una colonna Route che mi faccia vedere il testo del percorso fatto ( che ogni volta inserisco come testo nella casella di testo Route in activities ). Fatta in questo modo però la formula non funziona , mi compare solo la tabella con tutti i dati ma con la colonna Route chiamata (null) e valori vuoti