pChart 2.x forum
http://wiki.pchart.net/forum/

Problems with empty series
http://wiki.pchart.net/forum/viewtopic.php?f=5&t=421
Page 1 of 1

Author:  hts [ Wed Apr 27, 2011 6:34 am ]
Post subject:  Problems with empty series

Hi there,

calculating my series it's possible that for one series all data is VOID. In this case pChart fails with:
Code:
Warning: max() [function.max]: When only one parameter is given, it must be an array in ...\pChart\pData.class.php on line 92


Sure it's part of my own fault, but wouldn't it be nice to have an empty chart without failures in that case?

Always checking my series to have at least one valid value could be done by the pChart-class, I think.

Greetings,

Hannes

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/