|
| 1 | +using System; |
| 2 | +using System.Collections.Generic; |
| 3 | +using System.Linq; |
| 4 | +using System.Text; |
| 5 | +using System.Threading.Tasks; |
| 6 | +using Plotly.NET.LayoutObjects; |
| 7 | +using Plotly.NET.TraceObjects; |
| 8 | + |
| 9 | +namespace Plotly.NET.CSharp |
| 10 | +{ |
| 11 | + public static partial class Chart |
| 12 | + { |
| 13 | + public static GenericChart.GenericChart Scatterternary<AType, BType, CType, SumType, TextType>( |
| 14 | + IEnumerable<AType>? A = null, |
| 15 | + IEnumerable<BType>? B = null, |
| 16 | + IEnumerable<CType>? C = null, |
| 17 | + SumType? Sum = null, |
| 18 | + StyleParam.Mode? Mode = null, |
| 19 | + string? Name = null, |
| 20 | + bool? ShowLegend = null, |
| 21 | + double? Opacity = null, |
| 22 | + IEnumerable<double>? MultiOpacity = null, |
| 23 | + TextType? Text = null, |
| 24 | + IEnumerable<TextType>? MultiText = null, |
| 25 | + StyleParam.TextPosition? TextPosition = null, |
| 26 | + IEnumerable<StyleParam.TextPosition>? MultiTextPosition = null, |
| 27 | + Color? MarkerColor = null, |
| 28 | + StyleParam.Colorscale? MarkerColorScale = null, |
| 29 | + Line? MarkerOutline = null, |
| 30 | + StyleParam.MarkerSymbol? MarkerSymbol = null, |
| 31 | + IEnumerable<StyleParam.MarkerSymbol>? MultiMarkerSymbol = null, |
| 32 | + Marker? Marker = null, |
| 33 | + Color? LineColor = null, |
| 34 | + StyleParam.Colorscale? LineColorScale = null, |
| 35 | + double? LineWidth = null, |
| 36 | + StyleParam.DrawingStyle? LineDash = null, |
| 37 | + Line? Line = null, |
| 38 | + bool? UseDefaults = null |
| 39 | + ) |
| 40 | + where AType : IConvertible |
| 41 | + where BType : IConvertible |
| 42 | + where CType : IConvertible |
| 43 | + where SumType : class, IConvertible |
| 44 | + where TextType : class, IConvertible |
| 45 | + => |
| 46 | + Plotly.NET.ChartTernary.Chart.ScatterTernary<AType, BType, CType, SumType, TextType>( |
| 47 | + A: A.ToOption(), |
| 48 | + B: B.ToOption(), |
| 49 | + C: C.ToOption(), |
| 50 | + Sum: Sum.ToOption(), |
| 51 | + Mode: Mode.ToOption(), |
| 52 | + Name: Name.ToOption(), |
| 53 | + ShowLegend: ShowLegend.ToOptionV(), |
| 54 | + Opacity: Opacity.ToOptionV(), |
| 55 | + MultiOpacity: MultiOpacity.ToOption(), |
| 56 | + Text: Text.ToOption(), |
| 57 | + MultiText: MultiText.ToOption(), |
| 58 | + TextPosition: TextPosition.ToOption(), |
| 59 | + MultiTextPosition: MultiTextPosition.ToOption(), |
| 60 | + MarkerColor: MarkerColor.ToOption(), |
| 61 | + MarkerColorScale: MarkerColorScale.ToOption(), |
| 62 | + MarkerOutline: MarkerOutline.ToOption(), |
| 63 | + MarkerSymbol: MarkerSymbol.ToOption(), |
| 64 | + MultiMarkerSymbol: MultiMarkerSymbol.ToOption(), |
| 65 | + Marker: Marker.ToOption(), |
| 66 | + LineColor: LineColor.ToOption(), |
| 67 | + LineColorScale: LineColorScale.ToOption(), |
| 68 | + LineWidth: LineWidth.ToOptionV(), |
| 69 | + LineDash: LineDash.ToOption(), |
| 70 | + Line: Line.ToOption(), |
| 71 | + UseDefaults: UseDefaults.ToOptionV() |
| 72 | + ); |
| 73 | + } |
| 74 | +} |
0 commit comments