本文整理汇总了PHP中Chart::column方法的典型用法代码示例。如果您正苦于以下问题:PHP Chart::column方法的具体用法?PHP Chart::column怎么用?PHP Chart::column使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Chart
的用法示例。
在下文中一共展示了Chart::column方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __
" data-date="<?php
echo $to_date;
?>
" data-date-format="yyyy-mm-dd">
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
<button type="submit" class="btn btn-primary"><?php
echo __('Filter');
?>
</button>
</form>
<br>
<?php
echo Chart::column($stats_daily, array('title' => __('Views and Ads statistics'), 'height' => 400, 'width' => 800, 'series' => '{0:{targetAxisIndex:1, visibleInLegend: true}}'));
?>
<?php
echo Chart::column($stats_orders, array('title' => __('Sales statistics'), 'height' => 400, 'width' => 800, 'series' => '{0:{targetAxisIndex:1, visibleInLegend: true}}'));
?>
</div>
</div>
</div> <!-- /.col-md-9 -->
</div> <!-- /.row -->
示例2: __
<span>-</span>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><?php
echo __('To');
?>
</div>
<input type="text" class="form-control" id="to_date" name="to_date" value="<?php
echo $to_date;
?>
" data-date="<?php
echo $to_date;
?>
" data-date-format="yyyy-mm-dd">
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
<button type="submit" class="btn btn-primary"><?php
echo __('Filter');
?>
</button>
<?php
echo Chart::column($stats_daily, array('title' => __('Views and Contacts statistic'), 'height' => 400, 'width' => 600, 'series' => '{0:{targetAxisIndex:1, visibleInLegend: true}}'));
?>
</form>
</div>
</div>
</div>
</div>
示例3: __
" data-date-format="yyyy-mm-dd">
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
<button type="submit" class="btn btn-primary"><?php
echo __('Filter');
?>
</button>
</form>
<br>
<?php
echo Chart::column($stats_daily, array('title' => __('Commissions per day'), 'height' => 200, 'width' => '100%', 'series' => '{0:{targetAxisIndex:1, visibleInLegend: true}}'));
?>
<h2><?php
echo __('Commissions');
?>
</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th><?php
echo __('Date');
?>
</th>
示例4: array
echo $licenses_total;
?>
</td>
<td><?php
echo $licenses_active;
?>
</td>
</tr>
</tbody>
</table>
<?php
echo Chart::column($stats_licenses, array('title' => __('Licenses statistics per day'), 'height' => 400, 'width' => '100%', 'series' => '{0:{targetAxisIndex:1, visibleInLegend: true}}'));
?>
<?php
echo Chart::column($stats_licenses_by_month, array('title' => __('Licenses statistics per month'), 'height' => 400, 'width' => '100%', 'series' => '{0:{targetAxisIndex:1, visibleInLegend: true}}'));
?>
</div>
<div class="tab-pane fade" id="products">
<div class="row">
<div class="col-md-9">
<h3><?php
echo __('Totals products');
?>
</h3>
<table class="table table-bordered table-condensed table-striped sortable">
<thead>
<tr>
<th><?php
echo __('Product');
?>