TreeMapSeries constructor
TreeMapSeries(
- TreeData data, {
- StyleFun<
TreeMapNode, LabelStyle?> ? labelStyleFun, - LayoutType layoutType = LayoutType.square,
- int showDepth = 2,
- Fun1<
TreeMapNode, Alignment> ? alignFun, - Fun1<
TreeMapNode, num> ? paddingFun, - Fun2<
TreeMapNode, TreeMapNode, int> ? sortFun, - required StyleFun<
TreeMapNode, AreaStyle?> areaStyleFun, - SNumber leftMargin = SNumber.zero,
- SNumber topMargin = SNumber.zero,
- SNumber rightMargin = SNumber.zero,
- SNumber bottomMargin = SNumber.zero,
- SNumber? width,
- SNumber? height,
- ToolTip? tooltip,
- AnimatorProps? animation,
- bool touch = true,
- bool clip = true,
- int z = 0,
Implementation
TreeMapSeries(
this.data, {
this.labelStyleFun,
this.layoutType = LayoutType.square,
this.showDepth = 2,
this.alignFun,
this.paddingFun,
this.sortFun,
required this.areaStyleFun,
super.leftMargin,
super.topMargin,
super.rightMargin,
super.bottomMargin,
super.width,
super.height,
super.tooltip,
super.animation,
super.touch,
super.clip,
super.z,
}) : super(xAxisIndex: -1, yAxisIndex: -1, calendarIndex: -1, parallelIndex: -1, polarAxisIndex: -1, radarIndex: -1);