Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 1fc139c commit 94811f7Copy full SHA for 94811f7
plotly/plotlyfig_aux/handlegraphics/updateBar.m
@@ -56,25 +56,15 @@
56
data.name = barData.DisplayName;
57
data.visible = barData.Visible == "on";
58
59
- xData = barData.XData;
60
- yData = barData.YData;
61
-
62
- if isdatetime(xData)
63
- xData = datenum(xData);
64
- end
65
- if isdatetime(yData)
66
- yData = datenum(yData);
67
68
69
switch barData.Horizontal
70
case "off"
71
data.orientation = "v";
72
- data.x = xData;
73
- data.y = yData;
+ data.x = barData.XData;
+ data.y = barData.YData;
74
case "on"
75
data.orientation = "h";
76
- data.x = yData;
77
- data.y = xData;
+ data.x = barData.YData;
+ data.y = barData.XData;
78
end
79
80
data.marker = extractAreaFace(barData);
0 commit comments