You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/BootstrapBlazor.Server/Locales/en-US.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1265,6 +1265,11 @@
1265
1265
"BarStackedShowDataLabelIntro": "When <code>ShowDataLabel</code> is enabled in stacked mode, segments with a value of <code>0</code> do not draw data labels to avoid overlapping with adjacent segment labels. In this example, the top segment of <b>Bob</b> has a value of <code>0</code>, so only the lower segment's data label is displayed",
1266
1266
"BarStackedShowDataLabelTitle": "Stacked Data Label",
1267
1267
"BarStackedTitle": "Stacked",
1268
+
"BarTotalDataLabelIntro": "In stacked mode, set the <code>ShowTotalDataLabel</code> property to display the total data label above each bar. The total value is automatically recalculated when a dataset is hidden by clicking the legend. In this example, the <code>total</code> label is customized by the client script <code>setOptionsById</code>: the total text is formatted as <code>Total: {X}</code>, and the text color, background color, border radius, padding and font style are customized",
1269
+
"BarTotalDataLabelLi1": "Set the <b>Id</b> parameter of the <code>Chart</code> component",
1270
+
"BarTotalDataLabelLi2": "Create a client <code>JavaScript</code> script, override the <code>formatter</code> callback of the <code>total</code> label by the <code>setOptionsById</code> method to customize the total text, and customize the label style by the <code>color</code> <code>backgroundColor</code> <code>borderRadius</code> <code>padding</code> <code>font</code> properties",
1271
+
"BarTotalDataLabelLi3": "Override the base class method <code>InvokeInitAsync</code> and call the client script by <code>await InvokeVoidAsync(\"customTotalDataLabel\", TotalDataLabelId)</code>",
1272
+
"BarTotalDataLabelTitle": "Stacked Total Label",
1268
1273
"BarTwoYAxesIntro": "Show secondary Y axis: alignment, title and data group",
0 commit comments