IE9 JS Plotly.redraw and Plotly.addTraces both throws Invalid Argument
See original GitHub issueI used the recommended way to load plotly for IE9 with the typedarray
<script>if(typeof window.Int16Array !== 'function')document.write("<scri"+"pt src='extras/typedarray.min.js'></scr"+"ipt>");</script>
<script type="text/javascript" src="plotly.min.js"></script>
I am trying to do a simple “bar” chart with three traces. However, both addTraces (adding one trace at a time) and redraw (array of traces) would throw “Invalid Argument” error in IE9 and no bars on graph
IE10+ works Chrome works
Is there a workaround for this in IE9? It is a little urgent
thanks for any help
Issue Analytics
- State:
- Created 8 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Problem with plotly.js redraw
I had a project that need to plot 2 sine wave graphs in a same div. The value of two graphs can be...
Read more >plotly.js-gl2d-dist-min | Yarn - Package Manager
Ready-to-use minified plotly.js gl2d distributed bundle. Contains trace modules heatmapgl , parcoords , pointcloud , scatter , scattergl and splom .
Read more >api documentation for plotly.js (v1.26.1)
addTraces (gd, traces, newIndices); function plotly.js.plotly.animate (gd, ... doTicks(gd, 'redraw'); } // Now plot the data function drawData() { var ...
Read more >plotly Changelog - PyUp.io
graph_objects` module. - `px.imshow` has a new `binary_string` boolean argument, which passes the image data as a b64 binary string when True.
Read more >High performance way to update graph with new data in Plotly?
I have quickly thrown this together (well, it took a great deal of effort to find out how to do it; I've just...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I stumbled upon the same error. Of course I’m not sure the cause is the same, but in my case the value of the value parameter passed to d3_style_setProperty.call was NaNpx (and name was #stroke-width). I could fix this by explictly adding marker.line.width option to my traces. e.g.
Hope this can be of any help…
Pretty sure #1332 fixes this - but please reopen if this or related problems persist.