A function that returns the label text based on the index and value.
final String Function(int index, double value)? getLabelText;