Take the 2-minute tour ×

Is it possible in pchart to have a barchart with only one value? I have a bar chart that display correctly with 1 serie with any number of values but pchart crashes when the series contains only one value.

If someone would let me know this would prevent me investigating any further.

Thank you.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Yes. Based on v1.27d you can modify their documentation example to just have one value in the $DataSet


May need to use the chart's setFixedScale function to make sure it shows properly.

share|improve this answer
add comment

Your Answer


