Code: Select all
#require_once('jpgraph_glayout_vh.inc.php');
Moderator: mcrossley
Code: Select all
#require_once('jpgraph_glayout_vh.inc.php');
Code: Select all
require_once('jpgraph_glayout_vh.inc.php');
I now have pop up graphs on my interfaceHerbaldew wrote:Can one make the popup graphs work on the CMX interface (running on rPi)?
Code: Select all
gd_image.inc.php
imageSmoothArc.php
jpg-config.inc.php
jpgraph.php
jpgraph_date.php
jpgraph_errhandler.inc.php
jpgraph_gradient.php
jpgraph_legend.inc.php
jpgraph_line.php
jpgraph_plotline.php
jpgraph_plotmark.inc.php
jpgraph_rgb.inc.php
jpgraph_scatter.php
jpgraph_text.inc.php
jpgraph_theme.inc.php
jpgraph_ttf.inc.php
jpgraph_windrose.php
fonts\arial.ttf
fonts\DejaVuSans-Bold.ttf
fonts\DejaVuSans-BoldOblique.ttf
fonts\DejaVuSans-Oblique.ttf
fonts\DejaVuSans.ttf
fonts\FF_FONT0-Bold.gdf
fonts\FF_FONT0.gdf
fonts\FF_FONT1-Bold.gdf
fonts\FF_FONT1.gdf
fonts\FF_FONT2-Bold.gdf
fonts\FF_FONT2.gdf
fonts\verdana.ttf
If you use a database rather than rely on the json files then it would be fairly easy to recreate that graph.david3 wrote:I've got the graphs working with jpgraphs, but I notice the last Daily Rainfall graph (from the old graphs) is missing; the one that charts the last month's rainfall, day by day. I'm guessing the data isn't easily available on the server to create that one.
Has anybody found a replacement for it that can be created with jpgraphs?
Thanks, the full jpgraph install is *rather* large!Herbaldew wrote: The needed JpGraph files if anyone is interested:
Code: Select all
gd_image.inc.php imageSmoothArc.php jpg-config.inc.php jpgraph.php jpgraph_date.php jpgraph_errhandler.inc.php jpgraph_gradient.php jpgraph_legend.inc.php jpgraph_line.php jpgraph_plotline.php jpgraph_plotmark.inc.php jpgraph_rgb.inc.php jpgraph_scatter.php jpgraph_text.inc.php jpgraph_theme.inc.php jpgraph_ttf.inc.php jpgraph_windrose.php fonts\arial.ttf fonts\DejaVuSans-Bold.ttf fonts\DejaVuSans-BoldOblique.ttf fonts\DejaVuSans-Oblique.ttf fonts\DejaVuSans.ttf fonts\FF_FONT0-Bold.gdf fonts\FF_FONT0.gdf fonts\FF_FONT1-Bold.gdf fonts\FF_FONT1.gdf fonts\FF_FONT2-Bold.gdf fonts\FF_FONT2.gdf fonts\verdana.ttf
Have you looked at Settings, Station Settings, Graphs hours?Hello, I am looking to reduce the duration of the graph to display from 48h to 24h. Thanks for your help.
So in other words they just display the entire content of my JSON files.