/** * Remove {@link Tooltip}/{@link View} to chart/parent view. * * @param tip tooltip to be removed to chart */ private void removeTooltip(Tooltip tip){ this.removeView(tip); tip.setOn(false); }
/** * Removes all tooltips currently presented in the chart. */ public void dismissAllTooltips(){ this.removeAllViews(); if(mTooltip != null) mTooltip.setOn(false); }
/** * Add {@link Tooltip}/{@link View}. to chart/parent view. * * @param tip tooltip to be added to chart */ private void addTooltip(Tooltip tip){ this.addView(tip); tip.setOn(true); }