-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(line): use curveMonotone (#5751)
- Loading branch information
Showing
24 changed files
with
62 additions
and
4 deletions.
There are no files selected for viewing
Binary file modified
BIN
+4 Bytes
(100%)
...integration/snapshots/animation/doughnut-purchases-line-path-in/interval0-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-58 Bytes
(100%)
...integration/snapshots/animation/doughnut-purchases-line-path-in/interval0-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-150 Bytes
(100%)
...integration/snapshots/animation/doughnut-purchases-line-path-in/interval0-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-206 Bytes
(99%)
__tests__/integration/snapshots/interaction/weather-line-legend-mark/step0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-133 Bytes
(100%)
__tests__/integration/snapshots/interaction/weather-line-legend-mark/step1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+147 Bytes
(100%)
__tests__/integration/snapshots/static/browserImageTrending.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+9 Bytes
(100%)
__tests__/integration/snapshots/static/forecastRangeAreaLine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+85 Bytes
(100%)
__tests__/integration/snapshots/static/gammaRandomLineSortXQuantitative.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-39 Bytes
(100%)
__tests__/integration/snapshots/static/stocksLineSeriesGradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-148 Bytes
(100%)
__tests__/integration/snapshots/static/weatherLineAreaDualAxis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-82 Bytes
(100%)
__tests__/integration/snapshots/static/weatherLineMultiAxes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-47 Bytes
(100%)
__tests__/integration/snapshots/static/weatherLineMultiAxesAutoPadding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-133 Bytes
(100%)
__tests__/integration/snapshots/static/weatherLineMultiAxesLegend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+63 Bytes
(100%)
__tests__/integration/snapshots/static/weatherLineMultiScrollbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-45 Bytes
(100%)
__tests__/integration/snapshots/static/weatherLineMultiSlider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-214 Bytes
(100%)
__tests__/integration/snapshots/static/weatherLineViewLabelTransform.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { G2Spec } from '../../../src'; | ||
|
||
export function mockLineCloseX(): G2Spec { | ||
return { | ||
type: 'line', | ||
data: [ | ||
{ x: 0, y: 0 }, | ||
{ x: 0.02, y: 0.8 }, | ||
{ x: 1, y: 1 }, | ||
], | ||
encode: { x: 'x', y: 'y' }, | ||
style: { shape: 'smooth' }, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { G2Spec } from '../../../src'; | ||
|
||
export function mockLineZeroX(): G2Spec { | ||
return { | ||
type: 'line', | ||
data: [ | ||
{ date: '2-1', close: 1 }, | ||
{ date: '2-2', close: 10 }, | ||
{ date: '2-3', close: 0 }, | ||
{ date: '2-4', close: 0 }, | ||
{ date: '2-5', close: 12 }, | ||
], | ||
encode: { x: 'date', y: 'close' }, | ||
style: { shape: 'smooth' }, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { G2Spec } from '../../../src'; | ||
|
||
export function mockLineZeroY(): G2Spec { | ||
return { | ||
type: 'line', | ||
coordinate: { transform: [{ type: 'transpose' }] }, | ||
data: [ | ||
{ date: '2-1', close: 1 }, | ||
{ date: '2-2', close: 10 }, | ||
{ date: '2-3', close: 0 }, | ||
{ date: '2-4', close: 0 }, | ||
{ date: '2-5', close: 12 }, | ||
], | ||
encode: { x: 'date', y: 'close' }, | ||
style: { shape: 'smooth' }, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters