Hello,
http://code.google.com/p/gchartphp/wiki/DataEncodingv states:
"If your data is not in the 0-61 range, inclusive,
the wrapper will scale it", but when I change the encoding
from "t" to "e" or "s" in the code below, the chart disappears:
$barChart = new gBarChart(700, 280, 'o');
$barChart->setDataRange(-2064, 8053);
$barChart->setEncodingType('t');
#$barChart->setEncodingType('s');
$barChart->setVisibleAxes(array('t', 'y'));
$barChart->addAxisRange(1, -2064, 8053);
$barChart->addAxisLabel(0, array('2010-44', '2010-45', '2010-46', '2010-47'));
$barChart->addDataSet(array('_', '_', '_', -2064));
$barChart->addDataSet(array(3927, 6133, 8053, 2802));
$barChart->setColors(array('3399FF', 'CCCCFF'));
$barChart->addValueMarkers('N**$','000000',0,null,12,null,'c');
$barChart->addValueMarkers('N**$','000000',1,null,12,null,'c');
$barChart->setAutoBarWidth();
Am I supposed to scale the data myself or
am I missing some GChartPhp-call here?
Thank you
Alex
--
You received this message because you are subscribed to the Google Groups
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-chart-api?hl=en.