Questions tagged [phpgraphlib]

PHPGraphLib is a lightweight PHP-based graphing library that creates slick PHP graphs for incorporation into a website or application. PHPGraphLib is free to use for personal use, and can be used for a small fee commercially.

35 questions
0
votes
1 answer

include function and Graphs in PHP

i am using libCharts in my PHP application ....the graphs are working but when i include it in the application using INCLUDE function then it does not work it give me the error Warning: include(charts/charts-example-line.php) [function.include]:…
0
votes
1 answer

i want to create a graph in php fetching values from database

i have a php website which takes input such as employee name,date,in time and out time.now i want create a graph based on date and time.to see the graph that when the employees are on time.
0
votes
1 answer

phpgraphlib_v2.31 - Graph not loading into a Div in PHP

I used this link to create a graph in php.The graph created successfully. But when i loading this into a div ,it displays error. That means this is my code:
Kichu
  • 3,284
  • 15
  • 69
  • 135
-1
votes
1 answer

How to pass array as optional parameter and iterate over it?

I am trying to modify phpgraphlib so that I can generate a legend when multiple bar colors are used. I added an array with colors as optional parameter in generateLegend() but it doesn't seem to work. I don't know what's wrong. I have no prior…
no-name
  • 477
  • 1
  • 5
  • 13
-1
votes
1 answer

How to load an image every second using Javascript

I have programmed a web site in HTML/PHP/Javascript that must display the data stored in a MySQL database every second. It displays it as a graph (PNG image produced by running graph.php). Live Tracking…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/phpgraphlib" class="post-tag grid--cell" title="show questions tagged 'phpgraphlib'" rel="tag">phpgraphlib</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 07 '18 at 10:10">asked Jan 07 '18 at 10:10</time> <a href="../../users/4359780/monchu" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4359780.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="monchu" /> </a> <div class="s-user-card--info"> <a href="../../users/4359780/monchu" class="s-user-card--link">monchu</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3</li> <li class="s-award-bling s-award-bling__bronze" title="1 bronze badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/phpgraphlib_page=2" rel="prev" title="Go to page 2">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/phpgraphlib_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/phpgraphlib_page=2" rel="" title="Go to page 2">2</a> <div class="s-pagination--item is-selected">3</div> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>