/** * Checks if the provided entry object is in bounds for drawing considering the current animation phase. * * @param e * @param set * @return */ protected boolean isInBoundsX(Entry e, IBarLineScatterCandleBubbleDataSet set) { if (e == null) return false; float entryIndex = set.getEntryIndex(e); if (e == null || entryIndex >= set.getEntryCount() * mAnimator.getPhaseX()) { return false; } else { return true; } }
/** * Checks if the provided entry object is in bounds for drawing considering the current animation phase. * * @param e * @param set * @return */ protected boolean isInBoundsX(Entry e, IBarLineScatterCandleBubbleDataSet set) { if (e == null) return false; float entryIndex = set.getEntryIndex(e); if (e == null || entryIndex >= set.getEntryCount() * mAnimator.getPhaseX()) { return false; } else { return true; } }
/** * Checks if the provided entry object is in bounds for drawing considering the current animation phase. * * @param e * @param set * @return */ protected boolean isInBoundsX(Entry e, IBarLineScatterCandleBubbleDataSet set) { if (e == null) return false; float entryIndex = set.getEntryIndex(e); if (e == null || entryIndex >= set.getEntryCount() * mAnimator.getPhaseX()) { return false; } else { return true; } }
/** * Checks if the provided entry object is in bounds for drawing considering the current animation phase. * * @param e * @param set * @return */ protected boolean isInBoundsX(Entry e, IBarLineScatterCandleBubbleDataSet set) { if (e == null) return false; float entryIndex = set.getEntryIndex(e); if (e == null || entryIndex >= set.getEntryCount() * mAnimator.getPhaseX()) { return false; } else { return true; } }
/** * Checks if the provided entry object is in bounds for drawing considering the current animation phase. * * @param e * @param set * @return */ protected boolean isInBoundsX(Entry e, IBarLineScatterCandleBubbleDataSet set) { if (e == null) { return false; } float entryIndex = set.getEntryIndex(e); if (e == null || entryIndex >= set.getEntryCount() * mAnimator.getPhaseX()) { return false; } else { return true; } }