Skip to content

Commit

Permalink
#289 fix legend xanchor plotly attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed May 23, 2022
1 parent 17fd1ae commit 0d612f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plotly.NET/Layout/ObjectAbstractions/Common/Legend.fs
Expand Up @@ -143,7 +143,7 @@ type Legend() =
UIRevision |> DynObj.setValueOpt legend "uirevision"
VerticalAlign |> DynObj.setValueOptBy legend "valign" StyleParam.VerticalAlign.convert
X |> DynObj.setValueOpt legend "x"
XAnchor |> DynObj.setValueOptBy legend "yanchor" StyleParam.XAnchorPosition.convert
XAnchor |> DynObj.setValueOptBy legend "xanchor" StyleParam.XAnchorPosition.convert
Y |> DynObj.setValueOpt legend "y"
YAnchor |> DynObj.setValueOptBy legend "yanchor" StyleParam.YAnchorPosition.convert

Expand Down

0 comments on commit 0d612f9

Please sign in to comment.