<button class="btn btn-primary" type="button" onclick="
			document.id('filter_from_date').value='';	
			document.id('filter_to_date').value='';
			document.id('filter_range').value='0';
			this.form.submit();"
			><i class="icon-remove "></i>&nbsp;</button>
		
	</div>
	<div class="clearfix"></div>
	<div class="row-fluid fltlft" id="statistic_chart" style="margin-top:10px;" align="left">
		<div id="error_notice"></div>
		<div class="clearfix"></div>
		<div id="month_chart">
			<?php 
$chart = new ChartHelper(1, $chartState->chartType, 'height:440');
echo $chart->getRevenueChart($chartState->range, $chartState->fromDate, $chartState->toDate);
?>
		</div>
		
		
		<div id="draw_chart" class="span12">
		
		</div>
		<div id="loading_chart" style="display:none">LOADING...</div>
	</div>
</div>

<input type="hidden" name="task" value=""/>

</form>
</div>
Example #2
0
 	
	<a href='index.php?option=com_bookpro&view=orders' class="btn-primary btn pull-right">
		<?php 
echo JText::_('COM_BOOKPRO_MORE_BOOKING');
?>
	</a>
		
	<a  href="<?php 
echo JRoute::_('index.php?option=com_bookpro&view=bookpro&layout=default_chart');
?>
" class="btn-primary btn pull-right" style="margin-right: 5px;">
		<i class="icon-chart"></i>&nbsp;<?php 
echo JText::_('COM_BOOKPRO_STATISTIC');
?>
	</a>
</legend>
<?php 
AImporter::helper('chart');
$chart = new ChartHelper(1, 'LineChart', 'height:230,backgroundColor:"#F7F7F7",vAxis: {title: "Total ' . JComponentHelper::getParams('com_bookpro')->get('currency_symbol') . '"}');
echo $chart->getRevenueChart('lastmonth');
?>
</div>
<div class="span3">
		<?php 
echo $this->loadTemplate('config');
?>
</div>

</div>
</div>