Skip to content

Commit f7e9ba2

Browse files
committed
fix colorbar styling
1 parent 5983d6c commit f7e9ba2

File tree

1 file changed

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

1 file changed

+41
-41
lines changed

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

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -237,47 +237,47 @@ type ColorBar () =
237237

238238
(fun (colorBar:ColorBar) ->
239239

240-
BGColor |> DynObj.setValueOpt colorBar "bgcolor"
241-
BorderColor |> DynObj.setValueOpt colorBar "bordercolor"
242-
BorderWidth |> DynObj.setValueOpt colorBar "borderwidth"
243-
DTick |> DynObj.setValueOpt colorBar "dtick"
244-
ExponentFormat |> DynObj.setValueOpt colorBar "exponentformat"
245-
Len |> DynObj.setValueOpt colorBar "len"
246-
LenMode |> DynObj.setValueOpt colorBar "lenmode"
247-
MinExponent |> DynObj.setValueOpt colorBar "min3xponent"
248-
NTicks |> DynObj.setValueOpt colorBar "nticks"
249-
OutlineColor |> DynObj.setValueOpt colorBar "outlinecolor"
250-
OutlineWidth |> DynObj.setValueOpt colorBar "outlinewidth"
251-
SeparateThousands |> DynObj.setValueOpt colorBar "separatethousands"
252-
ShowExponent |> DynObj.setValueOpt colorBar "showexponent"
253-
ShowTickLabels |> DynObj.setValueOpt colorBar "showticklabels"
254-
ShowTickPrefix |> DynObj.setValueOpt colorBar "showtickprefix"
255-
ShowTickSuffix |> DynObj.setValueOpt colorBar "showticksuffix"
256-
Thickness |> DynObj.setValueOpt colorBar "thickness"
257-
ThicknessMode |> DynObj.setValueOpt colorBar "thicknessmode"
258-
Tick0 |> DynObj.setValueOpt colorBar "tick0"
259-
TickAngle |> DynObj.setValueOpt colorBar "tickangle"
260-
TickColor |> DynObj.setValueOpt colorBar "tickcolor"
261-
TickFont |> DynObj.setValueOpt colorBar "tickfont"
262-
TickFormat |> DynObj.setValueOpt colorBar "tickformat"
263-
TickFormatStops |> DynObj.setValueOpt colorBar "tickformatstops"
264-
TickLabelOverflow |> DynObj.setValueOpt colorBar "ticklabeloverflow"
265-
TickLabelPosition |> DynObj.setValueOpt colorBar "ticklabelposition"
266-
TickLen |> DynObj.setValueOpt colorBar "ticklen"
267-
TickMode |> DynObj.setValueOpt colorBar "tickmode"
268-
TickPrefix |> DynObj.setValueOpt colorBar "tickprefix"
269-
Ticks |> DynObj.setValueOpt colorBar "ticks"
270-
TickSuffix |> DynObj.setValueOpt colorBar "ticksuffix"
271-
TickText |> DynObj.setValueOpt colorBar "ticktext"
272-
TickVals |> DynObj.setValueOpt colorBar "tickvals"
273-
TickWidth |> DynObj.setValueOpt colorBar "tickwidth"
274-
Title |> DynObj.setValueOpt colorBar "title"
275-
X |> DynObj.setValueOpt colorBar "x"
276-
XAnchor |> DynObj.setValueOpt colorBar "xanchor"
277-
XPad |> DynObj.setValueOpt colorBar "xpad"
278-
Y |> DynObj.setValueOpt colorBar "y"
279-
YAnchor |> DynObj.setValueOpt colorBar "yanchor"
280-
YPad |> DynObj.setValueOpt colorBar "ypad"
240+
BGColor |> DynObj.setValueOpt colorBar "bgcolor"
241+
BorderColor |> DynObj.setValueOpt colorBar "bordercolor"
242+
BorderWidth |> DynObj.setValueOpt colorBar "borderwidth"
243+
DTick |> DynObj.setValueOpt colorBar "dtick"
244+
ExponentFormat |> DynObj.setValueOptBy colorBar "exponentformat" StyleParam.ExponentFormat.convert
245+
Len |> DynObj.setValueOpt colorBar "len"
246+
LenMode |> DynObj.setValueOptBy colorBar "lenmode" StyleParam.UnitMode.convert
247+
MinExponent |> DynObj.setValueOpt colorBar "min3xponent"
248+
NTicks |> DynObj.setValueOpt colorBar "nticks"
249+
OutlineColor |> DynObj.setValueOpt colorBar "outlinecolor"
250+
OutlineWidth |> DynObj.setValueOpt colorBar "outlinewidth"
251+
SeparateThousands |> DynObj.setValueOpt colorBar "separatethousands"
252+
ShowExponent |> DynObj.setValueOptBy colorBar "showexponent" StyleParam.ShowExponent.convert
253+
ShowTickLabels |> DynObj.setValueOpt colorBar "showticklabels"
254+
ShowTickPrefix |> DynObj.setValueOptBy colorBar "showtickprefix" StyleParam.ShowTickOption.convert
255+
ShowTickSuffix |> DynObj.setValueOptBy colorBar "showticksuffix" StyleParam.ShowTickOption.convert
256+
Thickness |> DynObj.setValueOpt colorBar "thickness"
257+
ThicknessMode |> DynObj.setValueOptBy colorBar "thicknessmode" StyleParam.UnitMode.convert
258+
Tick0 |> DynObj.setValueOpt colorBar "tick0"
259+
TickAngle |> DynObj.setValueOpt colorBar "tickangle"
260+
TickColor |> DynObj.setValueOpt colorBar "tickcolor"
261+
TickFont |> DynObj.setValueOpt colorBar "tickfont"
262+
TickFormat |> DynObj.setValueOpt colorBar "tickformat"
263+
TickFormatStops |> DynObj.setValueOpt colorBar "tickformatstops"
264+
TickLabelOverflow |> DynObj.setValueOptBy colorBar "ticklabeloverflow" StyleParam.TickLabelOverflow.convert
265+
TickLabelPosition |> DynObj.setValueOptBy colorBar "ticklabelposition" StyleParam.TickLabelPosition.convert
266+
TickLen |> DynObj.setValueOpt colorBar "ticklen"
267+
TickMode |> DynObj.setValueOptBy colorBar "tickmode" StyleParam.TickMode.convert
268+
TickPrefix |> DynObj.setValueOpt colorBar "tickprefix"
269+
Ticks |> DynObj.setValueOptBy colorBar "ticks" StyleParam.TickOptions.convert
270+
TickSuffix |> DynObj.setValueOpt colorBar "ticksuffix"
271+
TickText |> DynObj.setValueOpt colorBar "ticktext"
272+
TickVals |> DynObj.setValueOpt colorBar "tickvals"
273+
TickWidth |> DynObj.setValueOpt colorBar "tickwidth"
274+
Title |> DynObj.setValueOpt colorBar "title"
275+
X |> DynObj.setValueOpt colorBar "x"
276+
XAnchor |> DynObj.setValueOptBy colorBar "xanchor" StyleParam.HorizontalAlign.convert
277+
XPad |> DynObj.setValueOpt colorBar "xpad"
278+
Y |> DynObj.setValueOpt colorBar "y"
279+
YAnchor |> DynObj.setValueOptBy colorBar "yanchor" StyleParam.VerticalAlign.convert
280+
YPad |> DynObj.setValueOpt colorBar "ypad"
281281

282282
colorBar
283283
)

0 commit comments

Comments
 (0)