Back to Home
/

Component Library

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

NameTypeDefaultDescription
widthnumber600Width of the chart in pixels
heightnumber300Height of the chart in pixels
dataarray (optional)Built-in dataCustom yield data points to display

Usage Examples

Basic Usage

Basic implementation with default settings.

Custom Dimensions

Custom width and height for different aspect ratios.