User Activity

  • Posted a comment on discussion Help and Discussion on PHPlot

    Hi - I've moved PHPLOT development to https://github.com/ajRepo/phplot . Can you open support requests there instead?

  • Posted a comment on discussion Help and Discussion on PHPlot

    If you get the "image contains errors" error on your browser, it usually means there is text in what's returned in addition to the binary data that defines the image. So perhaps your dbc.php has some HTML header information that it is returning or the like. To tell - look at the raw data being returned for the image and see. Also - I've moved development to git via github ( https://github.com/AJRepo/PHPlot/ ) from Sourceforge.

  • Posted a comment on discussion Help and Discussion on PHPlot

    Is gd installed?

  • Posted a comment on discussion Help and Discussion on PHPlot

    That sounds like a kerning issue ( https://www.freetype.org/freetype2/docs/tutorial/step2.html ). So I would guess that - it is the differences between the Freetype setup that's causing that issue.

  • Modified a comment on discussion Help and Discussion on PHPlot

    Should be straightforward 1) Set PHPlot to save the image (e.g. /tmp/my_phplot_output.png; ) (Look for SetOutputFile) 2) With FPDF $image1 = '/tmp/my_phplot_output.png'; // Insert a logo in the top-left corner $pdf->Image($image1,10,10); or 2) create a cell and put the image in it. //have a cell 40x40 with an image in it, no border, left aligned with text $this->Cell( 40, 40, $pdf->Image($image1, $pdf->GetX(), $pdf->GetY()), 0, 0, 'L', false );

  • Posted a comment on discussion Help and Discussion on PHPlot

    Should be straightforward 1) Set PHPlot to save the image (e.g. /tmp/my_phplot_output.png; ) (Look for variable $output_file) 2) With FPDF $image1 = '/tmp/my_phplot_output.png'; // Insert a logo in the top-left corner $pdf->Image($image1,10,10); or 2) create a cell and put the image in it. //have a cell 40x40 with an image in it, no border, left aligned with text $this->Cell( 40, 40, $pdf->Image($image1, $pdf->GetX(), $pdf->GetY()), 0, 0, 'L', false );

  • Posted a comment on discussion Help and Discussion on PHPlot

    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.

  • Modified a comment on discussion Help and Discussion on PHPlot

    the function json_encode just returns a string representation of the data. Try having $data as an array. Something like $data = array( array('Mon', 5), array('Tue', 15), array('Wed', 9), array('Thu', 9), array('Sat', 4), array('Sun', 1) ); See the docs ex-bars1.html for more info and multiple data per day e.g. $data = array( array('Mon',5,1), array('Tue',15,4), ... );

View All

Personal Data

Username:
afan
Joined:
2000-11-14 03:16:05

Projects

This is a list of open source software projects that Afan Ottenheimer is associated with:

  • Project Logo PHPlot A PHP class for creating graphs, plots, charts Last Updated:

Personal Tools