We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94363da commit 2ffe7f1Copy full SHA for 2ffe7f1
readme.md
@@ -196,6 +196,9 @@ entities:
196
texttemplate: >- # custom format for show_value
197
<b>%{y}</b>%{customdata.unit_of_measurement}<br>
198
%{customdata.name}
199
+ # to show only 2 decimals: "%{y:.2f}"
200
+ # see more here: https://plotly.com/javascript/reference/pie/#pie-texttemplate
201
+
202
hovertemplate: >- # custom format for tooltip
203
<b>%{customdata.name}</b><br><i>%{x}</i><br>
204
%{y}%{customdata.unit_of_measurement}
0 commit comments