Replies: 3 comments 3 replies
-
I think my plan will be to make a new widget (hrzone) that will dynamically color a frame, and then paint it as a component in the XML as the underlay to the HR text. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
This sounds interesting... i wonder if it is actually a generic way to paint a background frame? Using the metric accessors it could access any metric, then use your configuration to figure out what colour to draw the background. Just a thought! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wonderful program. Very powerful and I appreciate the structure.
Do you have any thoughts on the following: If I wanted to create an overlay that had a colored frame or changed the rgb value of my "heartate/hr" metric, what would be the best way to implement that?
My Wahoo bike computer has a section in the FIT file to establish 5 heartrate zones
![image](https://private-user-images.githubusercontent.com/72329840/348572596-e4711365-2c58-418b-8045-4c3171bc1861.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDk4OTcsIm5iZiI6MTczOTE0OTU5NywicGF0aCI6Ii83MjMyOTg0MC8zNDg1NzI1OTYtZTQ3MTEzNjUtMmM1OC00MThiLTgwNDUtNGMzMTcxYmMxODYxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAxMDYzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxOTA4NDFiZDJkNjcyY2M3ZmJkNDlmODc1MDhjYjQ0MjE0ODI1MTI3ZmY2MzY4NTk0NjhhZjgxMTAyOWFmNmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.G4Kq4KBssf0Niv3Tj5-wyrZ185KhTQqrqFYgVKwSS_8)
Depending on the BPM at the timeseries data point, I could change the rgb value of the text, or the color of a frame underneath the bpm text.
Beta Was this translation helpful? Give feedback.
All reactions