Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates an instance of the embedding SDK

Hierarchy

  • EmbedSDK

Index

Constructors

Methods

Constructors

constructor

  • new EmbedSDK(options: Partial<EmbedOptions>): EmbedSDK
  • Accepts an optional EmbedChartOptions object to use as the default options for any charts created using this SDK instance.

    const sdk = new EmbedSDK({
      baseUrl: "https://charts.mongodb.com",
    })

    Parameters

    • options: Partial<EmbedOptions>

    Returns EmbedSDK

Methods

createChart

  • Creates a new Chart instance that allows you to interact with and embed charts into your application

    Parameters

    Returns Chart

createDashboard

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc