Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In my project I want to have some daily times marked for better graph readibility. Or for long term graphs it might be difficult to realize some specific values in time as the graph does not support it.
My sollution adds user specific times as list in configuration that are displayed in graph.
![timeLine1](https://private-user-images.githubusercontent.com/55192592/410910839-07c4f58c-0498-4c11-a1c5-a205ea218e62.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjI5NzgsIm5iZiI6MTczOTA2MjY3OCwicGF0aCI6Ii81NTE5MjU5Mi80MTA5MTA4MzktMDdjNGY1OGMtMDQ5OC00YzExLWExYzUtYTIwNWVhMjE4ZTYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAwNTc1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5M2RiMDUzN2U2OGI0ZTIwNWRmZGQwZjQ1NDY5MWYzYmQ1ZTVhMzdjMmQwNGQ4ZjFkYzllNWVhZDMxOWViMWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yl9XEPPN2K1ZVsJmNzv4HQj8Lt9EmLmUzr3TNFEyN-k)
These time lines are tightly coupled with their values, so their position is dynamically rendered along with the graph.
The styling is fully customized by user by <card_mod> as per css class.
Time value could be disabled as well.
On midnight time (when user setup 00:00), graph displays a new date value instead of a time.
Time lines are applied for every day in the graph so long term graphs are supported
![timeLine48hours](https://private-user-images.githubusercontent.com/55192592/410912355-1471c9d5-7b18-40ff-a0f5-15f8271bf37d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjI5NzgsIm5iZiI6MTczOTA2MjY3OCwicGF0aCI6Ii81NTE5MjU5Mi80MTA5MTIzNTUtMTQ3MWM5ZDUtN2IxOC00MGZmLWEwZjUtMTVmODI3MWJmMzdkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAwNTc1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlY2VkNzhkZGRkODhmNjhlYWI1ZDg5OTQwYzNiYWNiNGZlNmY2MDZkNzk4OWMzMDFkZTI5NWU3NDg1MTQwYTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.e_s_Tf4HHq7rkQLbROnWLhTLlCHOM6YmCi5SQAaPnOQ)
The solution requires new config variable 'time_line' with a list of expected times in format HH:MM under the 'show' option as follows: