Skip to content

Commit 6bc47d3

Browse files
authored
Update misleading sample comment (#9865)
1 parent c8b885d commit 6bc47d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/samples/scale-options/ticks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const config = {
7676
ticks: {
7777
// For a category axis, the val is the index so the lookup via getLabelForValue is needed
7878
callback: function(val, index) {
79-
// Hide the label of every 2nd dataset
79+
// Hide every 2nd tick label
8080
return index % 2 === 0 ? this.getLabelForValue(val) : '';
8181
},
8282
color: 'red',

0 commit comments

Comments
 (0)