Skip to content

Commit 61783af

Browse files
committed
Sync LineOptions with JS source code
1 parent 27a12fa commit 61783af

File tree

1 file changed

+84
-0
lines changed
  • chartjs-java-model/src/main/java/software/xdev/chartjs/model/options

1 file changed

+84
-0
lines changed

chartjs-java-model/src/main/java/software/xdev/chartjs/model/options/LineOptions.java

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,85 @@
2424
*/
2525
public class LineOptions extends Options<LineOptions, DefaultAnimation>
2626
{
27+
protected Object borderCapStyle;
28+
protected Number[] borderDash;
29+
protected Number borderDashOffset;
30+
protected Object borderJoinStyle;
31+
protected Boolean capBezierPoints;
32+
protected String cubicInterpolationMode;
2733
protected Number tension;
2834
protected Object stepped;
2935
protected Boolean showLine;
36+
protected Object fill;
3037
protected Object spanGaps;
3138
protected LineElements elements;
3239

40+
public Object getBorderCapStyle()
41+
{
42+
return this.borderCapStyle;
43+
}
44+
45+
public LineOptions setBorderCapStyle(final Object borderCapStyle)
46+
{
47+
this.borderCapStyle = borderCapStyle;
48+
return this;
49+
}
50+
51+
public Number[] getBorderDash()
52+
{
53+
return this.borderDash;
54+
}
55+
56+
public LineOptions setBorderDash(final Number[] borderDash)
57+
{
58+
this.borderDash = borderDash;
59+
return this;
60+
}
61+
62+
public Number getBorderDashOffset()
63+
{
64+
return this.borderDashOffset;
65+
}
66+
67+
public LineOptions setBorderDashOffset(final Number borderDashOffset)
68+
{
69+
this.borderDashOffset = borderDashOffset;
70+
return this;
71+
}
72+
73+
public Object getBorderJoinStyle()
74+
{
75+
return this.borderJoinStyle;
76+
}
77+
78+
public LineOptions setBorderJoinStyle(final Object borderJoinStyle)
79+
{
80+
this.borderJoinStyle = borderJoinStyle;
81+
return this;
82+
}
83+
84+
public Boolean getCapBezierPoints()
85+
{
86+
return this.capBezierPoints;
87+
}
88+
89+
public LineOptions setCapBezierPoints(final Boolean capBezierPoints)
90+
{
91+
this.capBezierPoints = capBezierPoints;
92+
return this;
93+
}
94+
95+
public String getCubicInterpolationMode()
96+
{
97+
return this.cubicInterpolationMode;
98+
}
99+
100+
public LineOptions setCubicInterpolationMode(final String cubicInterpolationMode)
101+
{
102+
this.cubicInterpolationMode = cubicInterpolationMode;
103+
return this;
104+
}
105+
33106
public Number getTension()
34107
{
35108
return this.tension;
@@ -63,6 +136,17 @@ public LineOptions setShowLine(final Boolean showLine)
63136
return this;
64137
}
65138

139+
public Object getFill()
140+
{
141+
return this.fill;
142+
}
143+
144+
public LineOptions setFill(final Object fill)
145+
{
146+
this.fill = fill;
147+
return this;
148+
}
149+
66150
public Object getSpanGaps()
67151
{
68152
return this.spanGaps;

0 commit comments

Comments
 (0)