graduatedFunction property
Gets or sets the function to convert from a value along a "Graduated" Panel to a string. The default returns a string representing the value rounded to at most 2 decimals.
The function takes a number argument, a value between Panel#graduatedMin and Panel#graduatedMax, and this TextBlock. The function will return a string, the text that will appear at the value of the argument.
Note that the second argument is the TextBlock, not a particular label that would be rendered at the given value. The function, if supplied, must not have any side-effects.
Implementation
_i2.String Function(
_i2.num,
_i3.TextBlock,
)? get graduatedFunction => (
_i2.num p0,
_i3.TextBlock p1,
) =>
_i4.callMethod(
_i4.getProperty(
this,
'graduatedFunction',
),
r'call',
[
this,
p0,
p1,
],
);