Dear All,
I have a number of data from mysql database to be populated into a graph format. The graph is speed vs time. The time will be in every minute. So far I have tried two tools one phPlot and PhpGraphLib. The first one will only plot say at most 10 points and second one give me an error of too many points. Any help on how to draw a line graph with many x-axis points? Thank you.
newbie14 0 Posting Pro
Recommended Answers
Jump to PostRead that question again and see if it makes sense. My crystal ball is ever so cloudy.
Jump to PostI wasn't looking for short and simple, I was looking for more info so that I could suggest something...
How many points are you looking at?
Have you got a script other than the 2 mentioned in mind?
What's the DB structure? Is it relevant?
You mention speed v time …
Jump to PostOK speed (y axis) and dateTimer (time on x-axis)
If you find 1000 values you could cut them down by choosing to sample 1 data pt in every 10, to give you 100 pts. Or something similar. If you're producing, say a 600 x 300 pixel graph, there's no way …
All 12 Replies

diafol
newbie14 0 Posting Pro

diafol
newbie14 0 Posting Pro
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
newbie14 0 Posting Pro

diafol
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
newbie14 0 Posting Pro

diafol

diafol
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.