YOUSEFUL / DELPHI / COMPONENTS

TAtlasPlotMarks

Which label a TAtlasPlotSeries draws next to each point.

Enumeration Unit Atlas.PlotSeries · Product Atlas Plot

Description

Value of TAtlasPlotSeries.Marks. Marks sit above positive points and below negative ones (to the right or left when Rotated), at the end of each bar, and outside each pie slice. Marks of points outside the plot area are not drawn.

Members

MemberKindWhat it does
pmNonevalueNo marks.
pmValuevalueThe point's value, formatted 0.##.
pmTextvalueThe point's Text, or its value when the text is empty.
pmPercentvalueThe point's share, formatted 0.#%: of the positive slices' total for a pie, of the sum of absolute values of the series otherwise.

Values

pmNone value

pmNone

No marks. The default.

pmValue value

pmValue

The point's value, formatted 0.##.

pmText value

pmText

The point's Text, or its value when the text is empty.

pmPercent value

pmPercent

The point's share, formatted 0.#%: of the positive slices' total for a pie, of the sum of absolute values of the series otherwise.

Examples

Donut with percentages

A donut whose slices are labelled with their share.

pascal
uses
  Atlas.Plot, Atlas.PlotSeries;

procedure TicketDonut(Plot: TAtlasPlot);
var
  Tickets: TAtlasPlotSeries;
begin
  Plot.DonutPercent := 45;
  Tickets := Plot.AddSeries('Tickets', pkPie);
  Tickets.Marks := pmPercent;
  Tickets.AddY(412, 'Email');
  Tickets.AddY(268, 'Chat');
  Tickets.AddY(131, 'Phone');
end;

TAtlasPlotSeries

Also in Atlas Plot

TAtlasPlot