Skip to content

Commit fd9a477

Browse files
committed
Changed scattergl to scatter to fix styleguide
#1572
1 parent e768849 commit fd9a477

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/chart/src/MockChartModel.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class MockChartModel extends ChartModel {
7474
name: 'SCTR',
7575
x: series.x,
7676
y: series.y,
77-
type: 'scattergl',
77+
type: 'scatter',
7878
mode: 'markers',
7979
hoverinfo: 'skip',
8080
marker: {
@@ -106,7 +106,7 @@ class MockChartModel extends ChartModel {
106106
name: 'Trendline <br>R<sup>2</sup> = 0.91',
107107
x: series.x,
108108
y: series.l,
109-
type: 'scattergl',
109+
type: 'scatter',
110110
mode: 'line' as PlotData['mode'],
111111
hoverinfo: 'skip',
112112
line: {
@@ -135,7 +135,7 @@ class MockChartModel extends ChartModel {
135135
name: 'error',
136136
x: (series.x as Datum[]).concat((series.x as Datum[]).slice().reverse()), // winding for x values, that slice just clones so reverse doesn't apply inplace
137137
y: errory,
138-
type: 'scattergl',
138+
type: 'scatter',
139139
mode: 'line' as PlotData['mode'],
140140
hoverinfo: 'skip',
141141
fill: 'toself', // there's some ordering bug with scattergl where if the areas traces are ordered after the lines they don't render
@@ -153,7 +153,7 @@ class MockChartModel extends ChartModel {
153153
name: 'LINE',
154154
x: series.x,
155155
y: series.y,
156-
type: 'scattergl',
156+
type: 'scatter',
157157
mode: 'line' as PlotData['mode'],
158158
hoverinfo: 'x+y+text+name' as PlotData['hoverinfo'],
159159
line: {

0 commit comments

Comments
 (0)