File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 10
10
Before = []
11
11
After = []
12
12
Where = []
13
- GroupByTimeInterval = {}
14
- GroupByTimeFill = []
13
+ GroupByTimeInterval = ' '
14
+ GroupByTimeFill = ' '
15
15
GroupByTags = {}
16
16
Limit = []
17
17
end
176
176
177
177
% Configure a group by time clause
178
178
function obj = groupByTime(obj , time , fill )
179
- if ~isempty(time )
180
- obj.GroupByTimeInterval = {[' time(' time ' )' ]};
181
- if nargin > 2
182
- if ~isempty(fill )
183
- obj.GroupByTimeFill = [' fill(' fill ' )' ];
184
- else
185
- obj.GroupByTimeFill = [];
186
- end
179
+ if nargin > 1 && ~isempty(time )
180
+ obj.GroupByTimeInterval = [' time(' time ' )' ];
181
+ if nargin > 2 && ~isempty(fill )
182
+ obj.GroupByTimeFill = [' fill(' fill ' )' ];
183
+ else
184
+ obj.GroupByTimeFill = ' ' ;
187
185
end
188
186
else
189
- obj.GroupByTimeInterval = {} ;
190
- obj.GroupByTimeInterval = [] ;
187
+ obj.GroupByTimeInterval = ' ' ;
188
+ obj.GroupByTimeFill = ' ' ;
191
189
end
192
190
end
193
191
You can’t perform that action at this time.
0 commit comments