|
@@ -721,7 +721,7 @@ ${ dashboard.layout_skeleton() }
|
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px" data-bind="visible: counts.length > 0">
|
|
<div style="padding-bottom: 10px; text-align: right; padding-right: 20px" data-bind="visible: counts.length > 0">
|
|
|
<span data-bind="visible: ! $root.isEditing(), with: $root.collection.getFacetById($parent.id())">
|
|
<span data-bind="visible: ! $root.isEditing(), with: $root.collection.getFacetById($parent.id())">
|
|
|
<span class="facet-field-label">${ _('Interval') }</span>
|
|
<span class="facet-field-label">${ _('Interval') }</span>
|
|
|
- <input data-bind="value: properties.gap"></input>
|
|
|
|
|
|
|
+ <input type="text" data-bind="value: properties.gap" />
|
|
|
</span>
|
|
</span>
|
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
<span class="facet-field-label">${ _('Zoom') }</span>
|
|
|
<a href="javascript:void(0)" data-bind="click: $root.collection.rangeZoomOut"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
<a href="javascript:void(0)" data-bind="click: $root.collection.rangeZoomOut"><i class="fa fa-search-minus"></i> ${ _('reset') }</a>
|
|
@@ -729,7 +729,7 @@ ${ dashboard.layout_skeleton() }
|
|
|
<select class="input-medium" data-bind="options: $root.query.multiqs, optionsValue: 'id', optionsText: 'label', value: $root.query.selectedMultiq"></select>
|
|
<select class="input-medium" data-bind="options: $root.query.multiqs, optionsValue: 'id', optionsText: 'label', value: $root.query.selectedMultiq"></select>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div data-bind="timelineChart: {datum: {counts: counts, extraSeries: extraSeries, widget_id: $parent.id(), label: label}, stacked: $root.collection.getFacetById($parent.id()).properties.stacked(), field: field, label: label, transformer: timelineChartDataTransformer,
|
|
|
|
|
|
|
+ <div data-bind="timelineChart: {datum: {counts: counts, extraSeries: (typeof extraSeries != 'undefined' ? extraSeries : []), widget_id: $parent.id(), label: label}, stacked: $root.collection.getFacetById($parent.id()).properties.stacked(), field: field, label: label, transformer: timelineChartDataTransformer,
|
|
|
fqs: $root.query.fqs,
|
|
fqs: $root.query.fqs,
|
|
|
onSelectRange: function(from, to){ viewModel.collection.selectTimelineFacet({from: from, to: to, cat: field, widget_id: $parent.id()}) },
|
|
onSelectRange: function(from, to){ viewModel.collection.selectTimelineFacet({from: from, to: to, cat: field, widget_id: $parent.id()}) },
|
|
|
onStateChange: function(state){ $root.collection.getFacetById($parent.id()).properties.stacked(state.stacked); },
|
|
onStateChange: function(state){ $root.collection.getFacetById($parent.id()).properties.stacked(state.stacked); },
|