Skip to content

Commit 76ed6e4

Browse files
committed
scale: a Quantitative scale is also a Ticker
1 parent 620232e commit 76ed6e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scale/interface.go

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ type Quantitative interface {
3333
// and last major ticks returned by Ticks(o) will equal the
3434
// lower and upper bounds of the input domain.
3535
Nice(o TickOptions)
36+
37+
// A Quantitative scale is also a Ticker.
38+
Ticker
3639
}
3740

3841
// A QQ maps from a source Quantitative scale to a destination

0 commit comments

Comments
 (0)