Activity for Afan Ottenheimer

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

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

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

    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.

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

    Is gd installed?

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

    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.

  • Afan Ottenheimer Afan Ottenheimer modified a comment on discussion Help and Discussion

    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 );

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

    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 );

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

    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.

  • Afan Ottenheimer Afan Ottenheimer modified a comment on discussion Help and Discussion

    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), ... );

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

    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.

  • Afan Ottenheimer Afan Ottenheimer posted a comment on discussion Help and Discussion

    For the X-labels - yes you can print only a few labels. One way is to set the X-label to blank (e.g. '') for those you don't want displayed. See the example prune_labels.php For the Y-labels perhaps Custom Data Value Labeling is what you want. See the example: ex-dlexformat.html in the docs.

  • Afan Ottenheimer Afan Ottenheimer created ticket #43

    Use interface name instead of descr for querying interface names.

  • Afan Ottenheimer Afan Ottenheimer posted a comment on ticket #5

    Had similar problems on Ubuntu 13.10. Had to compile at end adding -lpthread g++...

  • Afan Ottenheimer Afan Ottenheimer modified a comment on ticket #10

    FIxed by adding the following #include "/usr/include/opencv2/legacy/legacy.hpp"

  • Afan Ottenheimer Afan Ottenheimer posted a comment on ticket #10

    FIxed by adding the following include "/usr/include/opencv2/legacy/legacy.hpp"

  • Afan Ottenheimer Afan Ottenheimer posted a comment on ticket #10

    Note: $pkg-config --modversion opencv 2.4.5

  • Afan Ottenheimer Afan Ottenheimer created ticket #10

    tool_triangulaton.cpp compile error

  • Afan Ottenheimer Afan Ottenheimer posted a comment on ticket #9

    Forgot to mention this is on Linux, Ubuntu 13.10

  • Afan Ottenheimer Afan Ottenheimer posted a comment on ticket #9

    Get the same thing when trying to compile $make g++ -O3 -c pkg-config --cflags opencv...

1