@@ -27,21 +27,24 @@ where
27
27
/// `Visible::LegendOnly`, the trace is not drawn, but can appear as a
28
28
/// legend item (provided that the legend itself is visible).
29
29
visible : Option < Visible > ,
30
- ///Specifies the rendered order of the data columns; for example, a value `2` at position `0`,
31
- ///means that column index `0` in the data will be rendered as the,
32
- ///third column, as columns have an index base of zero.
30
+ ///Specifies the rendered order of the data columns; for example, a value
31
+ /// `2` at position `0`, means that column index `0` in the data will be
32
+ /// rendered as the, third column, as columns have an index base of
33
+ /// zero.
33
34
column_order : Option < Vec < usize > > ,
34
35
#[ serde( rename = "columnwidth" ) ]
35
- ///The width of columns expressed as a ratio. Columns fill the available width,
36
- ///in proportion of their specified column widths.
36
+ ///The width of columns expressed as a ratio. Columns fill the available
37
+ /// width, in proportion of their specified column widths.
37
38
column_width : Option < f64 > ,
38
- ///Header cell values. `values[m][n]` represents the value of the `n`th point in column `m`,,
39
- ///therefore the `values[m]` vector length for all columns must be the same (longer vectors,
40
- ///will be truncated). Each value must be a finite number or a string.
39
+ ///Header cell values. `values[m][n]` represents the value of the `n`th
40
+ /// point in column `m`,, therefore the `values[m]` vector length for
41
+ /// all columns must be the same (longer vectors, will be truncated).
42
+ /// Each value must be a finite number or a string.
41
43
header : Option < Header < T > > ,
42
- ///Cell values. `values[m][n]` represents the value of the `n`th point in column `m`,,
43
- ///therefore the `values[m]` vector length for all columns must be the same (longer vectors,
44
- ///will be truncated). Each value must be a finite number or a string.
44
+ ///Cell values. `values[m][n]` represents the value of the `n`th point in
45
+ /// column `m`,, therefore the `values[m]` vector length for all columns
46
+ /// must be the same (longer vectors, will be truncated). Each value
47
+ /// must be a finite number or a string.
45
48
cells : Option < Cells < N > > ,
46
49
}
47
50
72
75
#[ serde_with:: skip_serializing_none]
73
76
#[ derive( Serialize , Clone , Debug , FieldSetter ) ]
74
77
pub struct Cells < N > {
75
- ///Cell values. `values[m][n]` represents the value of the `n`th point in column `m`,
76
- ///therefore the `values[m]` vector length for all columns must be the same (longer vectors,
77
- ///will be truncated). Each value must be a finite number or a string
78
+ ///Cell values. `values[m][n]` represents the value of the `n`th point in
79
+ /// column `m`, therefore the `values[m]` vector length for all columns
80
+ /// must be the same (longer vectors, will be truncated). Each value
81
+ /// must be a finite number or a string
78
82
values : Option < Vec < Vec < N > > > ,
79
83
///Prefix for cell values.
80
84
prefix : Option < String > ,
@@ -104,9 +108,10 @@ where
104
108
#[ serde_with:: skip_serializing_none]
105
109
#[ derive( Serialize , Clone , Debug , FieldSetter ) ]
106
110
pub struct Header < T > {
107
- ///Header cell values. `values[m][n]` represents the value of the `n`th point in column `m`,
108
- ///therefore the `values[m]` vector length for all columns must be the same (longer vectors,
109
- ///will be truncated). Each value must be a finite number or a string.
111
+ ///Header cell values. `values[m][n]` represents the value of the `n`th
112
+ /// point in column `m`, therefore the `values[m]` vector length for all
113
+ /// columns must be the same (longer vectors, will be truncated). Each
114
+ /// value must be a finite number or a string.
110
115
values : Option < Vec < T > > ,
111
116
///Prefix for cell values.
112
117
prefix : Option < String > ,
0 commit comments