@@ -79,11 +79,11 @@ let table2 =
7979 //sets cell row colors
8080 //ColorCells=[["#deebf7";"lightgrey"]],
8181 //sets font of header
82- FontHeader = Font.init( FontFamily.Courier_ New, Size= 12. , Color= " white" ),
82+ FontHeader = Font.init( FontFamily.Courier_ New, Size= 12. , Color= Color.fromString " white" ),
8383 //sets the height of the header
8484 HeightHeader= 30. ,
8585 //sets lines of header
86- LineHeader = Line.init( 2. , " black" ),
86+ LineHeader = Line.init( 2. , Color.fromString " black" ),
8787 ColumnWidth = [ 70 ; 50 ; 100 ; 70 ],
8888 //defines order of columns
8989 ColumnOrder = [ 1 ; 2 ; 3 ; 4 ]
@@ -120,8 +120,8 @@ let mapColor min max value =
120120 let proportion =
121121 ( 255. * ( value - min) / ( max - min))
122122 |> int
123- Colors.fromRgb 255 ( 255 - proportion) proportion
124- |> Colors.toWebColor
123+ ARGB.fromRGB 255 ( 255 - proportion) proportion
124+ |> ARGB.toWebHex
125125
126126//Assign a color to every cell seperately. Matrix must be transposed for correct orientation.
127127let cellcolor =
@@ -196,7 +196,7 @@ let cellcolors =
196196 |> Seq.map ( fun x -> Seq.append x ( seq [ " white" ]))
197197
198198let font = Font.init( FontFamily.Consolas, Size= 14. )
199- let line = Line.init( 0. , " white" )
199+ let line = Line.init( 0. , Color.fromString " white" )
200200let chartwidth = 50. + 10. * float elementsPerRow
201201
202202let table4 =
0 commit comments