15
15
*/
16
16
package software .xdev .chartjs .model .options .scale ;
17
17
18
- import java .util .List ;
19
-
20
18
import software .xdev .chartjs .model .objects .OptionalArray ;
21
19
22
20
23
21
/**
24
- * @see <a href="https://github.com/chartjs/Chart.js/blob/v4.4.3 /src/types/index.d.ts#L2971 ">ChartJS Source</a>
22
+ * @see <a href="https://github.com/chartjs/Chart.js/blob/v4.4.7 /src/types/index.d.ts#L2977 ">ChartJS Source</a>
25
23
*/
26
24
public class GridLineConfiguration
27
25
{
28
26
protected Boolean display ;
29
27
protected Boolean circular ;
30
28
protected Object color ;
31
- protected Number lineWidth ;
29
+ protected Object lineWidth ;
32
30
protected Boolean drawOnChartArea ;
33
31
protected Boolean drawTicks ;
34
- protected List < Number > tickBorderDash = new OptionalArray <>();
35
- protected Number tickBorderDashOffset ;
32
+ protected Object tickBorderDash = new OptionalArray <>();
33
+ protected Object tickBorderDashOffset ;
36
34
protected Object tickColor ;
35
+ protected Number tickLength ;
37
36
protected Number tickWidth ;
38
37
protected Boolean offset ;
39
38
protected Number z ;
@@ -71,12 +70,12 @@ public GridLineConfiguration setColor(final Object color)
71
70
return this ;
72
71
}
73
72
74
- public Number getLineWidth ()
73
+ public Object getLineWidth ()
75
74
{
76
75
return this .lineWidth ;
77
76
}
78
77
79
- public GridLineConfiguration setLineWidth (final Number lineWidth )
78
+ public GridLineConfiguration setLineWidth (final Object lineWidth )
80
79
{
81
80
this .lineWidth = lineWidth ;
82
81
return this ;
@@ -104,23 +103,23 @@ public GridLineConfiguration setDrawTicks(final Boolean drawTicks)
104
103
return this ;
105
104
}
106
105
107
- public List < Number > getTickBorderDash ()
106
+ public Object getTickBorderDash ()
108
107
{
109
108
return this .tickBorderDash ;
110
109
}
111
110
112
- public GridLineConfiguration setTickBorderDash (final List < Number > tickBorderDash )
111
+ public GridLineConfiguration setTickBorderDash (final Object tickBorderDash )
113
112
{
114
113
this .tickBorderDash = tickBorderDash ;
115
114
return this ;
116
115
}
117
116
118
- public Number getTickBorderDashOffset ()
117
+ public Object getTickBorderDashOffset ()
119
118
{
120
119
return this .tickBorderDashOffset ;
121
120
}
122
121
123
- public GridLineConfiguration setTickBorderDashOffset (final Number tickBorderDashOffset )
122
+ public GridLineConfiguration setTickBorderDashOffset (final Object tickBorderDashOffset )
124
123
{
125
124
this .tickBorderDashOffset = tickBorderDashOffset ;
126
125
return this ;
@@ -137,6 +136,16 @@ public GridLineConfiguration setTickColor(final Object tickColor)
137
136
return this ;
138
137
}
139
138
139
+ public Number getTickLength ()
140
+ {
141
+ return this .tickLength ;
142
+ }
143
+
144
+ public void setTickLength (final Number tickLength )
145
+ {
146
+ this .tickLength = tickLength ;
147
+ }
148
+
140
149
public Number getTickWidth ()
141
150
{
142
151
return this .tickWidth ;
0 commit comments