PyramidSeries<T, D> constructor
const
PyramidSeries<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - PyramidSeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- List<
T> ? dataSource, - ChartValueMapper<
T, D> ? xValueMapper, - ChartValueMapper<
T, num> ? yValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? textFieldMapper, - String? name,
- num? explodeIndex,
- String height = '80%',
- String width = '80%',
- PyramidMode pyramidMode = PyramidMode.linear,
- double gapRatio = 0,
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- String explodeOffset = '10%',
- bool explode = false,
- ActivationMode explodeGesture = ActivationMode.singleTap,
- Color borderColor = Colors.transparent,
- double borderWidth = 2.0,
- LegendIconType legendIconType = LegendIconType.seriesType,
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- double animationDuration = 1500,
- double animationDelay = 0,
- double opacity = 1.0,
- SelectionBehavior? selectionBehavior,
- List<
int> ? initialSelectedDataIndexes,
Creates an instance of pyramid series base.
Implementation
const PyramidSeries({
super.key,
this.onCreateRenderer,
this.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.dataSource,
super.xValueMapper,
this.yValueMapper,
super.pointColorMapper,
ChartValueMapper<T, String>? textFieldMapper,
super.name,
this.explodeIndex,
this.height = '80%',
this.width = '80%',
this.pyramidMode = PyramidMode.linear,
this.gapRatio = 0,
super.emptyPointSettings,
this.explodeOffset = '10%',
this.explode = false,
this.explodeGesture = ActivationMode.singleTap,
this.borderColor = Colors.transparent,
super.borderWidth,
super.legendIconType,
super.dataLabelSettings,
super.animationDuration,
super.animationDelay,
super.opacity,
super.selectionBehavior,
super.initialSelectedDataIndexes,
}) : super(
dataLabelMapper: textFieldMapper,
);