File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
chartjs-java-model/src/main/java/software/xdev/chartjs/model/options Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ public class Title
26
26
protected Boolean fullSize ;
27
27
protected String position ;
28
28
protected Font font ;
29
- protected Integer padding ;
30
- protected String text ;
29
+ protected Object padding ;
30
+ protected Object text ;
31
31
32
32
/**
33
33
* @see #setAlign(String)
@@ -145,7 +145,7 @@ public Title setPosition(final String position)
145
145
/**
146
146
* @see #setPadding(Integer)
147
147
*/
148
- public Integer getPadding ()
148
+ public Object getPadding ()
149
149
{
150
150
return this .padding ;
151
151
}
@@ -159,7 +159,7 @@ public Integer getPadding()
159
159
* Default {@code 10}
160
160
* </p>
161
161
*/
162
- public Title setPadding (final Integer padding )
162
+ public Title setPadding (final Object padding )
163
163
{
164
164
this .padding = padding ;
165
165
return this ;
@@ -168,7 +168,7 @@ public Title setPadding(final Integer padding)
168
168
/**
169
169
* @see #setText(String)
170
170
*/
171
- public String getText ()
171
+ public Object getText ()
172
172
{
173
173
return this .text ;
174
174
}
@@ -182,7 +182,7 @@ public String getText()
182
182
* Default {@code ""}
183
183
* </p>
184
184
*/
185
- public Title setText (final String text )
185
+ public Title setText (final Object text )
186
186
{
187
187
this .text = text ;
188
188
return this ;
You can’t perform that action at this time.
0 commit comments