Esempio n. 1
0
	/**
	 * 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);
	}
Esempio n. 2
0
	/**
	 * Removes all tooltips currently presented in the chart.
	 */
	public void dismissAllTooltips(){
		this.removeAllViews();
		if(mTooltip != null)
			mTooltip.setOn(false);
	}
Esempio n. 3
0
	/**
	 * 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);
	}