Plotly.js has many properties that can be either a single value or a collection of values.
In Plotly.NET, this is modelled by 2 arguments in the constructors:
Opacity) that sets one value in the target property
MultiOpacity) that sets a collection of values in the target property
Multi-arguments always have precedent over single arguments, meaning setting both will always set the multi version
Here is an example for bar charts:
open Plotly.NET let bar = Chart.Bar( [ "first", 1 "second", 2 "third", 3 ], MultiMarkerPatternShape = [ // individual pattern shape for each bar StyleParam.PatternShape.DiagonalAscending StyleParam.PatternShape.Dots StyleParam.PatternShape.HorizontalLines ], Opacity = 0.75, // opacity for the whole trace MultiText = [ // individual text associated with each bar "first bar" "second bar" "third bar" ], TextPosition = StyleParam.TextPosition.Outside // Textposition for every text item associated with this trace )