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: docs/developers/axes.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,11 +96,11 @@ Optionally, the following methods may also be overwritten, but an implementation
96
96
97
97
```javascript
98
98
{
99
-
//Transform the ticks array of the scale instance into strings. The default implementation simply calls this.options.ticks.callback(numericalTick, index, ticks);
100
-
convertTicksToLabels:function() {},
99
+
//Adds labels to objects in the ticks array. The default implementation simply calls this.options.ticks.callback(numericalTick, index, ticks);
100
+
generateTickLabels:function() {},
101
101
102
102
// Determine how much the labels will rotate by. The default implementation will only rotate labels if the scale is horizontal.
103
-
calculateTickRotation:function() {},
103
+
calculateLabelRotation:function() {},
104
104
105
105
// Fits the scale into the canvas.
106
106
// this.maxWidth and this.maxHeight will tell you the maximum dimensions the scale instance can be. Scales should endeavour to be as efficient as possible with canvas space.
0 commit comments