This page showcases the various components used throughout the BoAnalytics platform. Each component is displayed with usage examples and code snippets.
Available Components
• Yield Curve Chart
The Yield Curve Chart displays Treasury yield data across different maturities, from 1 month to 30 years. The chart is interactive, with tooltips showing exact values on hover.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| width | number | 600 | Width of the chart in pixels |
| height | number | 300 | Height of the chart in pixels |
| data | array (optional) | Built-in data | Custom yield data points to display |
Usage Examples
Basic Usage
Basic implementation with default settings.
Custom Dimensions
Custom width and height for different aspect ratios.