private static int getChartWindowHeight ( final boolean fullPage ) { if ( fullPage ) { return Math . max ( ( int ) ( Page . getCurrent ( ) . getBrowserWindowHeight ( ) * HEIGHT_PERCENTAGE_FULL_PAGE ) , MINIMUM_CHART_HEIGHT_FULL_PAGE ) ; } else { return Math . max ( ( int ) ( Page . getCurrent ( ) . getBrowserWindowHeight ( ) * HEIGHT_PERCETAGE_HALF_PAGE ) , NINIMUM_CHART_HEIGHT_HALF_PAGE ) ; } }
Gets the chart window height .