@@ -11,7 +11,7 @@ open System
1111open TestUtils.HtmlCodegen
1212
1313let basemapChart =
14- Chart.PointGeo([], UseDefaults = false ) // deliberately empty chart to show the base map only
14+ Chart.PointGeo( locations = [], UseDefaults = false ) // deliberately empty chart to show the base map only
1515 |> Chart.withMarginSize( 0 , 0 , 0 , 0 )
1616
1717let moreFeaturesBasemapChart =
@@ -29,7 +29,7 @@ let moreFeaturesBasemapChart =
2929 ShowRivers= true ,
3030 RiverColor= Color.fromString " Blue"
3131 )
32- Chart.PointGeo([], UseDefaults = false )
32+ Chart.PointGeo( locations = [], UseDefaults = false )
3333 |> Chart.withGeo myGeo
3434 |> Chart.withMarginSize( 0 , 0 , 0 , 0 )
3535
@@ -41,7 +41,7 @@ let cultureMapChart =
4141 ShowCountries= true ,
4242 CountryColor= Color.fromString " RebeccaPurple"
4343 )
44- Chart.PointGeo([], UseDefaults = false )
44+ Chart.PointGeo( locations = [], UseDefaults = false )
4545 |> Chart.withGeo countryGeo
4646 |> Chart.withMarginSize( 0 , 0 , 0 , 0 )
4747
@@ -92,7 +92,7 @@ let pointGeoChart =
9292 Chart.PointGeo(
9393 lon,
9494 lat,
95- Labels = cityNames,
95+ MultiText = cityNames,
9696 TextPosition= StyleParam.TextPosition.TopCenter,
9797 UseDefaults = false
9898 )
@@ -136,7 +136,7 @@ let flightsMapChart =
136136 Chart.LineGeo(
137137 [ startCoords; endCoords],
138138 Opacity = opacityVals.[ i],
139- Color = Color.fromString " red" ,
139+ MarkerColor = Color.fromString " red" ,
140140 UseDefaults = false
141141 )
142142 )
0 commit comments