Black Lives Matter. Please consider donating to Black Girls Code today.

3D Ploty Lines Error

Hello,

When I rendering using 3d Plotly lines+markers, Markers is good, but when I render the lines, the chart is not work well. Please help me.


below is my code

    Plotly.newPlot('myDiv', [{
      type: 'scatter3d',
      mode: 'lines+markers',
      x: [316311.185, 316307.236, 316306.5925, 316306.1728, 316305.9564, 316305.7807, 316305.6315, 316305.3899, 316305.1138, 316305.1578, 316305.7421, 316306.8303, 316308.1508, 316309.5202, 316310.7481, 316311.7406, 316312.7409, 316313.6804, 316314.5063, 316315.0915, 316315.4029, 316315.6165, 316315.413, 316314.8452, 316314.3352, 316313.9038, 316313.469, 316312.2791, 316311.5965, 316310.9499, 316310.3065, 316309.7374, 316309.3629, 316309.407, 316309.7611, 316310.1065, 316310.4116, 316310.6956, 316310.9769, 316311.2227, 316311.3994, 316311.5377, 316311.6468, 316311.7308, 316311.8142, 316311.8755, 316311.9245, 316311.9241, 316311.865, 316311.7699, 316311.5931, 316311.3938, 316311.1873, 316310.9607, 316310.7721, 316308.7405],
      y: [9742333.505, 9742336.332, 9742336.805, 9742336.675, 9742336.602, 9742337.129, 9742337.58, 9742337.941, 9742338.19, 9742338.207, 9742337.867, 9742337.208, 9742336.263, 9742335.292, 9742334.371, 9742333.438, 9742332.586, 9742331.914, 9742331.279, 9742330.99, 9742331.096, 9742331.401, 9742332.066, 9742332.834, 9742333.687, 9742334.591, 9742335.545, 9742337.747, 9742338.832, 9742339.721, 9742340.154, 9742340.038, 9742339.65, 9742338.996, 9742338.16, 9742337.44, 9742336.84, 9742336.313, 9742335.774, 9742335.275, 9742334.912, 9742334.647, 9742334.448, 9742334.323, 9742334.228, 9742334.19, 9742334.194, 9742334.246, 9742334.356, 9742334.467, 9742334.563, 9742334.669, 9742334.755, 9742334.857, 9742334.983, 9742336.194],
      z: [0, -327.351964658104, -355.9408007018, -384.735275264028, -413.431982088566, -442.326641885212, -471.022693470933, -499.619323728405, -528.016858819701, -556.716213313488, -585.407632315233, -613.978874484112, -642.632817247036, -671.383751582649, -700.342872382182, -728.710162974437, -757.680345579645, -786.457104393846, -814.938030377753, -843.729407369052, -872.727508497083, -901.724838423786, -930.515431174814, -959.299582908499, -987.882200539208, -1016.56466051039, -1045.14532221812, -1101.48957625757, -1130.26102517313, -1158.93988061621, -1187.52873129242, -1216.22253280982, -1245.01738289397, -1273.40900834466, -1302.29474723018, -1330.88358228205, -1359.47561287966, -1388.06934047798, -1417.06298134452, -1446.05762260109, -1474.95474699515, -1503.55317909691, -1532.35225800717, -1561.25186323622, -1590.25158444402, -1619.0514873228, -1648.05144474636, -1676.8513771178, -1705.55110029098, -1734.25071965296, -1763.25000414375, -1792.04911649562, -1820.94823747024, -1849.84715873099, -1878.74626373502, -2029.32578134053],

      line: {
        width: 6,
        color: 123213,
        colorscale: "Viridis"},
      marker: {
        size: 3.5,
        color: 123213,
        colorscale: "Greens",
        cmin: -20,
        cmax: 50
      }},
    ]);

Possibly related to floating point limit.
Bug demo.

So it would work if you can avoid big digits: demo.