Skip to main content

Introduction

The TeeChart VCL samples repository contains over 600 examples demonstrating the full capabilities of TeeChart Pro VCL for RAD Studio, Delphi, and C++ Builder. These samples showcase chart types, interactive features, data visualization techniques, and advanced customization options.

Sample Categories

The VCL samples are organized into the following categories:

Standard Series

Bar, Line, Area, Pie, Point series with extensive customization options

Financial Charts

Candle, OHLC, Volume charts for financial data visualization

Statistical Charts

Box plots, Histograms, Error bars for statistical analysis

Gauges

Circular, Linear, Knob, and Activity gauges for dashboard displays

3D Charts

Surface, Contour, Point3D, Tower charts with 3D rendering

Maps

World maps, geographic data visualization, and map layers

Key Sample Projects

TeeNew Demo

The TeeNew directory contains the most comprehensive demo showcasing TeeChart VCL functionality with over 600 individual samples. This is the primary reference for learning TeeChart features. Location: ~/workspace/source/VCL/TeeNew/

Specialized Projects

Advanced office-style charting application with data import, analysis tools, and export capabilities.
Chart builder tool demonstrating runtime chart creation and customization.
Geographic visualization with multiple map layers, FIPS codes, and spherical projections.
Database integration examples showing data aggregation and real-time updates.

Requirements

You’ll need TeeChart Pro VCL evaluation or registered version to run the examples. Fully functional evaluation version available at steema.com/downloads/vcl

Getting Started

1

Install TeeChart VCL

Download and install TeeChart Pro VCL for your RAD Studio, Delphi, or C++ Builder version.
2

Open Sample Project

Navigate to the sample directory and open the .dproj or .dpr file in your IDE.
3

Build and Run

Compile the project and run to see the sample in action.
4

Explore the Code

Examine the source code to understand implementation details and techniques.

Sample Structure

Each sample typically includes:
  • .pas - Pascal source code with chart implementation
  • .dfm - Form definition with visual component layout
  • .dpr - Project file for standalone samples
  • .dproj - Project configuration for RAD Studio

Code Conventions

Samples follow these common patterns:
unit SampleName;
{$I TeeDefs.inc}

interface

uses
  Base, TeEngine, Series, TeeProcs, Chart;

type
  TSampleForm = class(TBaseForm)
    Series1: TChartSeries;
    procedure FormCreate(Sender: TObject);
  end;

implementation

procedure TSampleForm.FormCreate(Sender: TObject);
begin
  inherited;
  Series1.FillSampleValues(10);
end;

initialization
  RegisterClass(TSampleForm);
end.

Additional Resources

Animations

Animations/ - Chart animation and transitions

Export

Multiple samples for PDF, Excel, HTML, SVG, and image export

Real-time Data

FastLine_Realtime.pas and RingBuffer/ for live data streaming

Custom Drawing

Canvas samples showing custom rendering techniques

Next Steps

Explore the specific sample categories to dive deeper into each chart type and feature set.

Build docs developers (and LLMs) love