Skip to main content

render_analytics_dashboard

Function render_analytics_dashboard 

Source
pub fn render_analytics_dashboard(
    price_history: &[PricePoint],
    volume_history: &[VolumePoint],
    holders: &[TokenHolder],
    token_symbol: &str,
    chain: &str,
) -> String
Expand description

Renders a combined analytics dashboard with price, volume, and holder charts.

§Arguments

  • price_history - Price data points
  • volume_history - Volume data points
  • holders - Top token holders
  • token_symbol - Token symbol for the title
  • chain - Chain name for the title

§Returns

Returns a formatted string with all charts.