How patrykandpatrick/vico works
Main Components Structure
Core Module
• Common Components
• Cartesian System
• Data Management
View System Integration
• Android Views Implementation
Compose Integration
• Base Compose
• Material 2 Theme
• Material 3 Theme
Sample Implementation
• Demo Applications
Key Architectural Elements
a. Core Architecture Layer:
• Core module as the foundation, containing:
• Cartesian chart system
• Data management system
• Drawing contexts and measuring systems
b. Platform Integration Layers:
• Demonstrate two parallel implementation paths:
• Views implementation (traditional Android)
• Compose implementation (with M2 and M3 theming)
c. Feature Components:
• Chart Types:
• Line charts
• Column charts
• Candlestick charts
• Markers and Decorations
• Axes (Horizontal and Vertical)
• Touch and Gesture Handling
Interaction Flows
• Data input → Chart Model → Rendering Pipeline
• User interaction → Gesture Handlers → Chart Updates
• Theme System → Component Styling
Implementation Details to Highlight
• Clear separation between:
• Core chart logic
• Platform-specific implementations
• Theming systems
• Data handling
• Drawing and measuring contexts