legendLinear function
Creates a LegendLinear widget.
Implementation
Widget legendLinear({
Key? key,
required dynamic scale,
LegendLinearConfig config = const LegendLinearConfig(),
List<double>? tickValues,
String Function(double)? tickFormat,
String? title,
TextStyle? titleStyle,
}) {
return LegendLinear(
key: key,
scale: scale,
config: config,
tickValues: tickValues,
tickFormat: tickFormat,
title: title,
titleStyle: titleStyle,
);
}