ChartLegend constructor
ChartLegend({
- String? type,
- String? id,
- bool show = true,
- int? zlevel,
- int? z,
- String? left,
- String? top,
- String? right,
- String? bottom,
- String? orient,
- String? align,
- List? padding,
- double? itemGap,
- double? itemWidth,
- double? itemHeight,
- dynamic formatter,
- dynamic selectedMode,
- Map<
String, bool> ? selected, - String? icon,
- ChartTextStyle? textStyle,
- String backgroundColor = 'transparent',
- String borderColor = 'black',
- double? borderWidth,
- double? borderRadius,
- double? shadowBlur,
- String? shadowColor,
- double? shadowOffsetX,
- double? shadowOffsetY,
- int? scrollDataIndex,
- String? pageButtonPosition,
- String pageIconsColor = 'black',
- String pageIconsInactiveColor = 'grey',
- String textColor = 'black',
- double fontSize = 12,
- double iconSize = 10,
- List<
String> data = const <String>[],
Implementation
ChartLegend({
this.type,
this.id,
this.show = true,
this.zlevel,
this.z,
this.left,
this.top,
this.right,
this.bottom,
this.orient,
this.align,
this.padding,
this.itemGap,
this.itemWidth,
this.itemHeight,
this.formatter,
this.selectedMode,
this.selected,
this.icon,
this.textStyle,
this.backgroundColor = 'transparent',
this.borderColor = 'black',
this.borderWidth,
this.borderRadius,
this.shadowBlur,
this.shadowColor,
this.shadowOffsetX,
this.shadowOffsetY,
this.scrollDataIndex,
this.pageButtonPosition,
this.pageIconsColor = 'black',
this.pageIconsInactiveColor = 'grey',
this.textColor = 'black',
this.fontSize = 12,
this.iconSize = 10,
List<String> data = const <String>[],
});