canTranslate method
Tests a domainValue
to see if the scale can translate it.
Returns true if the scale can translate the given domainValue. (Ex: linear scales can translate any number, but ordinal scales can only translate values previously passed in.)
Implementation
@override
bool canTranslate(_) => true;