@@ -52,7 +52,7 @@ let combinedChart =
5252 Chart.Line( x, y, Name= " first" )
5353 Chart.Line( y, x, Name= " second" )
5454 ]
55- |> Chart.Combine
55+ |> Chart.combine
5656
5757#if IPYNB
5858combinedChart
@@ -77,17 +77,17 @@ You can either use Chart.Grid with a 1 dimensional sequence of Charts and specif
7777let grid =
7878 [
7979 Chart.Point( x, y, Name= " 1,1" )
80- |> Chart.withX _ AxisStyle " x1"
81- |> Chart.withY _ AxisStyle " y1"
80+ |> Chart.withXAxisStyle " x1"
81+ |> Chart.withYAxisStyle " y1"
8282 Chart.Line( x, y, Name= " 1,2" )
83- |> Chart.withX _ AxisStyle " x2"
84- |> Chart.withY _ AxisStyle " y2"
83+ |> Chart.withXAxisStyle " x2"
84+ |> Chart.withYAxisStyle " y2"
8585 Chart.Spline( x, y, Name= " 2,1" )
86- |> Chart.withX _ AxisStyle " x3"
87- |> Chart.withY _ AxisStyle " y3"
86+ |> Chart.withXAxisStyle " x3"
87+ |> Chart.withYAxisStyle " y3"
8888 Chart.Point( x, y, Name= " 2,2" )
89- |> Chart.withX _ AxisStyle " x4"
90- |> Chart.withY _ AxisStyle " y4"
89+ |> Chart.withXAxisStyle " x4"
90+ |> Chart.withYAxisStyle " y4"
9191 ]
9292 |> Chart.Grid( 2 , 2 )
9393
@@ -109,19 +109,19 @@ let grid2 =
109109 [
110110 [
111111 Chart.Point( x, y, Name= " 1,1" )
112- |> Chart.withX _ AxisStyle " x1"
113- |> Chart.withY _ AxisStyle " y1"
112+ |> Chart.withXAxisStyle " x1"
113+ |> Chart.withYAxisStyle " y1"
114114 Chart.Line( x, y, Name= " 1,2" )
115- |> Chart.withX _ AxisStyle " x2"
116- |> Chart.withY _ AxisStyle " y2"
115+ |> Chart.withXAxisStyle " x2"
116+ |> Chart.withYAxisStyle " y2"
117117 ]
118118 [
119119 Chart.Spline( x, y, Name= " 2,1" )
120- |> Chart.withX _ AxisStyle " x3"
121- |> Chart.withY _ AxisStyle " y3"
120+ |> Chart.withXAxisStyle " x3"
121+ |> Chart.withYAxisStyle " y3"
122122 Chart.Point( x, y, Name= " 2,2" )
123- |> Chart.withX _ AxisStyle " x4"
124- |> Chart.withY _ AxisStyle " y4"
123+ |> Chart.withXAxisStyle " x4"
124+ |> Chart.withYAxisStyle " y4"
125125
126126 ]
127127 ]
@@ -146,18 +146,18 @@ to the row with the highest amount of charts, and the other rows will be filled
146146let grid3 =
147147 [
148148 Chart.Point( x, y, Name= " 1,1" )
149- |> Chart.withX _ AxisStyle " x1"
150- |> Chart.withY _ AxisStyle " y1"
149+ |> Chart.withXAxisStyle " x1"
150+ |> Chart.withYAxisStyle " y1"
151151
152152 Chart.Invisible()
153153
154154 Chart.Spline( x, y, Name= " 2,1" )
155- |> Chart.withX _ AxisStyle " x3"
156- |> Chart.withY _ AxisStyle " y3"
155+ |> Chart.withXAxisStyle " x3"
156+ |> Chart.withYAxisStyle " y3"
157157
158158 Chart.Point( x, y, Name= " 2,2" )
159- |> Chart.withX _ AxisStyle " x4"
160- |> Chart.withY _ AxisStyle " y4"
159+ |> Chart.withXAxisStyle " x4"
160+ |> Chart.withYAxisStyle " y4"
161161 ]
162162 |> Chart.Grid( 2 , 2 )
163163
@@ -178,17 +178,17 @@ use `Pattern=StyleParam.LayoutGridPatter.Coupled` to use one shared x axis per c
178178let grid4 =
179179 [
180180 Chart.Point( x, y, Name= " 1,1" )
181- |> Chart.withX _ AxisStyle " x1"
182- |> Chart.withY _ AxisStyle " y1"
181+ |> Chart.withXAxisStyle " x1"
182+ |> Chart.withYAxisStyle " y1"
183183 Chart.Line( x, y, Name= " 1,2" )
184- |> Chart.withX _ AxisStyle " x2"
185- |> Chart.withY _ AxisStyle " y2"
184+ |> Chart.withXAxisStyle " x2"
185+ |> Chart.withYAxisStyle " y2"
186186 Chart.Spline( x, y, Name= " 2,1" )
187- |> Chart.withX _ AxisStyle " x3"
188- |> Chart.withY _ AxisStyle " y3"
187+ |> Chart.withXAxisStyle " x3"
188+ |> Chart.withYAxisStyle " y3"
189189 Chart.Point( x, y, Name= " 2,2" )
190- |> Chart.withX _ AxisStyle " x4"
191- |> Chart.withY _ AxisStyle " y4"
190+ |> Chart.withXAxisStyle " x4"
191+ |> Chart.withYAxisStyle " y4"
192192 ]
193193 |> Chart.Grid( 2 , 2 , Pattern= StyleParam.LayoutGridPattern.Coupled)
194194
@@ -214,19 +214,19 @@ As with all grid charts, you can also use the Chart.withLayoutGridStyle to style
214214let singleStack =
215215 [
216216 Chart.Point( x, y)
217- |> Chart.withY _ AxisStyle ( " This title must" )
217+ |> Chart.withYAxisStyle ( " This title must" )
218218
219219 Chart.Line( x, y)
220- |> Chart.withY _ AxisStyle ( " be set on the" )
220+ |> Chart.withYAxisStyle ( " be set on the" )
221221
222222 Chart.Spline( x, y)
223- |> Chart.withY _ AxisStyle ( " respective subplots" )
223+ |> Chart.withYAxisStyle ( " respective subplots" )
224224 ]
225225 |> Chart.SingleStack( Pattern= StyleParam.LayoutGridPattern.Coupled)
226226 //increase spacing between plots by using the withLayoutGridStyle function
227227 |> Chart.withLayoutGridStyle( YGap= 0.1 )
228228 |> Chart.withTitle( " Hi i am the new SingleStackChart" )
229- |> Chart.withX _ AxisStyle ( " im the shared xAxis" )
229+ |> Chart.withXAxisStyle ( " im the shared xAxis" )
230230
231231(* ** condition: ipynb ***)
232232#if IPYNB
0 commit comments