reporting: add option ‘graphLegendName’ to addSeries
parent
8222d4254d
commit
9829a5e213
|
@ -35,6 +35,8 @@ o = struct;
|
|||
|
||||
o.data = '';
|
||||
|
||||
o.graphLegendName = '';
|
||||
|
||||
o.graphLineColor = 'black';
|
||||
o.graphLineStyle = 'solid';
|
||||
o.graphLineWidth = 0.5;
|
||||
|
@ -84,6 +86,10 @@ elseif nargin > 1
|
|||
end
|
||||
end
|
||||
|
||||
if ~isempty(o.graphLegendName)
|
||||
o.data = o.data.tex_rename(o.graphLegendName);
|
||||
end
|
||||
|
||||
% Create report_series object
|
||||
o = class(o, 'report_series');
|
||||
end
|
Loading…
Reference in New Issue