Esempio n. 1
0
	/**
	 * Method not expected to be used often. More for testing.
	 * Resets chart state to insert new configuration.
	 */
	public void reset(){

		if(mAnim != null && mAnim.isPlaying())
			mAnim.cancel();

		init();
		if(horController.mandatoryBorderSpacing != 0) {
			horController.reset();
		}

		if(verController.mandatoryBorderSpacing != 0) {
			verController.reset();
		}

		mHasThresholdLabel = false;
		mHasThresholdValue = false;
		style.thresholdPaint = null;

		style.gridPaint = null;
	}