Skip to content

Commit b038c55

Browse files
committed
Fix stream graphs
1 parent 9cb3b5b commit b038c55

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

test/e2e/test_cases/web_content/analytical_operations/compare/stream_stacked.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ const testSteps = [
2121

2222
(chart) =>
2323
chart.animate({
24-
data: Object.assign(data, {
25-
filter: (record) => record.Year > 1972
26-
}),
24+
data,
2725
config: {
2826
channels: {
2927
x: 'Year',

test/e2e/test_cases/web_content/analytical_operations/sum/stream_stacked.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ const testSteps = [
2222

2323
(chart) =>
2424
chart.animate({
25-
data: Object.assign(data, {
26-
filter: (record) => record.Year > 1972
27-
}),
25+
data,
2826
config: {
2927
channels: {
3028
x: 'Year',

test/e2e/test_data/music_industry_history_1.mjs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ export const data = {
55
{ name: 'Revenue', unit: '$', type: 'measure' }
66
],
77
records: [
8-
['1972', 'Tapes', '0000000'],
9-
['1972', 'Vinyl', '0000000'],
10-
['1972', 'Cassette', '0000000'],
11-
['1972', 'CD', '0000000'],
12-
['1972', 'DVD', '0000000'],
13-
['1972', 'Other', '0000000'],
14-
['1972', 'Download', '0000000'],
15-
['1972', 'Streaming', '0000000'],
168
['1973', 'Cassette', '443000000'],
179
['1973', 'Tapes', '2941000000'],
1810
['1973', 'Vinyl', '8371000000'],
@@ -41,6 +33,7 @@ export const data = {
4133
['1981', 'Tapes', '891000000'],
4234
['1981', 'Vinyl', '7397000000'],
4335
['1982', 'Cassette', '3713000000'],
36+
['1982', 'CD', '0000000'],
4437
['1982', 'Tapes', '97000000'],
4538
['1982', 'Vinyl', '5922000000'],
4639
['1983', 'Cassette', '4706000000'],
@@ -58,6 +51,7 @@ export const data = {
5851
['1987', 'Cassette', '6776000000'],
5952
['1987', 'CD', '3631000000'],
6053
['1987', 'Vinyl', '2270000000'],
54+
['1988', 'Other', '0000000'],
6155
['1988', 'Cassette', '7531000000'],
6256
['1988', 'CD', '4594000000'],
6357
['1988', 'Vinyl', '1559000000'],
@@ -105,6 +99,7 @@ export const data = {
10599
['1999', 'CD', '20255000000'],
106100
['1999', 'Other', '585000000'],
107101
['1999', 'Vinyl', '93000000'],
102+
['2000', 'DVD', '0000000'],
108103
['2000', 'Cassette', '948000000'],
109104
['2000', 'CD', '20075000000'],
110105
['2000', 'Other', '424000000'],
@@ -121,8 +116,10 @@ export const data = {
121116
['2002', 'Vinyl', '65000000'],
122117
['2003', 'Cassette', '152000000'],
123118
['2003', 'CD', '15888000000'],
119+
['2003', 'Download', '0000000'],
124120
['2003', 'DVD', '11000000'],
125121
['2003', 'Other', '562000000'],
122+
['2003', 'Streaming', '0000000'],
126123
['2003', 'Vinyl', '61000000'],
127124
['2004', 'Cassette', '32000000'],
128125
['2004', 'CD', '15726000000'],

0 commit comments

Comments
 (0)