File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55
55
legend_group_title : Option < LegendGroupTitle > ,
56
56
opacity : Option < f64 > ,
57
57
ids : Option < Vec < String > > ,
58
- width : Option < usize > ,
58
+ width : Option < f64 > ,
59
59
offset : Option < Dim < usize > > ,
60
60
text : Option < Dim < String > > ,
61
61
#[ serde( rename = "textposition" ) ]
@@ -178,7 +178,7 @@ mod tests {
178
178
. text_template ( "text_template" )
179
179
. text_template_array ( vec ! [ "text_template" ] )
180
180
. visible ( Visible :: LegendOnly )
181
- . width ( 999 )
181
+ . width ( 999.0 )
182
182
. x_axis ( "xaxis" )
183
183
. x_calendar ( Calendar :: Nanakshahi )
184
184
. y_axis ( "yaxis" )
@@ -197,7 +197,7 @@ mod tests {
197
197
"legendgrouptitle" : { "text" : "legend-group-title" } ,
198
198
"opacity" : 0.5 ,
199
199
"ids" : [ "1" ] ,
200
- "width" : 999 ,
200
+ "width" : 999.0 ,
201
201
"offset" : [ 5 , 5 ] ,
202
202
"text" : [ "text" ] ,
203
203
"textposition" : [ "none" ] ,
You can’t perform that action at this time.
0 commit comments