# How to display stroke type (Breaststroke, Freestyle, Backstroke) in swimming charts?

**URL:** <https://forum.intervals.icu/t/how-to-display-stroke-type-breaststroke-freestyle-backstroke-in-swimming-charts/100171>\
**Category:** Uncategorized\
**Created:** [2 May 2025 16:02 UTC](https://forum.intervals.icu/t/how-to-display-stroke-type-breaststroke-freestyle-backstroke-in-swimming-charts/100171 "2025-05-02T16:02:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![R2Tom](https://forum.intervals.icu/user_avatar/forum.intervals.icu/r2tom/32/50144_2.png) [@R2Tom](https://forum.intervals.icu/u/R2Tom)\
**Post date:** [3 May 2025 15:34 UTC](https://forum.intervals.icu/t/how-to-display-stroke-type-breaststroke-freestyle-backstroke-in-swimming-charts/100171/4 "2025-05-03T15:34:30Z")

</div>

You can get the message and swim stroke with that kind of code on the console:

 ![image](https://forum.intervals.icu/uploads/default/original/3X/b/7/b7e4fa4a69628d8be6bd661839b1182b6fc5eaa5.png)

```auto

{
for (let m of icu.fit) {
    if(m.event?.valueName === "LENGTH") {
         console.log(m); //the message
         console.log(m.swim_stroke) // swim stroke
    }
  }
}

```

You have to tick the „Process fit file Message“ on the „Type“ Tab, that this works.

---

_[View the full topic](https://forum.intervals.icu/t/how-to-display-stroke-type-breaststroke-freestyle-backstroke-in-swimming-charts/100171)._
