function __construct()
 {
     parent::__construct();
     $this->chart->type = 'spline';
     //    $this->xAxis = new HighRollerXAxis();
     //    $this->yAxis = new HighRollerYAxis();
     //    $this->plotOptions->spline = new HighRollerPlotOptionsByChartType($this->chart->type);
 }
 function __construct()
 {
     parent::__construct();
     $this->chart->type = 'area';
     //    $this->chart->alignTicks = true;
     //    $this->chart->endOnTick = false;
     //    $this->xAxis = new HighRollerXAxis();
     //    $this->yAxis = new HighRollerYAxis();
     //    $this->plotOptions->area = new HighRollerPlotOptionsByChartType($this->chart->type);
 }
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'pyramid';
 }
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'scatter';
 }
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'column';
 }
 function __construct()
 {
     parent::__construct();
     $this->chart->type = 'pie';
     //    $this->plotOptions->pie = new HighRollerPlotOptionsByChartType($this->chart->type);
 }
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'heatmap';
 }
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'spline';
 }
$linechart->yAxis->title->x = 60;
$linechart->yAxis->title->y = -10;
$linechart->yAxis->plotLines = array(array('color' => '#808080', 'width' => 1, 'value' => 0));
$linechart->addSeries($series1);
$linechart->addSeries($series2);
$linechart->addSeries($series3);
$linechart->enableAutoStep();
?>

<head>
<!-- jQuery 1.6.1 -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<!-- HighRoller: set the location of Highcharts library -->
<?php 
echo HighRoller::setHighChartsLocation("_assets/highcharts/highcharts.js");
echo HighRoller::setHighChartsThemeLocation("_assets/highcharts/themes/highroller.js");
?>
</head>

<body>
<!-- HighRoller: linechart div container -->
<div id="linechart"></div>
<script type="text/javascript">

  // example of how to define a tooltip formatter in a highcharts chart using using highroller
  var myChartOptions = <?php 
echo $linechart->getChartOptionsObject();
?>

  // define your own formatter for tooltip
  myChartOptions.tooltip.formatter = function() {
Beispiel #10
0
 function __construct()
 {
     parent::__construct();
     $this->chart->type = 'area';
 }
$linechart->yAxis->title->text = 'Total';
// HighRoller: create new series data object and hydrate with precious data
$series1 = new HighRollerSeriesData();
$series1->addName('myData')->addData($chartData);
// HighRoller: add series data object to chart object
$linechart->addSeries($series1);
?>

<head>

<!-- jQuery 1.6.1 -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

<!-- HighRoller: set the location of Highcharts library -->
<?php 
echo HighRoller::setHighChartsLocation("_assets/highcharts/highcharts.js");
?>
</head>

<body>
<!-- HighRoller: linechart div container -->
<div id="linechart" style="width: 64%;"></div>

<!-- HighRoller: renderChart() method generates new Highcarts object inside script tag -->
<script type="text/javascript">
  <?php 
echo $linechart->renderChart();
?>
</script>

<!--  FOOTER -->
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'funnel';
 }
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'boxplot';
 }
Beispiel #14
0
?>
				<td style="text-align: center; width: 33%;"><h3><?php 
echo TiendaHelperBase::currency(@$this->sum);
?>
</h3></td>
				<td style="text-align: center; width: 33%;"><h3><?php 
echo TiendaHelperBase::number(@$this->total, array('num_decimals' => '0'));
?>
</h3></td>
			</tr>
			</tbody>
			</table>

            <div class="section">
                <?php 
$chart = new HighRoller();
$chart->chart->renderTo = 'chart';
$chart->chart->type = 'mixed';
$chart->plotOptions = new stdClass();
$chart->plotOptions->column = new stdClass();
$chart->plotOptions->column->pointStart = strtotime(@$this->revenue[0][0]) * 1000;
$chart->plotOptions->column->pointInterval = @$this->interval->pointinterval;
$chart->plotOptions->line = new stdClass();
$chart->plotOptions->line->pointStart = strtotime(@$this->orders[0][0]) * 1000;
$chart->plotOptions->line->pointInterval = @$this->interval->pointinterval;
$chart->xAxis = new stdClass();
$chart->xAxis->labels = new stdClass();
$chart->xAxis->type = 'datetime';
$chart->xAxis->tickInterval = $chart->plotOptions->line->pointInterval;
$chart->xAxis->labels->rotation = -45;
$chart->xAxis->labels->align = 'right';
 public function __construct()
 {
     parent::__construct();
     $this->chart->type = 'waterfall';
 }