BubbleData.java 802 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.github.mikephil.charting.data;
  2. import com.github.mikephil.charting.interfaces.datasets.IBubbleDataSet;
  3. import java.util.List;
  4. public class BubbleData extends BarLineScatterCandleBubbleData<IBubbleDataSet> {
  5. public BubbleData() {
  6. super();
  7. }
  8. public BubbleData(IBubbleDataSet... dataSets) {
  9. super(dataSets);
  10. }
  11. public BubbleData(List<IBubbleDataSet> dataSets) {
  12. super(dataSets);
  13. }
  14. /**
  15. * Sets the width of the circle that surrounds the bubble when highlighted
  16. * for all DataSet objects this data object contains, in dp.
  17. *
  18. * @param width
  19. */
  20. public void setHighlightCircleWidth(float width) {
  21. for (IBubbleDataSet set : mDataSets) {
  22. set.setHighlightCircleWidth(width);
  23. }
  24. }
  25. }