jmaclabs/HighRoller — Issue #1: Strict warnings
Author: wdavis
Created: 2012-03-10 07:39:43+00:00
State: open

When I use the sample code:

require DOC_ROOT.'/system/vendors/HighRoller/HighRoller.php';
require DOC_ROOT.'/system/vendors/HighRoller/HighRollerSeriesData.php';
require DOC_ROOT.'/system/vendors/HighRoller/HighRollerLineChart.php';

$chartData = array(5324, 7534, 6234, 7234, 8251, 10324);
$series1 = new HighRollerSeriesData();
$series1->addName('myData')->addData($chartData);
$linechart = new HighRollerLineChart();
$linechart->chart->renderTo = 'linechart';
$linechart->title->text = 'Hello HighRoller';
$linechart->yAxis->title->text = 'Total';
$linechart->addSeries($series1);

I get a Strict warning on $linechart->yAxis->title->text = 'Total';

"Creating default object from empty value"

Looks like the class is trying to set attributes on a null value?