We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1a9d9 commit a948254Copy full SHA for a948254
test/jasmine/tests/template_test.js
@@ -19,7 +19,9 @@ describe('makeTemplate', function() {
19
{fill: 'toself'}
20
] },
21
layout: {
22
- title: 'Fill toself and tonext',
+ title: {
23
+ text: 'Fill toself and tonext'
24
+ },
25
width: 400,
26
height: 400
27
}
@@ -130,11 +132,11 @@ describe('makeTemplate', function() {
130
132
line: {width: 2, color: 'rgba(160,160,0,0.25)'}
131
133
}],
134
width: 600,
- xaxis: {domain: [0, 0.45], color: '#CCC', title: 'XXX'},
- xaxis2: {domain: [0.55, 1], title: 'XXX222'},
135
- yaxis: {color: '#88F', title: 'y'},
+ xaxis: {domain: [0, 0.45], color: '#CCC', title: {text: 'XXX'}},
136
+ xaxis2: {domain: [0.55, 1], title: {text: 'XXX222'}},
137
+ yaxis: {color: '#88F', title: {text: 'y'}},
138
// inherits from both yaxis2 and template.yaxis
- yaxis2: {color: '#88F', title: 'y2', anchor: 'x2'}
139
+ yaxis2: {color: '#88F', title: {text: 'y2'}, anchor: 'x2'}
140
141
};
142
0 commit comments