Skip to content

Commit 0d612f9

Browse files
committed
#289 fix legend xanchor plotly attribute name
1 parent 17fd1ae commit 0d612f9

File tree

1 file changed

+1
-1
lines changed
  • src/Plotly.NET/Layout/ObjectAbstractions/Common

1 file changed

+1
-1
lines changed

src/Plotly.NET/Layout/ObjectAbstractions/Common/Legend.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ type Legend() =
143143
UIRevision |> DynObj.setValueOpt legend "uirevision"
144144
VerticalAlign |> DynObj.setValueOptBy legend "valign" StyleParam.VerticalAlign.convert
145145
X |> DynObj.setValueOpt legend "x"
146-
XAnchor |> DynObj.setValueOptBy legend "yanchor" StyleParam.XAnchorPosition.convert
146+
XAnchor |> DynObj.setValueOptBy legend "xanchor" StyleParam.XAnchorPosition.convert
147147
Y |> DynObj.setValueOpt legend "y"
148148
YAnchor |> DynObj.setValueOptBy legend "yanchor" StyleParam.YAnchorPosition.convert
149149

0 commit comments

Comments
 (0)