Real-Time Data
Examples showing how to efficiently update charts with streaming data.Real-Time Series
-
FastLine Realtime - High-performance real-time line charts
~/workspace/source/VCL/TeeNew/FastLine_Realtime.pas -
ColorGrid Realtime - Real-time color grid updates
~/workspace/source/VCL/TeeNew/ColorGrid_Realtime.pas -
Realtime Scrolling - Scrolling real-time data display
~/workspace/source/VCL/TeeNew/Realtime_Scrolling.pas
Dynamic Updates
-
Curve Fitting Dynamic - Dynamic curve fitting on changing data
~/workspace/source/VCL/TeeNew/CurveFitting_Dynamic.pas -
Dynamic Add Series - Add series dynamically at runtime
~/workspace/source/VCL/TeeNew/Series_AddDynamic.pas
OpenGL Rendering
Hardware-accelerated 3D rendering for superior performance and visual quality.OpenGL Configuration
-
OpenGL Canvas - Enable OpenGL rendering
~/workspace/source/VCL/TeeNew/OpenGL_Canvas.pas -
OpenGL Editor - OpenGL settings editor
~/workspace/source/VCL/TeeNew/OpenGL_Editor.pas -
OpenGL Anti-Alias - Hardware anti-aliasing
~/workspace/source/VCL/TeeNew/OpenGL_AntiAlias.pas
OpenGL 3D Examples
-
OpenGL Surface - 3D surface rendering with OpenGL
~/workspace/source/VCL/TeeNew/OpenGL_Surface.pas -
OpenGL TriSurface - Triangulated surface rendering
~/workspace/source/VCL/TeeNew/OpenGL_TriSurface.pas -
OpenGL Football - Complex 3D visualization example
~/workspace/source/VCL/TeeNew/OpenGL_Football.pas
Lighting and Effects
- OpenGL Light Direction - Control 3D lighting
~/workspace/source/VCL/TeeNew/OpenGL_LightDirection.pas
3D Visualization
Surface Charts
-
Surface Series - 3D surface visualization
~/workspace/source/VCL/TeeNew/Surface_Series.pas -
ColorGrid Series - Color-coded grid visualization
~/workspace/source/VCL/TeeNew/ColorGrid_Series.pas -
Contour Series - Contour plots
~/workspace/source/VCL/TeeNew/Contour_Series.pas -
Tower Series - 3D tower charts
~/workspace/source/VCL/TeeNew/Tower_Series.pas
3D Point Charts
-
Point3D Series - 3D scatter plots
~/workspace/source/VCL/TeeNew/Point3D_Series.pas -
Point3D XYZ - Three-dimensional point positioning
~/workspace/source/VCL/TeeNew/Point3D_XYZ.pas
Vector and Trisurf
-
Vector3D Series - 3D vector field visualization
~/workspace/source/VCL/TeeNew/Vector3D_Series.pas -
TriSurface Series - Triangulated irregular network (TIN) surfaces
~/workspace/source/VCL/TeeNew/TriSurf_Series.pas
Database and Data Management
Database Connectivity
-
Database Chart - Connect charts to database sources
~/workspace/source/VCL/TeeNew/DB_Chart.pas -
DBChart Query - Execute queries and visualize results
~/workspace/source/VCL/TeeNew/DBChart_Query.pas -
CrossTab Source - CrossTab data analysis
~/workspace/source/VCL/TeeNew/CrossTab_Source.pas
Data Streaming
-
TeeChart Stream - Stream chart data
~/workspace/source/VCL/TeeNew/Chart_Stream.pas -
Series Stream - Serialize series data
~/workspace/source/VCL/TeeNew/Series_Stream.pas
Performance Optimization
High-Performance Series
-
FastLine Series - Optimized line rendering
All FastLine examples demonstrate high-performance techniques -
Point Series Drawing - Efficient point rendering
~/workspace/source/VCL/TeeNew/Point_DrawPointer.pas
Chart Optimization
-
BufferedDisplay - Use double-buffering for smooth rendering
~/workspace/source/VCL/TeeNew/Chart_BufferedDisplay.pas -
Clipping - Optimize rendering with clipping
~/workspace/source/VCL/TeeNew/Series_Clipping.pas
Custom Series Development
Creating Custom Series
-
Custom Series - Build your own series types
~/workspace/source/VCL/TeeNew/Custom_Series.pas -
Custom Draw - Override default drawing
~/workspace/source/VCL/TeeNew/Series_CustomDraw.pas -
OnGetPointerStyle - Dynamic pointer styles
~/workspace/source/VCL/TeeNew/Point_OnGetPointerStyle.pas
Custom Functions
-
Custom Function - Create custom data functions
~/workspace/source/VCL/TeeNew/CustomFunction_Example.pas -
Function OnCalculate - Custom calculation logic
~/workspace/source/VCL/TeeNew/Function_OnCalculate.pas
Advanced Export
Export Formats
-
Export HTML - Export interactive HTML charts
~/workspace/source/VCL/TeeNew/Export_HTML.pas -
Export SVG - Scalable vector graphics export
~/workspace/source/VCL/TeeNew/Export_SVG.pas -
Export XAML - Export to XAML format
~/workspace/source/VCL/TeeNew/Export_XAML.pas
Advanced Print Options
-
Print Resolution - High-resolution printing
~/workspace/source/VCL/TeeNew/Print_Resolution.pas -
Print Margins - Custom print margins
~/workspace/source/VCL/TeeNew/Print_Margins.pas
Complex Interactions
Mouse and Click Events
-
OnClickSeries - Handle series click events
~/workspace/source/VCL/TeeNew/Series_OnClickSeries.pas -
OnClickLegend - Legend click handling
~/workspace/source/VCL/TeeNew/Legend_OnClickLegend.pas -
Cursor Tool - Custom cursor interactions
~/workspace/source/VCL/TeeNew/CursorTool_Series.pas
Drag and Drop
-
Drag Point - Drag data points to modify values
~/workspace/source/VCL/TeeNew/DragPoint_Tool.pas -
Drag Series - Move entire series
~/workspace/source/VCL/TeeNew/Series_Drag.pas
Advanced Tools
Analysis Tools
-
Crosshair Tool - Precision data inspection
~/workspace/source/VCL/TeeNew/CrosshairTool_Series.pas -
Nearest Point Tool - Find nearest data points
~/workspace/source/VCL/TeeNew/NearestPoint_Tool.pas -
Chart Image Tool - Overlay images on charts
~/workspace/source/VCL/TeeNew/ChartImageTool_Series.pas
Drawing Tools
-
Draw Line Tool - Draw custom lines
~/workspace/source/VCL/TeeNew/DrawLine_Tool.pas -
Extra Legend Tool - Multiple legends
~/workspace/source/VCL/TeeNew/ExtraLegend_Tool.pas
Multi-Chart Scenarios
Multiple Charts
-
SubChart Tool - Charts within charts
~/workspace/source/VCL/TeeNew/SubChart_Tool.pas -
Chart Link - Link multiple charts
~/workspace/source/VCL/TeeNew/Chart_Link.pas -
Synchronized Charts - Synchronize zoom and scroll
~/workspace/source/VCL/TeeNew/Chart_Synchronized.pas
Memory Management
Large Datasets
-
Virtual Series - Handle millions of points efficiently
~/workspace/source/VCL/TeeNew/Series_Virtual.pas -
Downsampling - Reduce data for display
~/workspace/source/VCL/TeeNew/Downsample_Function.pas
Threading and Async
Threaded Operations
- Thread Safe Updates - Update charts from background threads
~/workspace/source/VCL/TeeNew/Thread_Safe.pas
FMX Advanced Examples
FMX Pro Features
Advanced FireMonkey examples located in~/workspace/source/FMX/Demo/Pro/:
- Surface charts
- Contour plots
- 3D point series
- Vector fields
- Advanced functions
FMX Functions
Function examples in~/workspace/source/FMX/Demo/Functions/:
- Statistical functions
- Smoothing algorithms
- Trend analysis
- Custom calculations
Special Applications
Maps and GIS
For geographic visualization:-
Map Series - Geographic data visualization
See~/workspace/source/VCL/Map_Layers/for map examples -
Spherical Maps - World map projections
See~/workspace/source/VCL/Map_Spherical_FIPS/
Gauges and Instruments
For dashboard-style visualizations:-
Activity Gauge - Circular gauges
See~/workspace/source/VCL/ActivityGauge/ -
Knob Series - Rotary controls
~/workspace/source/VCL/TeeNew/Knob_Series.pas
Performance Tips
- Use FastLine for real-time data instead of regular Line series
- Enable OpenGL for complex 3D visualizations
- Disable animations during rapid updates
- Use virtual series for datasets exceeding 100,000 points
- Implement downsampling for display optimization
- Batch updates using BeginUpdate/EndUpdate
- Use clipping to skip off-screen rendering
Next Steps
Explore complete demo applications:- TeeNew Demo - All 687 VCL examples organized by category
- FMX Demo - Complete FireMonkey demonstration
- TeeMaker Demo - 3D visualization and animation tools
