Ejemplo n.º 1
0
	/**
	 * Mandatory horizontal border when necessary (ex: BarCharts)
	 * Sets the attribute depending on the chart's orientation.
	 * e.g. If orientation is VERTICAL it means that this attribute must be handled
	 * by horizontal axis and not the vertical axis.
	 */
	void setMandatoryBorderSpacing(){

		if(mOrientation == Orientation.VERTICAL)
			horController.mandatoryBorderSpacing = 1;
		else
			verController.mandatoryBorderSpacing = 1;
	}