MAIDR JavaScript API
    Preparing search index...

    Module powerbi-entry

    Power BI adapter entry point for MAIDR.

    Re-exports the adapter's API and exposes it as window.maidrPowerBI for script-tag usage. A Power BI custom visual imports it as an ES module instead; see bindPowerBI.

    No powerbi-visuals-api dependency, at compile time or at runtime: the data view a visual receives is read structurally.

    import { bindPowerBI } from 'maidr/powerbi';

    // In the visual's constructor:
    this.maidr = bindPowerBI(options.element, { chartType: 'line', title: 'Sales' });
    // In update():
    this.maidr.update(options.dataViews?.[0]);
    // In destroy():
    this.maidr.dispose();

    References

    bindPowerBI → bindPowerBI
    convertPowerBIDataView → convertPowerBIDataView
    resolvePowerBIDataPoints → resolvePowerBIDataPoints
    PowerBIAdapterOptions → PowerBIAdapterOptions
    PowerBIBarMode → PowerBIBarMode
    PowerBIBinding → PowerBIBinding
    PowerBIBindOptions → PowerBIBindOptions
    PowerBICategorical → PowerBICategorical
    PowerBICategoryColumn → PowerBICategoryColumn
    PowerBIChartType → PowerBIChartType
    PowerBIConversion → PowerBIConversion
    PowerBIDataPointRef → PowerBIDataPointRef
    PowerBIDataView → PowerBIDataView
    PowerBIMetadataColumn → PowerBIMetadataColumn
    PowerBINavigateInfo → PowerBINavigateInfo
    PowerBIPrimitiveValue → PowerBIPrimitiveValue
    PowerBIRoleNames → PowerBIRoleNames
    PowerBITable → PowerBITable
    PowerBIValueColumn → PowerBIValueColumn
    PowerBIValueColumns → PowerBIValueColumns
    PowerBIValueTypeDescriptor → PowerBIValueTypeDescriptor
    MaidrData → Maidr
    MaidrLayer → MaidrLayer
    MaidrSubplot → MaidrSubplot
    Orientation → Orientation
    TraceType → TraceType