You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The trendline/line plots in the styleguide are not appearing correctly (anything scattergl). It appears they still work in the actual application.
Expected results
2. Plot appears correctly with trend lines
Actual results
2. Plot only shows the area graph
Additional details and attachments
There is an error in the logs:
index.js:1 Error: (regl) Error compiling fragment shader, http://localhost:4000/static/js/vendors~main.chunk.js:426274:22
at Function.raise (bundle.js:987)
at Function.checkShaderError [as shaderError] (bundle.js:987)
at Object.getShader [as shader] (bundle.js:987)
at bundle.js:987
at Function.checkOptional [as optional] (bundle.js:987)
at parseShader (bundle.js:987)
at parseProgram (bundle.js:987)
at parseArguments (bundle.js:987)
at Object.compileCommand [as compile] (bundle.js:987)
at compileProcedure (bundle.js:987)
at Function.push.../../node_modules/regl-line2d/index.js.Line2D.createShaders (index.js:126)
at new Line2D (index.js:47)
at Line2D (index.js:23)
at Object.plot (plot.js:67)
at plotOne (index.js:259)
at Object.push.../../node_modules/plotly.js/src/plots/cartesian/index.js.exports.plot (index.js:182)
at push.../../node_modules/plotly.js/src/plot_api/subroutines.js.exports.drawData (subroutines.js:585)
at Object.push.../../node_modules/plotly.js/src/lib/index.js.lib.syncOrAsync (index.js:455)
at Object._doPlot (plot_api.js:389)
at Object.newPlot (plot_api.js:566)
at Object.react (plot_api.js:2594)
at factory.js:82
Running a scattergl command in the IDE works fine:
from deephaven.TableTools import emptyTable
from deephaven.Plot import plot
t = emptyTable(100).update("x=i", "y=Math.random()*(i*100)")
p = plot("Plot", t, "x", "y").plotStyle("SCATTER").show()
If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.
Versions
Deephaven: ...
OS: ...
Browser: ...
Docker: ...
The text was updated successfully, but these errors were encountered:
I switched the 'scattergl' types to 'scatter' in the MockChartModel for the styleguide in #1608 . @mofojed I'll leave it up to you whether this needs more digging, but the styleguide should be working once that PR merges.
Description
The trendline/line plots in the styleguide are not appearing correctly (anything scattergl). It appears they still work in the actual application.
Steps to reproduce
Expected results
2. Plot appears correctly with trend lines
Actual results
2. Plot only shows the area graph
Additional details and attachments
There is an error in the logs:
Running a scattergl command in the IDE works fine:
If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.
Versions
The text was updated successfully, but these errors were encountered: