File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
chartjs-java-model/src/main/java/software/xdev/chartjs/model/options Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 20
20
public class Plugins
21
21
{
22
22
protected Title title ;
23
+ protected Title subtitle ;
23
24
protected Legend legend ;
24
25
protected Tooltip tooltip ;
25
26
protected Zoom zoom ;
@@ -41,6 +42,22 @@ public Plugins setTitle(final Title title)
41
42
this .title = title ;
42
43
return this ;
43
44
}
45
+
46
+ /**
47
+ * @see #setSubtitle(Title)
48
+ */
49
+ public Title getSubtitle () {
50
+ return this .subtitle ;
51
+ }
52
+
53
+ /**
54
+ * The subtitle configuration is passed into the options.subtitle namespace. The global options for the chart subtitle is
55
+ * defined in Chart.defaults.global.subtitle.
56
+ */
57
+ public Plugins setSubtitle (Title subtitle ) {
58
+ this .subtitle = subtitle ;
59
+ return this ;
60
+ }
44
61
45
62
/**
46
63
* @see #setLegend(Legend)
You can’t perform that action at this time.
0 commit comments