In image, How to stop a line graph from dropping to zero ?
I do not want to plot zero on graph.
I do not want to plot 4 red circles on graph. How can i do?
How to stop a line graph from dropping to zero ?
Fix the code, fix mysql, fix the program. Thank You very much.
Remove the zero values from the data from which the zero values are plotted in the graph. But how is your question related to PHP if you haven't posted a single piece of PHP code? Maybe you posted your question in the bad forum.
You got no answers there. I second mikrom, you would just need to drop the zeros from the values (see the URL of your request), but maybe your requirement is to have the x axis extend that far and just stop plotting before the x axis ends. If that's the case, posting that requirement would help people come up with an answer, nobody can read minds, still, today.
Otherwise I guess you get no answer, because it's so blatantly obvious you just drop the zeros and nobody wants to invoke the elephant in the room.
All in all, your question surely is better suited in the JPGraph Google group, even though you still got no responses there and now 2 here, but PHP programming doesn't mean using any PHP tool and knowing it in and out or digging into documentation for someone, who does not or cannot.
I'm sure if you become more specific about your requirements, you'll also get an answer from the JPGraph users (and developers, I guess) community or they could add that feature of incomplete graphing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.