By: Chris
Date: 2012-03-08
Time: 23:10
|
Open TBS With MS Word & Chart
I am having difficulty following the chart example in the Open TBS example. I am trying to customise a chart but I keep getting server errors and I don't understand why. The code I have is...
$ChartNameOrNum = 'chart1';
$SeriesNameOrNum = 2;
$NewValues = array( array('Category A','Category B','Category C','Category D'), array(3, 1.1, 4.0, 3.3) );
$NewLegend = "New series 2";
$TBS->PlugIn(OPENTBS_CHART, $ChartNameOrNum, $SeriesNameOrNum, $NewValues, $NewLegend);
|
But for some reason using that code returns a server error 500.
|