SquarifiedTreeMapRenderer<D>  class 
 
A treemap renderer that renders a squarified treemap.
- Implemented types
Constructors
- 
          SquarifiedTreeMapRenderer({String? rendererId, TreeMapRendererConfig<D> ? config})
Properties
- 
  componentBounds
  → Rectangle<int> ?
- 
  Bounding box for drawing this component.
  no setterinherited
- 
  config
  → TreeMapRendererConfig<D> 
- 
  Renderer configuration.
  finalinherited
- 
  drawBounds
  → Rectangle<int> ?
- 
  
  no setterinherited
- graphicsFactory ↔ GraphicsFactory?
- 
  
  getter/setter pairinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isRtl → bool
- 
  Rtl direction setting from chart context.
  no setterinherited
- isSeriesRenderer → bool
- 
  Whether or not this component is a series renderer that draws series
data.
  no setterinherited
- 
  labelDecorator
  → TreeMapLabelDecorator<D> ?
- 
  Decorator for rendering treemap node label.
  finalinherited
- layoutConfig → LayoutViewConfig
- 
  Layout params for this component.
  finalinherited
- rendererId ↔ String
- 
  Unique identifier for this renderer. Any Series on a chart with a
matching  rendererIdKey will be drawn by this renderer.
  getter/setter pairinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- symbolRenderer ↔ SymbolRenderer?
- 
  Symbol renderer for this renderer.
  getter/setter pairinherited
Methods
- 
  addPositionToDetailsForSeriesDatum(DatumDetails< D> details, SeriesDatum<D> seriesDatum) → DatumDetails<D> 
- 
  Adds chart position data to details.inherited
- 
  areaForRectangle(Rectangle< num> rect) → num
- 
  Gets the area of a Rectangle.
  inherited
- 
  areaForTreeNode(TreeNode< Object> node) → num
- 
  Gets the area for a tree node.inherited
- 
  assignMissingColors(Iterable< MutableSeries< seriesList, {required bool emptyCategoryUsesSinglePalette}) → voidD> >
- 
  Assigns missing colors in case when color accessor functions are not set.
  inherited
- 
  assignMissingStrokeWidths(Iterable< MutableSeries< seriesList) → voidD> >
- 
  Assigns missing stroke widths in case when strokeWidthPx accessor
functions are not set.
  inherited
- 
  availableLayoutBoundingRect(TreeNode< Object> node) → MutableRectangle<num> 
- 
  Available bounding rectangle that can be used to lay out the child
renderer elements.
  inherited
- 
  configureDomainAxes(List< MutableSeries< seriesList) → voidD> >
- 
  Adds the domain values for the given series to the chart's domain axis.
  inherited
- 
  configureMeasureAxes(List< MutableSeries< seriesList) → voidD> >
- 
  Adds the measure values for the given series to the chart's measure axes.
  inherited
- 
  configureSeries(List< MutableSeries< seriesList) → voidD> >
- 
  Performs basic configuration for the series, before it is pre-processed.
  inherited
- 
  getDetailsForSeriesDatum(SeriesDatum< D> seriesDatum) → DatumDetails<D> 
- 
  Get an expanded set of processed DatumDetails for a given SeriesDatum.
  inherited
- 
  getNearestDatumDetailPerSeries(Point< double> chartPoint, bool byDomain, Rectangle<int> ? boundsOverride, {bool selectOverlappingPoints = false, bool selectExactEventLocation = false}) → List<DatumDetails< D> >
- 
  Datum details of nearest rectangles in the treemap.
  inherited
- 
  isPointWithinBounds(Point< double> chartPoint, Rectangle<int> ? bounds) → bool
- 
  Returns true of chartPointis within the component bounds for this renderer.inherited
- 
  layout(Rectangle< int> componentBounds, Rectangle<int> drawAreaBounds) → void
- 
  Layout this component.
  inherited
- 
  measure(int maxWidth, int maxHeight) → ViewMeasuredSizes? 
- 
  Measure and return the size of this component.
  inherited
- 
  measureForTreeNode(TreeNode< Object> node) → num
- 
  Gets the measure for a tree node.inherited
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  onAttach(BaseChart< D> chart) → void
- 
  Handles any setup of the renderer that needs to be deferred until it is
attached to a chart.
  inherited
- 
  onDetach(BaseChart< D> chart) → void
- 
  Handles any clean-up of the renderer that needs to be performed when it is
detached from a chart.
  inherited
- 
  paint(ChartCanvas canvas, double animationPercent) → void 
- 
  Renders the series data on the canvas, using the data generated during the
update call.
  inherited
- 
  position(Iterable< TreeNode< nodes, MutableRectangle<Object> >num> boundingRect, num side, num layoutArea) → void
- 
  Positions each renderer element in nodeswithin theboundingRect.inherited
- 
  preprocessSeries(List< MutableSeries< seriesList) → voidD> >
- 
  Pre-calculates some details for the series that will be needed later
during the drawing phase.
  inherited
- 
  scaleArea(Iterable< TreeNode< children, num scaleFactor) → voidObject> >
- 
  Scales the area of each renderer element in childrenby ascaleFactor.inherited
- 
  tile(TreeNode< Object> node) → void
- Uses squarification as the tiling algorithm for this tree map.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  update(List< ImmutableSeries< seriesList, bool isAnimating) → voidD> >
- 
  Generates rendering data needed to paint the data on the chart.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited