Overview
TeeNew is an essential resource for:- Learning - Browse examples organized by feature category
- Reference - Find code samples for specific functionality
- Exploration - Discover features you didn’t know existed
- Testing - Verify behavior and compatibility
Location
What’s Included
The TeeNew demo contains 687 Pascal (.pas) files, each demonstrating a specific feature or technique. Examples cover:Chart Series Types (100+ examples)
- Line, FastLine, Area, Bar, Horizontal Bar
- Pie, Donut, Shape, Arrow, Bubble
- Point, Point3D, Polar, Radar, Smith
- Candle, Volume, Gantt, BarJoin
- Surface, ColorGrid, Contour, Tower, TriSurface
- Vector3D, Bezier, Calendar, Darvas
- Error Bar, Error Point, Histogram, Box
- Knob, Funnel, Pyramid, and more
Axes and Scales (80+ examples)
- Multiple axes configuration
- DateTime, logarithmic, and custom scales
- Grid customization and bands
- Label formatting and positioning
- Scrolling and zooming
- Isometric and depth axes
Chart Tools (50+ examples)
- Annotation and callout tools
- ColorLine and ColorBand
- Cursor and crosshair tools
- Drag point and nearest point
- Legend and extra legend
- Zoom, pan, and scroll tools
- Draw line and chart image tools
Functions (40+ examples)
- Statistical: Average, Median, Mode, Standard Deviation
- Smoothing: Moving Average, Exponential Smoothing
- Trend: Linear, Logarithmic, Exponential, Polynomial
- Mathematical: Add, Subtract, Multiply, Divide, High, Low
- Curve Fitting and Custom Functions
3D Features (60+ examples)
- 3D percentage and perspective
- Rotation and elevation
- Lighting and shadows
- Orthogonal and perspective views
- 3D depth for all series types
- OpenGL acceleration
Visual Customization (70+ examples)
- Gradients and transparency
- Patterns and images
- Custom colors and brushes
- Background walls and panels
- Titles and legends
- Marks and labels
Export and Output (25+ examples)
- Native .tee format
- Image formats: BMP, JPEG, PNG, GIF
- Vector formats: SVG, PDF, EMF, WMF
- HTML and JavaScript
- XAML export
- Print and print preview
Database Integration (15+ examples)
- DBChart components
- CrossTab sources
- Query visualization
- Live data binding
Real-time and Performance (20+ examples)
- Real-time data updates
- FastLine for high-speed rendering
- Buffered display
- OpenGL acceleration
- Virtual series for large datasets
Interactivity (30+ examples)
- Mouse and click events
- Series dragging
- Point editing
- Dynamic series addition
- Custom cursors
How to Use TeeNew
Running the Demo
-
Navigate to the TeeNew directory:
- Open the project in Delphi/RAD Studio
- Compile and run the application
- Browse examples by category or search by name
Exploring Examples
Each example is self-contained and includes:- Source Code (.pas file) - Complete implementation
- Form Definition (.dfm file) - Visual layout
- Inline Comments - Explanation of key concepts
Learning from Examples
Recommended approach:- Browse by Category - Start with familiar chart types
- Read the Code - Understand the implementation
- Modify and Experiment - Change properties and see results
- Copy and Adapt - Use code in your own projects
Example Categories
Basic Series Examples
File naming convention:[SeriesType]_[Feature].pas
Examples:
Bar_Gradient.pas- Gradient-filled barsLine_Pointer.pas- Line series with point markersArea_Stairs.pas- Stepped area chartsPie_Exploded.pas- Exploded pie slices
Axis Examples
File naming convention:Axis_[Feature].pas or Axes_[Feature].pas
Examples:
Axis_Custom.pas- Custom axis configurationAxis_MultiRuntime.pas- Multiple axes at runtimeAxes_GridBands.pas- Grid band patternsAxis_Millisec.pas- Millisecond time formatting
Tool Examples
File naming convention:[ToolName]_[Feature].pas
Examples:
Annotation_Tool.pas- Text annotationsColorLine_DragRepaint.pas- Draggable color linesCursorTool_Series.pas- Cursor tool configurationZoomScroll_Button.pas- Zoom and scroll controls
Function Examples
File naming convention:[FunctionName]_[Feature].pas
Examples:
AverageFunction_Period.pas- Moving average calculationTrendFunction_Series.pas- Trend line analysisSmoothingFunction_Interpolate.pas- Data smoothingHistogramFunction_Series.pas- Histogram generation
Chart Features
File naming convention:Chart_[Feature].pas
Examples:
Chart_ScrollBar.pas- Scrollbar integrationChart_PrintPreview.pas- Print previewChart_3DPercent.pas- 3D depth percentageChart_CustomChartRect.pas- Custom chart area
Export Examples
File naming convention:Export_[Format].pas
Examples:
Export_Native.pas- Native .tee formatExport_Picture.pas- Image exportExport_HTML.pas- HTML generationExport_SVG.pas- SVG vector export
OpenGL Examples
File naming convention:OpenGL_[Feature].pas
Examples:
OpenGL_Canvas.pas- Enable OpenGL renderingOpenGL_AntiAlias.pas- Hardware anti-aliasingOpenGL_Surface.pas- 3D surface with OpenGLOpenGL_LightDirection.pas- 3D lighting control
Special Examples
All Series Viewer
File:All_Series.pas
Interactive browser showing all available series types with:
- Visual preview of each series
- 2D/3D toggle
- Sample data for each type
- Direct access to series properties
All Functions Viewer
File:All_Functions.pas
Comprehensive overview of all mathematical and statistical functions.
Code Examples
Typical example structure:Finding Examples
By Feature Category
Common prefixes:Bar_*- Bar chart examples (20+ files)Line_*orFastLine_*- Line chart examples (15+ files)Area_*- Area chart examples (10+ files)Pie_*- Pie chart examples (10+ files)Axis_*orAxes_*- Axis examples (40+ files)Point_*orPoint3D_*- Point series examples (20+ files)Surface_*- 3D surface examples (10+ files)Candle_*orVolume_*- Financial charts (10+ files)Annotation_*- Annotation examples (5+ files)OpenGL_*- OpenGL rendering (10+ files)
By Functionality
Search for specific features:- Gradient: Files containing
Gradient - 3D: Files containing
3DorZ - Custom: Files containing
Custom - Runtime: Files containing
RuntimeorDynamic - Real-time: Files containing
Realtime - Export: Files starting with
Export_
Integration with Your Projects
Copy and Adapt
- Locate the example demonstrating your desired feature
- Open the .pas file to view implementation
- Copy relevant code sections to your project
- Adapt property names and values as needed
Reference Implementation
Use TeeNew examples as:- Syntax Reference - Correct property and method usage
- Best Practices - Recommended patterns and techniques
- Feature Discovery - Learn about capabilities you need
Tips for Browsing
- Start with All_Series.pas - Overview of available chart types
- Use filename patterns - Quick way to find related examples
- Check FormCreate - Main initialization code is usually here
- Look for Button handlers - Interactive features demonstrated
- Read inline comments - Important notes and explanations
Related Resources
- Basic Examples - Curated beginner examples
- Intermediate Examples - Mid-level features
- Advanced Examples - Complex scenarios
- FMX Demo - FireMonkey equivalent examples
Statistics
- Total Examples: 687 Pascal files
- Total Form Files: 687 DFM files
- Categories: 15+ major categories
- Series Types: 60+ different series types demonstrated
- Tools: 20+ chart tools examples
- Functions: 25+ mathematical/statistical functions
Next Steps
After exploring TeeNew:- Try the FMX Demo for cross-platform examples
- Explore TeeMaker for 3D visualization
- Check the Features section for detailed component documentation
- Review VCL Samples and FMX Samples for more examples
