Skip to content

Commit 52e4b05

Browse files
committed
Web content. Set the layout of the comments.
1 parent a7ae60b commit 52e4b05

34 files changed

+182
-59
lines changed

test/integration/test_cases/web_content/sample_static/cartesian/column_grouped_rectangle_negative_2dis_1con.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const testSteps = [
1212
},
1313
title: 'Grouped Column Chart'
1414
},
15-
style: { // Labels have to be rotated on this chart.
15+
// Labels have to be rotated on this chart.
16+
style: {
1617
plot: {
1718
marker: {
1819
label: {

test/integration/test_cases/web_content/sample_static/cartesian/column_stacked_rectangle_negative_2dis_1con.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const testSteps = [
1212
},
1313
title: 'Stacked Column Chart'
1414
},
15-
style: { // Labels have to be rotated on this chart.
15+
// Labels have to be rotated on this chart.
16+
style: {
1617
plot: {
1718
xAxis: {
1819
label: {

test/integration/test_cases/web_content/sample_static/cartesian/histogram_rectangle_negative_1dis_1con.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ const testSteps = [
1212
title: 'Histogram',
1313
align: 'none'
1414
},
15-
style: { // Spaces between markers should be eliminated on this chart.
15+
/* Spaces between markers should be
16+
eliminated on this chart. */
17+
style: {
1618
'plot.marker.rectangleSpacing': 0.07
1719
}
1820
})

test/integration/test_cases/web_content/sample_static/cartesian/waterfall_rectangle_negative_1dis_1con.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ const testSteps = [
66
config: {
77
channels: {
88
x: { set: ['Year'] },
9-
y: { set: ['Year', 'Value 5 (+/-)'] }, // Adding the same dimension (Year) on both axes is how you create a Waterfall Chart in Vizzu.
9+
/* Adding the same dimension (Year) on both axes is
10+
how you create a Waterfall Chart in Vizzu. */
11+
y: { set: ['Year', 'Value 5 (+/-)'] },
1012
label: { set: ['Value 5 (+/-)'] }
1113
},
1214
title: 'Waterfall Chart',

test/integration/test_cases/web_content/sample_static/polar/coxcomb_stacked_rectangle_2dis_1con.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ const testSteps = [
1212
title: 'Nightingale (Coxcomb) Chart',
1313
coordSystem: 'polar'
1414
},
15-
style: { // y-axis and its labels are unnecessary on these types of charts.
15+
/* y-axis and its labels are unnecessary
16+
on these types of charts. */
17+
style: {
1618
plot: {
1719
yAxis: {
1820
title: {

test/integration/test_cases/web_content/sample_static/polar/donut_rectangle_1dis_1con.mjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ const testSteps = [
66
config: {
77
channels: {
88
x: { set: ['Joy factors', 'Value 2 (+)'] },
9-
y: { range: { min: '-200%' } }, // Setting the radius of the empty circle in the centre.
9+
/* Setting the radius of the empty circle
10+
in the centre. */
11+
y: { range: { min: '-200%' } },
1012
color: { set: ['Joy factors'] },
1113
label: { set: ['Value 2 (+)'] }
1214
},
1315
title: 'Donut Chart',
1416
coordSystem: 'polar'
1517
},
16-
style: { // All axes and axis labels are unnecessary on these types of charts. Meanwhile the marker labels are enlarged.
18+
/* All axes and axis labels are unnecessary
19+
on these types of charts. Meanwhile the marker labels
20+
are enlarged. */
21+
style: {
1722
plot: {
1823
marker: {
1924
label: {

test/integration/test_cases/web_content/sample_static/polar/pie_rectangle_1dis_1con.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ const testSteps = [
1212
title: 'Pie Chart',
1313
coordSystem: 'polar'
1414
},
15-
style: { // All axes and axis labels are unnecessary on these types of charts. Meanwhile the marker labels are enlarged.
15+
/* All axes and axis labels are unnecessary
16+
on these types of charts. Meanwhile the marker labels
17+
are enlarged. */
18+
style: {
1619
plot: {
1720
marker: {
1821
label: {

test/integration/test_cases/web_content/sample_static/polar/radial_rectangle_1dis_1con.mjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,20 @@ const testSteps = [
88
x: { set: ['Value 2 (+)'] },
99
y: {
1010
set: ['Joy factors'],
11-
range: { min: '-30%' } // Setting the radius of the empty circle in the centre.
11+
/* Setting the radius of the empty circle
12+
in the centre. */
13+
range: { min: '-30%' }
1214
},
1315
color: { set: ['Joy factors'] },
1416
label: { set: ['Value 2 (+)'] }
1517
},
1618
title: 'Radial Bar Chart',
1719
coordSystem: 'polar'
1820
},
19-
style: { // All axes and axis labels are unnecessary on these types of charts, except for the labels of the y-axis.
21+
/* All axes and axis labels are unnecessary
22+
on these types of charts, except for the labels
23+
of the y-axis. */
24+
style: {
2025
plot: {
2126
yAxis: {
2227
color: '#ffffff00',

test/integration/test_cases/web_content/sample_static/polar/radial_stacked_rectangle_2dis_1con.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@ const testSteps = [
88
x: { set: ['Country', 'Value 2 (+)'] },
99
y: {
1010
set: ['Year'],
11-
range: { min: '-20%' } // Setting the radius of the empty circle in the centre.
11+
/* Setting the radius of the empty circle
12+
in the centre. */
13+
range: { min: '-20%' }
1214
},
1315
color: { set: ['Country'] },
1416
lightness: { set: ['Year'] }
1517
},
1618
title: 'Stacked Radial Bar Chart',
1719
coordSystem: 'polar'
1820
},
19-
style: { // This chart type no needs axles and axis labels, except smaller yAxis-labels.
21+
/* This chart type no needs axles and axis labels,
22+
except smaller yAxis-labels. */
23+
style: {
2024
plot: {
2125
yAxis: {
2226
color: '#ffffff00',

test/integration/test_cases/web_content/sample_static/polar/spiderweb_area_1dis_1con.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,26 @@ const testSteps = [
88
x: { set: ['Year'] },
99
y: {
1010
set: ['$exists', 'Value 2 (+)'],
11-
range: { max: '130%' } // Set enough space for tangential labels.
11+
/* Set enough space for
12+
tangential labels. */
13+
range: { max: '130%' }
1214
},
1315
label: { set: ['Value 2 (+)'] },
1416
},
1517
title: 'Polar Area Chart',
1618
geometry: 'area',
1719
coordSystem: 'polar',
1820
},
19-
style: { // y-axis and its labels are unnecessary on these types of charts.
21+
style: {
2022
plot: {
2123
marker: {
2224
label: {
2325
orientation: 'tangential',
2426
angle: 3.14 * -0.5
2527
}
2628
},
29+
/* y-axis and its labels are unnecessary
30+
on these types of charts. */
2731
yAxis: {
2832
title: { color: '#ffffff00' },
2933
label: { color: '#ffffff00' }

0 commit comments

Comments
 (0)