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
2626 protected Boolean fullSize ;
2727 protected String position ;
2828 protected Font font ;
29- protected Integer padding ;
30- protected String text ;
29+ protected Object padding ;
30+ protected Object text ;
3131
3232 /**
3333 * @see #setAlign(String)
@@ -145,7 +145,7 @@ public Title setPosition(final String position)
145145 /**
146146 * @see #setPadding(Integer)
147147 */
148- public Integer getPadding ()
148+ public Object getPadding ()
149149 {
150150 return this .padding ;
151151 }
@@ -159,7 +159,7 @@ public Integer getPadding()
159159 * Default {@code 10}
160160 * </p>
161161 */
162- public Title setPadding (final Integer padding )
162+ public Title setPadding (final Object padding )
163163 {
164164 this .padding = padding ;
165165 return this ;
@@ -168,7 +168,7 @@ public Title setPadding(final Integer padding)
168168 /**
169169 * @see #setText(String)
170170 */
171- public String getText ()
171+ public Object getText ()
172172 {
173173 return this .text ;
174174 }
@@ -182,7 +182,7 @@ public String getText()
182182 * Default {@code ""}
183183 * </p>
184184 */
185- public Title setText (final String text )
185+ public Title setText (final Object text )
186186 {
187187 this .text = text ;
188188 return this ;
You can’t perform that action at this time.
0 commit comments