Skip to content

Commit a8d9ac6

Browse files
committed
chore(docs): update bar chart labeling example
Closes #691 #720
1 parent c3d44d1 commit a8d9ac6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sandboxes/bar-chart/labels/App.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ export const data = [
77
"Density",
88
{ role: "style" },
99
{
10-
sourceColumn: 0,
1110
role: "annotation",
1211
type: "string",
13-
calc: "stringify",
1412
},
1513
],
16-
["Copper", 8.94, "#b87333", null],
17-
["Silver", 10.49, "silver", null],
18-
["Gold", 19.3, "gold", null],
19-
["Platinum", 21.45, "color: #e5e4e2", null],
14+
["Copper", 8.94, "#b87333", "Cu"],
15+
["Silver", 10.49, "silver", "Ag"],
16+
["Gold", 19.3, "gold", "Au"],
17+
["Platinum", 21.45, "color: #e5e4e2", "Pt"],
2018
];
2119

2220
export const options = {

0 commit comments

Comments
 (0)