• Resolved Nita

    (@nitayang)


    This is a great plugin and amazing code. I’m very grateful you created this plugin to make it easier for us to connect to Powerbi.

    Also, I ran into some issues. When I added my power bi chart it wasn’t showing up but had a white screen. I check the Javascript and it gave me a error:
    TypeError: models.backgroundType is undefined

    So I went into your plugin and found the line of code that had the error:
    Line 145:
    <?php if ( !empty( $background ) ) : ?>
    //background: <?php echo $background; ?>
    <?php endif; ?>

    I adjusted the code to be:
    background: models.BackgroundType.Transparent,

    It looks like the models.backgroundType was not found because it was BackgroundType with a capital B. Is it possible if you can update this in the plugin?

    • This topic was modified 6 years, 11 months ago by Nita.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Error On Background Type1’ is closed to new replies.