Skip to content

Commit 6cc68f6

Browse files
committed
Added pointStyle option in BubbleDataset
1 parent d2de53b commit 6cc68f6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

chartjs-java-model/src/main/java/software/xdev/chartjs/model/dataset/BubbleDataset.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.util.List;
1919

2020
import software.xdev.chartjs.model.datapoint.BubbleDataPoint;
21+
import software.xdev.chartjs.model.enums.PointStyle;
2122
import software.xdev.chartjs.model.objects.OptionalArray;
2223

2324

@@ -33,6 +34,8 @@
3334
public class BubbleDataset extends RoundDataset<BubbleDataset, BubbleDataPoint>
3435
{
3536
private final List<Integer> hoverRadius = new OptionalArray<>();
37+
38+
private PointStyle pointStyle;
3639

3740
@Override
3841
protected String defaultType()
@@ -72,4 +75,15 @@ public List<Integer> getHoverRadius()
7275
{
7376
return this.hoverRadius;
7477
}
78+
79+
public PointStyle getPointStyle()
80+
{
81+
return pointStyle;
82+
}
83+
84+
public BubbleDataset setPointStyle(final PointStyle pointStyle)
85+
{
86+
this.pointStyle = pointStyle;
87+
return this;
88+
}
7589
}

0 commit comments

Comments
 (0)