ios-inspired-minichart
Reactive icon

iOS Inspired Minichart

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 3 Apr (17 hours ago)
 by 
0.0
 (0 ratings)
ios-inspired-minichart

iOS Inspired Minichart

Documentation
1.0.0

Mini Chart Component Documentation (iOS Inspired)

Overview

The Mini Chart Component is a lightweight, high-performance sparkline generator for OutSystems Reactive and Mobile applications. Its design is heavily inspired by iOS data visualization, focusing on elegance, fluid curves, and a clean aesthetic.

Key Features

  • iOS Aesthetic: Clean, minimalist lines with optional Bezier smoothing for a premium "Apple-style" look.

  • Fully Responsive: Automatically adapts to container size changes.

  • Mobile Optimized: Uses requestAnimationFrame and DevicePixelRatio for crisp, high-definition rendering on Retina displays.

  • Zero Dependencies: No external libraries required.


Input Parameters

ParameterTypeDescription
WidgetIdTextThe Unique ID of the chart's parent container (passed via Container.Id).
DataJSONTextA JSON string: [{"Value": 10}, {"Value": 25}, ...]
LineColorTextHEX/RGBA color (e.g., #2563eb). Matches iOS system colors well.
LineThicknessIntegerLine width in pixels. Default is 2.
IsSmoothBooleanSet to True for the signature iOS curved look.
BackgroundStyleTextSet to "Dashed" for subtle grid lines.
BackgroundColorTextBackground color of the chart area.

Technical Behavior

  • Retina Ready: The component detects the screen's pixel density to ensure that lines look as sharp as native iOS components.

  • Resilience: Built to handle the "Virtualization" of OutSystems lists, ensuring the chart renders correctly as the user scrolls.

Design Tips

To achieve the most authentic iOS look:

  1. Set IsSmooth to True.

  2. Use a LineThickness of 2.

  3. Use semi-transparent colors for the background if using the "Dashed" style.

  4. Ensure the LineColor has good contrast against the background.