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.
2 parents 50c6eff + 58f6177 commit 2fbcfc9Copy full SHA for 2fbcfc9
src/app/view/component/D3Chart.js
@@ -104,7 +104,7 @@ Ext.define('Koala.view.component.D3Chart',{
104
var chartConfig = olLayer.get('timeSeriesChartProperties');
105
var StringUtil = Koala.util.String;
106
var valFromSeq = StringUtil.getValueFromSequence;
107
- var titleTpl = 'titleTpl' in chartConfig ? chartConfig.titleTpl : '';
+ var titleTpl = (chartConfig.titleTpl) ? chartConfig.titleTpl : '';
108
var title = Koala.util.String.replaceTemplateStrings(titleTpl, olFeat);
109
var yLabel = chartConfig.yAxisLabel || '';
110
var xLabel = chartConfig.xAxisLabel || '';
0 commit comments