@@ -7,33 +7,33 @@ namespace Benchly
77{
88 internal static class PlotExtensions
99 {
10- public static GenericChart . GenericChart WithAxisTitles ( this GenericChart . GenericChart chart , string yTitle )
10+ public static GenericChart WithAxisTitles ( this GenericChart chart , string yTitle )
1111 {
1212 var font = new FSharpOption < Font > ( Font . init ( Size : new FSharpOption < double > ( 16 ) ) ) ;
1313 FSharpOption < string > yt = new FSharpOption < string > ( yTitle ) ;
1414 return chart . WithXAxisStyle ( Title . init ( Font : font ) ) . WithYAxisStyle ( Title . init ( yt , Font : font ) ) ;
1515 }
1616
17- public static GenericChart . GenericChart WithAxisTitles ( this GenericChart . GenericChart chart , string xTitle , string yTitle )
17+ public static GenericChart WithAxisTitles ( this GenericChart chart , string xTitle , string yTitle )
1818 {
1919 var font = new FSharpOption < Font > ( Font . init ( Size : new FSharpOption < double > ( 16 ) ) ) ;
2020 FSharpOption < string > xt = new FSharpOption < string > ( xTitle ) ;
2121 FSharpOption < string > yt = new FSharpOption < string > ( yTitle ) ;
2222 return chart . WithXAxisStyle ( Title . init ( xt , Font : font ) ) . WithYAxisStyle ( Title . init ( yt , Font : font ) ) ;
2323 }
2424
25- public static GenericChart . GenericChart WithoutVerticalGridlines ( this GenericChart . GenericChart chart )
25+ public static GenericChart WithoutVerticalGridlines ( this GenericChart chart )
2626 {
2727 var gridColor = new FSharpOption < Color > ( Color . fromKeyword ( ColorKeyword . Gainsboro ) ) ;
28- var yaxis = LinearAxis . init < IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible > (
28+ var yaxis = LinearAxis . init < IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible > (
2929 GridColor : gridColor ,
3030 ZeroLineColor : gridColor ) ;
3131
32- var axis = LinearAxis . init < IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible > ( ShowGrid : new FSharpOption < bool > ( false ) ) ;
32+ var axis = LinearAxis . init < IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible , IConvertible > ( ShowGrid : new FSharpOption < bool > ( false ) ) ;
3333 return chart . WithXAxis ( axis ) . WithYAxis ( yaxis ) ;
3434 }
3535
36- public static GenericChart . GenericChart WithLayout ( this GenericChart . GenericChart chart , string title )
36+ public static GenericChart WithLayout ( this GenericChart chart , string title )
3737 {
3838 var font = new FSharpOption < Font > ( Font . init ( Size : new FSharpOption < double > ( 24 ) ) ) ;
3939 FSharpOption < Title > t = Title . init ( Text : title , X : 0.5 , Font : font ) ;
@@ -42,13 +42,13 @@ public static GenericChart.GenericChart WithLayout(this GenericChart.GenericChar
4242 return chart . WithLayout ( layout ) ;
4343 }
4444
45- public static GenericChart . GenericChart WithGroupBox ( this GenericChart . GenericChart chart )
45+ public static GenericChart WithGroupBox ( this GenericChart chart )
4646 {
4747 Layout layout = Layout . init < IConvertible > ( BoxMode : BoxMode . Group ) ;
4848 return chart . WithLayout ( layout ) ;
4949 }
5050
51- public static GenericChart . GenericChart WithLegendGroup ( this GenericChart . GenericChart chart , string groupName , bool showLegend )
51+ public static GenericChart WithLegendGroup ( this GenericChart chart , string groupName , bool showLegend )
5252 {
5353 return chart . WithTraceInfo ( LegendGroup : new FSharpOption < string > ( groupName ) , ShowLegend : new FSharpOption < bool > ( showLegend ) ) ;
5454 }
0 commit comments