Skip to content

Commit d6235fd

Browse files
committed
Update Residual Legend options
Remove LegendGroupTitle to avoid unintended default injection
1 parent 7c123fe commit d6235fd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Plotly.NET/ChartAPI/Chart2D.fs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6167,8 +6167,7 @@ module Chart2D =
61676167
)
61686168
|> GenericChart.mapTrace (
61696169
Trace2DStyle.Scatter(
6170-
?LegendGroup = LegendGroupData,
6171-
?LegendGroupTitle = if LegendGroupData.IsSome then Some (Title.init (Text = LegendGroupData.Value)) else None
6170+
?LegendGroup = LegendGroupData
61726171
)
61736172
)
61746173

@@ -6186,8 +6185,7 @@ module Chart2D =
61866185
?TextPosition = ReferenceTextPosition,
61876186
?MultiTextPosition = MultiReferenceTextPosition,
61886187
?Line = ReferenceLine,
6189-
?LegendGroup = LegendGroupReference,
6190-
?LegendGroupTitle = if LegendGroupReference.IsSome then Some (Title.init (Text = LegendGroupReference.Value)) else None
6188+
?LegendGroup = LegendGroupReference
61916189
)
61926190
)
61936191
|> TraceStyle.Marker(

0 commit comments

Comments
 (0)