Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Steema/TeeChart-VCL-GitHub-Contributions/llms.txt
Use this file to discover all available pages before exploring further.
Required Tools
To develop the GitHub Contributions Chart application, you’ll need:Delphi/C++Builder
Embarcadero Delphi or C++Builder (XE7 or later recommended)
TeeChart VCL
TeeChart VCL library for chart visualization
Recommended IDE Versions
- Delphi 10.4 Sydney or later (for best compatibility)
- C++Builder 10.4 or later (if using C++ development)
- Earlier versions (XE7+) may work but are not tested
TeeChart VCL Installation
The application relies heavily on TeeChart VCL components for visualizing the contribution graph.Install TeeChart VCL
TeeChart VCL is included with Delphi/C++Builder Professional and Enterprise editions. If you have a Community Edition, you’ll need to purchase or evaluate TeeChart separately from Steema Software.
Verify Installation
Open the Delphi IDE and check that the TeeChart components are available in the Tool Palette under the “TeeChart” tab.
Project Structure
The project follows a standard Delphi VCL application structure:File Descriptions
GitHubContributions.dpr
GitHubContributions.dpr
The main program file that initializes the VCL application and creates the main form.
Unit1.pas
Unit1.pas
Contains the main form class
TForm1 and all application logic including:- GitHub API integration
- Chart rendering logic
- Event handlers for user interactions
- Date/week calculations
Themes.pas
Themes.pas
Defines the
TTheme record type and provides two built-in themes:StandardTheme- Light theme with GitHub’s standard colorsGithubDarkTheme- Dark theme matching GitHub’s dark mode
Unit1.dfm
Unit1.dfm
Form definition file containing visual component properties and layout. This is automatically maintained by the Delphi IDE’s form designer.
Dependencies
The project uses the following Delphi/VCL units:Windows & System Units
VCL Components
Network Components
JSON Processing
TeeChart Components
Custom Units
Opening and Building the Project
Verify Dependencies
Ensure all units in the
uses clauses can be found. The IDE will highlight any missing units in red.Build the Project
Select Project > Build GitHubContributions or press Shift+F9.
The first build may take longer as the compiler processes all TeeChart units.
Configuration Requirements
Internet Access
The application requires internet access to:- Fetch GitHub contribution data from
github-contributions.vercel.app - No authentication is required for the API
System Requirements
- OS: Windows 7 or later
- RAM: 2GB minimum (4GB recommended)
- Disk Space: 100MB for compiled application
Troubleshooting
TeeChart components not found
TeeChart components not found
Problem: Build fails with errors about missing TeeChart units.Solution:
- Verify TeeChart is properly installed
- Check that TeeChart library paths are in Tools > Options > Library Path
- Try reinstalling TeeChart from the GetIt Package Manager
HTTP request fails
HTTP request fails
Problem: Application cannot fetch GitHub data.Solution:
- Check your internet connection
- Verify firewall settings allow HTTP requests
- Test the API directly:
https://github-contributions.vercel.app/api/v1/sallar
JSON parsing errors
JSON parsing errors
Problem: Application crashes when processing GitHub data.Solution:
- Ensure you’re using Delphi XE7 or later (required for modern JSON support)
- Check that System.JSON units are properly included
- Verify the API response format hasn’t changed
Next Steps
Code Structure
Learn about the application architecture and key procedures
API Reference
Explore the complete API documentation for all functions
