I’m using an emulated browser created in C++, using the IWebBrowser2. I want to make a plotly plot, so i simply use a basic code example:
var trace1 = {
x: [1, 2, 3, 4],
y: [10, 15, 13, 17],
type: ‘scatter’
};
var trace2 = {
x: [1, 2, 3, 4],
y: [16, 5, 11, 9],
type: ‘scatter’
};
var data = [trace1, trace2];
Plotly.newPlot(‘myDiv’, data);
The plot is being displayed fine, but when i click and drag to zoom, nothing happens. When i leave the ‘div’, however, the zooming begins (i don’t even have to drag). When the mouse enters the div again, the zoom completes.
I have tested the very same html file in IE, and it works perfectly.
Anybody have an idea what’s going on here?