Skip to content

Commit 4a2bd94

Browse files
committed
Web content. Minor changes in the code layout.
1 parent 560d32c commit 4a2bd94

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const testSteps = [
1212
y: { set: ['Year', 'Value 5 (+/-)'] },
1313
color: {
1414
set: ['Value 5 (+/-)'],
15-
range: { // Set range of colorGradient.
15+
range: {
16+
// Set range of colorGradient.
1617
min: '-45',
1718
max: '45'
1819
}
@@ -26,7 +27,17 @@ const testSteps = [
2627
style: {
2728
plot: {
2829
marker: {
29-
colorGradient: '#3d51b8 0, #6389ec 0.15, #9fbffa 0.35, #d5d7d9 0.5, #f4b096 0.65, #e36c56 0.85, #ac1727 1', // Set the color palette of the colorGradient.
30+
// Set the color palette of the colorGradient.
31+
colorGradient:
32+
[
33+
'#3d51b8 0',
34+
'#6389ec 0.15',
35+
'#9fbffa 0.35',
36+
'#d5d7d9 0.5',
37+
'#f4b096 0.65',
38+
'#e36c56 0.85',
39+
'#ac1727 1'
40+
].join(),
3041
label: {
3142
position: 'top'
3243
}

0 commit comments

Comments
 (0)