TBIChart component automatically creates charts from data with intelligent type detection.
Basic Usage
VCLBI.Chart.pas:207 for the TBIChart class definition.
Chart Types
TeeBI supports all TeeChart series types:- Bar, Column, Horizontal Bar
- Line, Area, Points
- Pie, Doughnut
- 3D Surface, Grid, XYZ
- Candlestick, OHLC (financial)
- Map (geographic)
Automatic Selection
TeeBI chooses based on data characteristics:VCLBI.Chart.pas:1038-1052 for selection logic.
Manual Selection
VCLBI.Chart.pas:180-181 for series properties.
Chart Modes
Control visualization mode usingTBIChartMode:
XY Mode (2D Charts)
3D Mode
VCLBI.Chart.pas:1055-1091 for 3D chart creation.
Financial Mode
VCLBI.Chart.pas:1174-1180 for financial charts.
Geographic Mode
VCLBI.Chart.pas:1193-1194 for geographic charts.
Chart Options
Configure usingTBIChartOptions (VCLBI.Chart.pas:124):
View Dimensions
Legend
Value Marks
Stacking
Direction
VCLBI.Chart.pas:183-199 for all options.
Data Items Configuration
Control which fields map to X, Y, Z axes usingTBIChartItems:
VCLBI.Chart.pas:57-108 for TBIChartItems.
Multiple Series
Add multiple data series:VCLBI.Chart.pas:261 for the Fill method.
Axes Configuration
Dual Axes
VCLBI.Chart.pas:270 for SetTwoAxes.
Split Axes
VCLBI.Chart.pas:271 for SplitAxes.
Customization
Access underlying TeeChart:VCLBI.Chart.pas:273 for the Chart property.
Exchange Axes
Swap X and Y axes:VCLBI.Chart.pas:232-234 for exchange methods.
Complete Example
Next Steps
Grids
Display data in grid format
Geographic
Create map visualizations
