YOUSEFUL / DELPHI / COMPONENTS

TAtlasBoxPart

The part of a box plot a hit test found.

Enumeration Unit Atlas.BoxPlot · Product Atlas Plot Pro

Description

The Part of a TAtlasBoxHit. Outliers are drawn over boxes and boxes over whiskers, and hit testing checks them in that order.

Members

MemberKindWhat it does
bpNonevalueOrdinal 0.
bpBoxvalueOrdinal 1.
bpWhiskervalueOrdinal 2.
bpOutliervalueOrdinal 3.

Values

bpNone value

bpNone

Ordinal 0. Nothing at that point, or no render yet.

bpBox value

bpBox

Ordinal 1. The box between the quartiles, median line included.

bpWhisker value

bpWhisker

Ordinal 2. The whisker line or its caps, outside the box.

bpOutlier value

bpOutlier

Ordinal 3. An outlier circle; Outlier holds its index.

Examples

Ignore everything but outliers

Tests the part of a hit.

pascal
uses
  Atlas.BoxPlot;

function IsOutlierAt(Box: TAtlasBoxPlot; X, Y: Integer): Boolean;
begin
  Result := Box.HitTest(X, Y).Part = bpOutlier;
end;

TAtlasBoxHit · TAtlasBoxPlot

Also in Atlas Plot Pro

TAtlasBoxPlot · TAtlasHeatMap · TAtlasPolarPlot