Reusable charting library for rendering line graphs and bar charts in Factorio mods.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
Version: 1.0.9
Date: 2026-02-19
Changes:
- Removed unused animation module (impractical in Factorio's rendering engine)
- Fixed test failure in create_overlay_buttons (require inside test body)
- Documented custom function support for label_format in line graphs
Version: 1.0.8
Date: 2025-02-19
Features:
- Reorganized source files into core/, charts/, and interaction/ subdirectories
- New sub-table API (charts.surface, charts.render, charts.interaction, etc.)
- Added create_overlay_buttons for z-ordered GUI button creation on camera widgets
- Expanded documentation covering interaction, time series, and overlay buttons
Info:
- All existing flat API calls (e.g. charts.create_surface) remain fully backward compatible
Version: 1.0.2
Date: 2025-01-03
Features:
- Added mod portal thumbnail
- Added factorio-test-harness integration for automated CLI testing
Version: 1.0.1
Date: 2025-01-03
Features:
- Added test suite using FactorioTest framework
- Tests for surface management, line graphs, bar charts, and edge cases
Version: 1.0.0
Date: 2025-01-03
Features:
- Initial release
- Line graph rendering with multi-series support
- Stacked bar chart rendering
- Hidden surface and chunk management
- 12-color series palette
- Time and percentage label formatting