Skip to content

Sparkline — PAM Native UI

PAM Native UI · Android evidence

p-sparkline rendered by the production retained-native pipeline. The specimen below is a real Physical Samsung SM-G973F Android 12 (API 31) capture at 420 dpi, not an HTML recreation.

Physical Samsung layout and component route verified
Family
Data display
Module
sparkline
PHP facade
PSparkline
Native targets
Android · UIKit

Data display component rendered through the retained-native Android and UIKit pipeline.

Android specimen

p-sparkline running in the PAM Native UI Android catalog

This is a static or anatomical component. Its Android evidence is the rendered specimen; no synthetic interaction recording is published.

Showcase profiles

Every profile below is rendered by the Android catalog route shown above.

  • Default
  • Line
  • Bars
  • Fill
  • Smooth
  • Labels
  • Auto Draw

PHP usage

use Pam\MobileUi\Material\PSparkline;
use Pam\Native\UI\Text;

PSparkline::make(
    [
        'accessibilityLabel' => "PSparkline preview",
        'autoDraw' => true,
        'fill' => true,
    ],
    Text::make('Sparkline'),
);

The equivalent PAM template entry point is <p-sparkline>…</p-sparkline>.

See the PAM Native UI guide for event, state and styling conventions, and the quality contractfor native behavior requirements.

Component properties

PropertyObserved typeShowcase values
accessibilityLabelstring"PSparkline preview"
autoDrawbooltrue
fillbooltrue
lineWidthint3
showLabelsbooltrue
smoothbooltrue
typestring"trend", "bar"
valuesstring"12,18,14,26,22,34,31,42,38,52,48,64"