displayInActivityLaps does not work?

Former Member
Former Member
i'm trying to show values in the lap activities.

i have 1 fit contributor for the graph

<fitField id="3" displayInChart="false" sortOrder="0" precision="0"
dataLabel="@Strings.totpassi_graph_label"
unitLabel="@Strings.totpassi_units" displayInActivityLaps="true"/>


and another for the activity laps

<fitField id="0" displayInChart="true" sortOrder="0" precision="0"
chartTitle="@Strings.passi_label" dataLabel="@Strings.passi_graph_label"
unitLabel="@Strings.passi_units" fillColor="#FF0000" />


after start the session, i init a variable for the graph

mPassiField=session.createField(
"passi_label",
PASSI_FIELD_ID,
FitContributor.DATA_TYPE_UINT16,
{:mesgType=>FitContributor.MESG_TYPE_RECORD, :units=>"N"});
mPassiField.setData(0);


and another for the activity

mTotPassiField=session.createField(
"totpassi_label",
TOTPASSI_FIELD_ID,
FitContributor.DATA_TYPE_UINT16,
{:mesgType=>FitContributor.MESG_TYPE_RECORD, :units=>"N"});


when i add a value to the graph,

mPassiField.setData(stepsParz);

i add the same value to the activity

mTotPassiField.setData(stepsParz);

and then add a

session.addLap();

the result is that i see the values on the graph but i don't see values in the activity laps.

what i do wrong?

thank you

Federico community.garmin.com/.../1423936.png community.garmin.com/.../1423937.png
  • I found this old thread. But I'm running more or less into the same problem. The lap data is showing on the website. But not in the app. The graphs and session information does show in the app. Does it have something to do with the order?

    On the website it's listed als last. And also there is more lap data there than in the app

    On the website it shows:

    Ronde, tijd, Totale tijd, Afstand, Gemiddeld tempo, Gem. HS Max. HS, Gem. slagsnelheid, Max. slagsnelheid, Calorieën, Gem. temperatuur, Tijd bewogen,

    And most importantly the iq fields Distance Avg. split 

    In the app only:

    Rond, time, total time, time moved. So the first 3 and the last of the "standard" information.

  • Ohhh, damm I didn't know that rotating the screen shows the missing data! Solved!