Visualization Components
TeeBI provides specialized visual components:| Component | Purpose | Source |
|---|---|---|
| TBIChart | Chart visualizations | VCLBI.Chart.pas, FMXBI.Chart.pas |
| TBIGrid | Tabular data display | VCLBI.Grid.pas, FMXBI.Grid.pas |
| TBITree | Hierarchical trees | BI.Tree.pas |
| Geographic | World maps and statistics | BI.Geographic.pas |
Automatic Visualization
TeeBI automatically selects the best visualization:VCLBI.Chart.pas:207-281 for TBIChart class.
Visualization Modes
TheTBIChartMode enum (VCLBI.Chart.pas:114) defines:
- Automatic - TeeBI selects best mode
- XY - 2D charts (bar, line, pie, etc.)
- ThreeD - 3D surface and grid charts
- Financial - Candlestick/OHLC charts
- Geographic - World maps with data overlay
Forcing a Mode
Data Assignment
Multiple ways to assign data:Direct Assignment
From Arrays
VCLBI.Chart.pas:261-265 for Fill methods.
From Pivot Tables
VCLBI.Chart.pas:264 for Fill(TSummary) method.
From Histograms
VCLBI.Chart.pas:263 for Fill(THistogram) method.
Chart Options
Configure visualization usingTBIChartOptions (VCLBI.Chart.pas:124-200):
Options Properties
| Property | Type | Description |
|---|---|---|
| Mode | TBIChartMode | Visualization type |
| Dimensions | TBIChartDimensions | 2D/3D view |
| Direction | TBIChartDirection | Rows/Columns |
| Legend | TBIChartLegend | Show/Hide legend |
| Marks | TBIChartMarks | Value labels |
| Stacked | TBIChartStacked | Stacked series |
VCLBI.Chart.pas:124-200 for all options.
Responsive Design
TeeBI adapts visualizations to data:- Few points - Bar or column charts
- Many points - Line or area charts
- Categories - Pie or doughnut charts
- Time series - Line charts with date axis
- Geographic text - Automatic map display
- Multiple series - Stacked or grouped charts
VCLBI.Chart.pas:1038-1052 for mode detection.
Platform Support
Both VCL and FireMonkey:Performance Tips
Next Steps
Charts
Configure TBIChart visualizations
Grids
Display data in TBIGrid
Trees
Hierarchical tree visualization
Geographic
World maps and statistics
