Open a Popup or even a window from a page with the model being used by a chart so far i have been able to open a new page from a script on the click of one of my charts however i want the page i open to have the same model used for the chart is there a way to do this with a generic page or even popup which show all fields in the visualization or even if i have to manually configure/pass the fields
this is as far as i have gotten with my javascript
(function(skuid){ ``` var $ = skuid.$;
//var myModel = skuid.model.getModel('MyModelId');
//var myComponent = skuid.component.getById('MyComponentUniqueId');
console.log("Chart element: " + document.getElementById("highcharts-4"));
console.log(document.getElementById("highcharts-4"));
window.onload = function(){
var chart = document.getElementById("highcharts-4");
console.log("Chart element: " + document.getElementById("highcharts-4"));
console.log(document.getElementById("highcharts-4"));
chart.onclick = function(){
console.log(window);
window.open("www.google.com",'_blank');
}
};
})(skuid);