TreemapChartEngine

Treemap chart engine. Has no axes — series partition the draw-margin rectangle directly via a squarified layout.

Class · Namespace LiveChartsCore · Assembly LiveChartsCore · View source

Inheritance

Object Chart TreemapChartEngine

Members

Properties

Series IEnumerable<ISeries>
Gets the series.
VisibleSeries IEnumerable<ISeries>
Gets the visible series.
View IChartView
Gets the view.
AutoToolTipsInfo ToolTipMetaData
Gets the tool tip meta data.
Kind ChartKind
Gets the kind of the chart.
IsLoaded Boolean
Gets whether the control is loaded.
Canvas CoreMotionCanvas
Gets the canvas.
SeriesContext SeriesContext
The series context
ControlSize LvcSize
Gets the size of the control.
DrawMarginLocation LvcPoint
Gets the draw margin location.
DrawMarginSize LvcSize
Gets the size of the draw margin.
LegendPosition LegendPosition
Gets the legend position.
Legend IChartLegend
Gets the legend.
TooltipPosition TooltipPosition
Gets the tooltip position.
FindingStrategy FindingStrategy
Gets the tooltip finding strategy.
Tooltip IChartTooltip
Gets the tooltip.
Animation Animation
Gets the resolved animation shared by chart-default geometries (those without a per-element override). It is rebuilt in place from the view's IChartView.AnimationsSpeed / IChartView.EasingFunction on every measure (see Chart.UpdateAnimation), so already-created visuals pick up runtime changes without recreation. A null Animation.EasingFunction or a zero Animation.Duration disables animations.
VisualElements IEnumerable<IChartElement>
Gets the visual elements.

Methods

FindHoveredPointsBy 1 parameter

Finds the points near to the specified point.

LvcPoint pointerPosition The pointer position.

Unload No parameters

Unloads the control.

EnumerateHeatLegendSources No parameters

Enumerates the chart's series that contribute a heat gradient to the legend. Default reads Chart.Series; chart engines whose series don't satisfy ISeries (the geo map) override this.

Update 1 parameter

Updates the chart.

ChartUpdateParams chartUpdateParams The update params.

GetPointsAt 3 parameters

Gets all the ChartPoint that contain the given point.

LvcPointD point The given point.

FindingStrategy strategy The finding strategy, default is FindingStrategy.Automatic.

FindPointFor findPointFor The find point for, default is FindPointFor.HoverEvent.

GetVisualsAt 1 parameter

Gets all the IChartElement that contain the given point.

LvcPointD point The given point.

Load No parameters

Loads the control resources.

AddVisual 1 parameter

Adds a visual element to the chart.

IChartElement element *summary not found*

RemoveVisual 1 parameter

Removes a visual element from the chart.

IChartElement element *summary not found*

GetLegendPosition No parameters

Gets the legend position.

IsDrawn 1 parameter

Determines whether the specified series is drawn in the UI already for the given chart.

Int32 seriesId The series id.

GetTheme No parameters

Gets the active theme.

ApplyTheme No parameters

Applies the current theme to the chart.

Events

Measuring ChartEventHandler
Occurs before the chart is measured, this is the first step before the chart updates.
UpdateStarted ChartEventHandler
Occurs when the chart started an update, just when the drawing loop started.
UpdateFinished ChartEventHandler
Occurs when a chart update finished, just when the drawing loop finished.

Constructors

TreemapChartEngine 2 parameters

Treemap chart engine. Has no axes — series partition the draw-margin rectangle directly via a squarified layout.

ITreemapChartView view *summary not found*

CoreMotionCanvas canvas *summary not found*