Skip to content

Commit 72d6bec

Browse files
Merge pull request #499 from plotly/improve-stairs-plots
Improve support for 'stairs' plots
2 parents 0bbd12a + e8e6cb0 commit 72d6bec

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed
Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
function obj = updateStair(obj, dataIndex)
2+
%-update line-%
3+
updateLineseries(obj, dataIndex);
24

3-
%------------------------------------------------------------------------%
4-
5-
%-update line-%
6-
updateLineseries(obj,dataIndex);
7-
8-
%------------------------------------------------------------------------%
9-
10-
%-stair shape-%
11-
obj.data{dataIndex}.line.shape = 'hvh';
12-
13-
%------------------------------------------------------------------------%
14-
end
5+
%-stair shape-%
6+
obj.data{dataIndex}.line.shape = "hv";
7+
end

0 commit comments

Comments
 (0)