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 c8b885d commit 6bc47d3Copy full SHA for 6bc47d3
docs/samples/scale-options/ticks.md
@@ -76,7 +76,7 @@ const config = {
76
ticks: {
77
// For a category axis, the val is the index so the lookup via getLabelForValue is needed
78
callback: function(val, index) {
79
- // Hide the label of every 2nd dataset
+ // Hide every 2nd tick label
80
return index % 2 === 0 ? this.getLabelForValue(val) : '';
81
},
82
color: 'red',
0 commit comments