I have a chart with sales and targets. Problem is that the sales are right on target and the series points are overlapping and values cannot be read. I've tried every setting from docs to move but it moves both values - not independently. How can I present this graph so it is actually readable.
Seems this was written for an old version of PHP that handled variables differently, I fixed the issues to work on newer versions. Cleaned the code to use neater formatting, removed some redundant code/changed the copy/pasted blocks to functions
I ran into issues going from PHP 5.6 to 7.1 and was sad to see there's no update to fix this. However I used XDebug to step through the code and see what the hangup was. In my case I was able to fix it by changing just 2 lines: pData.class before: function pData() { $this->Data = ""; $this->DataDescription = ""; pData.class after: function pData() { $this->Data = array(); $this->DataDescription = array(); Hope this helps in your case as well
I have developed a website (www.rookeries.uk) incorporating pchart. This have been live now for 18-months. A recent upgrade of PHP (from 7.0 to 7.2) has resulted in the pcharts not being rendered and a blank page being displayed. If i remove the pchart from a page, the page is correctly displayed (minus the chart). I used Netbeans to develop the website and the charts are still displayed in this environment. What do I need to change to get pchart to work with PHP 7.2. Thanks Roger Hicks
Infinit loop when graph area heigh smaller than some value. This works fine: Add this before while on 473: $i = 0; And this in while body: If ($i++ == 100) { $ScaleOk = TRUE; $Divisions = 1; $Scale = 2; }
Maximum rows (series) reached in PChart version 1.1.2 Radar
This is my first time to use pchart to generate the report. But i try to show pchart...
Hi! I need to import data from CSV in a pie chart, can you help me? thanks in ad...
Hi, I have a real problem with that. I try to include 2 or more charts in the same...
Hi Juan, Can you show me an example of the data you want to feed in the array? Kind...
Finally I was able to post the graph, but when I want to change the data to arrays...
Hi. I am new with this chart library. I am trying to display this graph: <?php //...
Hi Alessio I would suggest to convert the image to a base64 string so you can include...
Hi pchart is great! I would like to ask how can send the graphics generated by email....
Hi pchart in great! I would like to ask how can send the graphics generated by email....
class graphTest{ function drawBarChart(){ $MyData = new pData(); $MyData->addPoints(array(150,0,300,250),"Opens");...
Bonjour, Je souhaiterai afficher plusieurs graphiques sur une même page afin de faire...
Aloha, Seems that the class initialisation isn't done. You should try to add : $myPicture...
I must be doing something basic wrong. I downloaded pChart and trying to get an example...
Hi, First off, first post here and also, I really don't know what I'm doing with...
i want to know Pchart is compatible with mobile device , bcoz i am using donut chart...
Hi I would like to see only the positive values (I can have negative values but I...
(Translated by Google) Using the example in the pChart official website: http://pchart.sourceforge.net/documentation.php?topic=exemple15...
Hello, I am able to draw a graph but I want to make changes to the datapoints and...
(Translated by Google) Using the example in the pChart official website: http://pchart.sourceforge.net/documentation.php?topic=exemple15...
Thanks Jean-Damien!
Hi Freddy, You have to remove all the characters before the <?php tag because of...
Hi, if run myGraph.php, I see a whole bunch of garbage displayed in the browser....
The documentation for the scatter graph is pretty lacking.. Can anyone explain to...
I'm not sure if this would fall under a scatter graph or not but what I need to do...
Build my code with data from mysql database, but when debugging the application generated...