cheers,
One other query I have is,
Are their any plans on making a PHP class for highcharts?
would be nice to be able to go
Code: Select all
$HC = new HighCharts();
//set chart options
$HC->setOption({title = 'My chart, appendto = 'container'});
...etc
//add new series to chart
$HC->addSeries('series1');
$HC->seriesTitle('series 1 title');
$HC->addSeries('series2');
$HC->seriesTitle('series 2 title');
$HC->addSeries('series3');
$HC->seriesTitle('series 1 title');
//set active series
$HC->series('series2');
for($i=0; $i<= 10; $i++)
$HC->addDataPoint($i);
cheers,
One other query I have is,
Are their any plans on making a PHP class for highcharts?
would be nice to be able to go
[code]
$HC = new HighCharts();
//set chart options
$HC->setOption({title = 'My chart, appendto = 'container'});
...etc
//add new series to chart
$HC->addSeries('series1');
$HC->seriesTitle('series 1 title');
$HC->addSeries('series2');
$HC->seriesTitle('series 2 title');
$HC->addSeries('series3');
$HC->seriesTitle('series 1 title');
//set active series
$HC->series('series2');
for($i=0; $i<= 10; $i++)
$HC->addDataPoint($i);
//set active series
$HC->series('series1');
for($i=0; $i<= 10; $i++)
$HC->addDataPoint($i);
//set active series
$HC->series('series3');
for($i=0; $i<= 10; $i++)
$HC->addDataPoint($i);
...
blah blah blah
and eventually
$HC->Render();
if there are no plans for this,
would you object to me making one?