Data fields: Charts (Pace, heart rate, etc)

Former Member
Former Member


https://apps.garmin.com/en-GB/apps/869a88b7-37b0-4c34-b8b7-c9bfd01d47d1 (Pace)
https://apps.garmin.com/en-GB/apps/dc4c99a1-0886-42f5-8605-f952956e715b (Heart rate)
https://apps.garmin.com/en-US/apps/14bf2d0b-7f08-40bb-b315-3ff33ce2b734 (Speed)
https://apps.garmin.com/en-US/apps/815881f2-dc56-4f11-a5cd-117f11b80bcf (Cadence)
https://apps.garmin.com/en-US/apps/bb752d7d-759f-4646-893a-52ec7d6fb7af (Power)
https://apps.garmin.com/en-US/apps/0bbabaa9-aedf-44e8-913b-60e4198be083 (Elevation)

Well, I have a chart class, I might as well use it to the max, right? So here we have some data fields.

Changelog:

1.3 - Variable durations, flip pace chart to match Garmin Connect, add power
1.2 - Increase durations, increase font size for long thin layouts, try to clip spikes in pace/speed
1.1 - Rework smaller layouts for better legibility, add speed, cadence and elevation
1.0 - Initial version (HR / pace)
  • Still crashing under FW3.8...

    So hopefully this should now be working again; Garmin reduced the amount of memory available to data fields in one of the recent updates and this field was always rather close to the limit. I've reduced the number of samples that make up the chart and at least it works for me now.

    Aside: 13kB! It's like an 80s revival :-)

    Also I notice it is still crashing at the end of the activity. I'll look into this soon but not today. At least it should be usable now.


    Hi

    I confirm issues with previous versions under FW3.8... I updated the data fields (HR and elevation) and still experienced crash, not only at the end of the session (the data field is automatically replaced by the default timer data field... Seems that the memory limitation is not the only thing to workaround ??
    Thanks for your job !!
    BR
  • Drawable Area

    You've done a great job fitting into the drawable area on the round screens. Can you share any guidance on how you've done it? Do you calculate the visible area on the fly or did you manually define the layout for all possible data field locations/sizes?

    Thanks,
    stefan
  • Former Member
    Former Member over 10 years ago
    You've done a great job fitting into the drawable area on the round screens. Can you share any guidance on how you've done it? Do you calculate the visible area on the fly or did you manually define the layout for all possible data field locations/sizes?


    Thank you!

    It's all manual I'm afraid, see this gorgeous nested if statement: https://github.com/simonmacmullen/chart-datafields/blob/master/src/ChartDataField.mc#L51
  • chrash of watch during navigation

    Hello,

    I installed the HR-Chart data field and it looks and works perfect for me.

    Yesterday I did a navigation with an app including this data field. The Fenix 3 crashed and rebooted (Garmin logo) and afterwards I was able to continue the activity and navigation but the HR-Chart datafiel was gone and replaced by the timer.

    I use FW 4.0 so maybe there is a bug with this data field.

    Kr Flo
  • Former Member
    Former Member over 10 years ago
    Yesterday I did a navigation with an app including this data field. The Fenix 3 crashed and rebooted (Garmin logo) and afterwards I was able to continue the activity and navigation but the HR-Chart datafiel was gone and replaced by the timer.


    I have been able to reproduce this bug with FW 4.0, by enabling TracBack and then switching to a screen showing one of the chart data fields. This causes the watch to reboot, and the chart field is replaced by the timer. If you then go into the app preferences it says 1/2 (or 2/2) ConnectIQ fields in use even though it has replaced them with Timer. The only way to get the data field back is to uninstall and reinstall.

    I'll be reporting this as a bug in the firmware to Garmin, the app is supposed to be in a sandbox, no way it should be able to go that wrong!

    For the time being I suggest not using these fields with TracBack (or other navigation-y things) :-(
  • thanks

    thanks for your fast reply.

    hopefully this can be fixed soo. it's a perfect data field for me!
  • Thank you!

    I just wanted to say thank you for your time and work in creating and updating the charts! I just moved from a Polar V800 to the F3 and love the HR and speed charts. I use the HR chart data field as a dedicated screen when I am weightlifting and in a 1/3 window during intervals and speed when running. The HR app is great to monitor resting HR and HR from resting to standing up. Thanks!
  • Installed on my epix, I have put on data fields and watch reboots, then it disappear.
    Uninstalled it.
    What I have to do?
    I would like the graph of altitude.
    Thank you for your work, great!!
  • Epix Out of memory error fixed with CIQ SDK 1.2.0

    I have compiled the ElevationChart datafield with the CIQ SDK 1.2.0 and the Out of memory error on the Epix has been fixed :)
    With this new SDK, the allowable memory for datafilds has been increased from 16 kB to 128 kB.
    You need to update the Epix with the v2.93 beta firmware (http://www.garmin.com/support/download_details.jsp?id=9690)
  • Former Member
    Former Member over 9 years ago
    With this new SDK, the allowable memory for datafilds has been increased from 16 kB to 128 kB.


    Oh wow, that's really cool! My ZX Spectrum has become a QL :p

    (Also, gosh, maybe I could add more features now...)