Skip to content

Commit

Permalink
Fix stream graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
schaumb committed Jul 29, 2024
1 parent 9cb3b5b commit b038c55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ const testSteps = [

(chart) =>
chart.animate({
data: Object.assign(data, {
filter: (record) => record.Year > 1972
}),
data,
config: {
channels: {
x: 'Year',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const testSteps = [

(chart) =>
chart.animate({
data: Object.assign(data, {
filter: (record) => record.Year > 1972
}),
data,
config: {
channels: {
x: 'Year',
Expand Down
13 changes: 5 additions & 8 deletions test/e2e/test_data/music_industry_history_1.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ export const data = {
{ name: 'Revenue', unit: '$', type: 'measure' }
],
records: [
['1972', 'Tapes', '0000000'],
['1972', 'Vinyl', '0000000'],
['1972', 'Cassette', '0000000'],
['1972', 'CD', '0000000'],
['1972', 'DVD', '0000000'],
['1972', 'Other', '0000000'],
['1972', 'Download', '0000000'],
['1972', 'Streaming', '0000000'],
['1973', 'Cassette', '443000000'],
['1973', 'Tapes', '2941000000'],
['1973', 'Vinyl', '8371000000'],
Expand Down Expand Up @@ -41,6 +33,7 @@ export const data = {
['1981', 'Tapes', '891000000'],
['1981', 'Vinyl', '7397000000'],
['1982', 'Cassette', '3713000000'],
['1982', 'CD', '0000000'],
['1982', 'Tapes', '97000000'],
['1982', 'Vinyl', '5922000000'],
['1983', 'Cassette', '4706000000'],
Expand All @@ -58,6 +51,7 @@ export const data = {
['1987', 'Cassette', '6776000000'],
['1987', 'CD', '3631000000'],
['1987', 'Vinyl', '2270000000'],
['1988', 'Other', '0000000'],
['1988', 'Cassette', '7531000000'],
['1988', 'CD', '4594000000'],
['1988', 'Vinyl', '1559000000'],
Expand Down Expand Up @@ -105,6 +99,7 @@ export const data = {
['1999', 'CD', '20255000000'],
['1999', 'Other', '585000000'],
['1999', 'Vinyl', '93000000'],
['2000', 'DVD', '0000000'],
['2000', 'Cassette', '948000000'],
['2000', 'CD', '20075000000'],
['2000', 'Other', '424000000'],
Expand All @@ -121,8 +116,10 @@ export const data = {
['2002', 'Vinyl', '65000000'],
['2003', 'Cassette', '152000000'],
['2003', 'CD', '15888000000'],
['2003', 'Download', '0000000'],
['2003', 'DVD', '11000000'],
['2003', 'Other', '562000000'],
['2003', 'Streaming', '0000000'],
['2003', 'Vinyl', '61000000'],
['2004', 'Cassette', '32000000'],
['2004', 'CD', '15726000000'],
Expand Down

0 comments on commit b038c55

Please sign in to comment.