Skip to content

Commit 0222753

Browse files
committed
Merge branch 'main' of github.com:vizzuhq/vizzu-lib into main
2 parents ccb5deb + 449dae3 commit 0222753

File tree

7 files changed

+71
-55
lines changed

7 files changed

+71
-55
lines changed

test/integration/test_cases/data_fault/column_rectangle_less_disc.mjs

Lines changed: 0 additions & 20 deletions
This file was deleted.

test/integration/test_cases/data_fault/column_rectangle_more_conti.mjs

Lines changed: 0 additions & 20 deletions
This file was deleted.

test/integration/test_cases/data_fault/column_rectangle_more_disc.mjs renamed to test/integration/test_cases/data_fault_and_formats/column_rectangle_more_disc.mjs

File renamed without changes.

test/integration/test_cases/test_cases.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -276,17 +276,7 @@
276276
"b46a02e"
277277
]
278278
},
279-
"data_fault/column_rectangle_less_disc": {
280-
"refs": [
281-
"54d4fa4"
282-
]
283-
},
284-
"data_fault/column_rectangle_more_conti": {
285-
"refs": [
286-
"c1329fb"
287-
]
288-
},
289-
"data_fault/column_rectangle_more_disc": {
279+
"data_fault_and_formats/column_rectangle_more_disc": {
290280
"refs": [
291281
"f6dfe52"
292282
]
@@ -918,7 +908,12 @@
918908
},
919909
"web_content/templates/distribution_relationship_dotplot_dotplot": {
920910
"refs": [
921-
"596a780"
911+
"24975c4"
912+
]
913+
},
914+
"web_content/templates/drill_aggreg_improve_line": {
915+
"refs": [
916+
"23b5f25"
922917
]
923918
},
924919
"web_content/templates/drilldown_aggregate_line": {
@@ -1038,7 +1033,7 @@
10381033
},
10391034
"web_content/templates/zoom_line": {
10401035
"refs": [
1041-
"a2edacd"
1036+
"45c3cff"
10421037
]
10431038
}
10441039
}

test/integration/test_cases/web_content/templates/distribution_relationship_dotplot_dotplot.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const testSteps = [
1212
but will have no effect on the markers’ appearance. */
1313
noop: { set: ['Country_code'] }
1414
},
15-
title: 'Dot Plot',
15+
title: 'Distribution Plot',
1616
geometry: 'circle'
1717
},
1818
style: {
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
import { data } from '/test/integration/test_data/chart_types_eu.js';
2+
3+
const testSteps = [
4+
chart => chart.animate({
5+
data: Object.assign(data, {
6+
filter: record =>
7+
['AT', 'DE', 'FI', 'ES']
8+
.includes(record.Country_code)
9+
}),
10+
config: {
11+
channels: {
12+
x: { set: ['Year'] },
13+
y: {
14+
set: ['Value 3 (+)'],
15+
/* Making the chart elements fill the whole of
16+
the y-axis as the default value is now 110% */
17+
range: {
18+
max: '1100000000'
19+
}
20+
},
21+
22+
},
23+
title: 'Line Chart',
24+
geometry: 'line'
25+
}
26+
}),
27+
chart => chart.animate({
28+
config: {
29+
channels: {
30+
y: { attach: ['Country'] },
31+
color: { set: ['Country'] }
32+
},
33+
title: 'Drill down',
34+
geometry: 'area'
35+
}
36+
}),
37+
chart => chart.animate({
38+
config: {
39+
channels: {
40+
y: { detach: ['Country']}
41+
},
42+
title: 'Line Chart',
43+
geometry: 'line'
44+
}
45+
}),
46+
chart => chart.animate({
47+
config: {
48+
channels: {
49+
y: {
50+
/* Setting back the y-axis range
51+
to the default value. */
52+
range: {
53+
max: 'auto'
54+
}
55+
}
56+
}
57+
}
58+
})
59+
];
60+
61+
export default testSteps;

test/integration/test_cases/web_content/templates/zoom_line.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const testSteps = [
1313
y: { set: ['Value 3 (+)'] },
1414
color: { set: ['Country_code'] }
1515
},
16-
title: 'Stacked Area',
16+
title: 'Line chart',
1717
geometry: 'line'
1818
}
1919
}),

0 commit comments

Comments
 (0)