I have a really a strange issue of my pie chart not showing when I change the title of the chart. The titel is either in a variable $titel or in single quotes or double quotes. The values are correct because I can see the pie.
Any idea how I can trouble shoot, avoid this please?
Thank you,
Slarti
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the entire image disappears there may be an text error message returned which will cause the image to seem to disappear. Look in the logs for an error message - perhaps a comma missing, and.or look at the HTML source returned in that image to see if there's an error message.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Further to my comment, I find the pie chart is rather "moody". It is not only the title, but I change the size a bit and it only shows that little picture from the browser not the pie chart. I add one thing in one pie chart, it works. I do the same thing in another pie chart and it disappears
i. e.
$product->SetImageBorderType('plain');
or changing
$product->SetBackgroundColor('#ffffff'); to $product->SetBackgroundColor('#eeeeee');
or changing
$product = new PHPlot(320,200); to $product = new PHPlot(330,200);
... No log errors, no html error.
Is there any other log I could check? Are there specific orders how to add the values?
Last edit: Slarti Dent 2017-06-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I have a really a strange issue of my pie chart not showing when I change the title of the chart. The titel is either in a variable $titel or in single quotes or double quotes. The values are correct because I can see the pie.
Any idea how I can trouble shoot, avoid this please?
Thank you,
Slarti
If the entire image disappears there may be an text error message returned which will cause the image to seem to disappear. Look in the logs for an error message - perhaps a comma missing, and.or look at the HTML source returned in that image to see if there's an error message.
no error - let's say that the title was "Title" and I changed it to "Titles"
and whoop plot dissapears.
Further to my comment, I find the pie chart is rather "moody". It is not only the title, but I change the size a bit and it only shows that little picture from the browser not the pie chart. I add one thing in one pie chart, it works. I do the same thing in another pie chart and it disappears
i. e.
$product->SetImageBorderType('plain');
or changing
$product->SetBackgroundColor('#ffffff'); to $product->SetBackgroundColor('#eeeeee');
or changing
$product = new PHPlot(320,200); to $product = new PHPlot(330,200);
... No log errors, no html error.
Is there any other log I could check? Are there specific orders how to add the values?
Last edit: Slarti Dent 2017-06-07
Anyone? need more info? What would be the next step please?
Thank you