texttemplate
See original GitHub issueThis idea keeps coming up as we discuss various questions… Here’s an issue for it!
We should have a texttemplate
attribute wherever we accept text
or textinfo
, with similar semantics as hovertemplate
.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Text template in JavaScript - Plotly
To show an arbitrary text in your chart you can use texttemplate, which is a template string used for rendering the information, and...
Read more >text/template - Go Packages - The Go Programming Language
Package template implements data-driven templates for generating textual output.
Read more >TextTemplate class | Microsoft Learn
Defines a text template where the template expression is local aka "inline" and processed through registered language generator.
Read more >texttemplate | Qbs Manual - Qt Documentation
The texttemplate module provides support for text template files. Example. Consider the following text file greeting.txt.in. ${greeting} ...
Read more >MenuItem.TextTemplate Property | ASP.NET Web Forms ...
Use the TextTemplate property to control the contents of the current menu item. The template defined using this property replaces the text content...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
More precisely in https://github.com/plotly/plotly.js/pull/3865#issuecomment-493499535
Lib.templateFormatString
sounds 10/10 to me