Hey
I forgot that I even asked this question. I think this was the fix though:
this.chart = new sap.viz.ui5.controls.VizFrame(
{
uiConfig : {
applicationSet : 'fiori'
},
width:'100%',
height:'100%',
vizType:"column",
});
Just add the applicationSet: 'fiori' part inside uiConfig.
I think this was the sollution. Let me know if this works for you.