Question about intelligent handling of date formats. Because my date points are always variable I use $layer->setXData($labels) - Perl. I notice when there are lots of data points over a reasonable duration, ChartDirector does the right thing - labels are 09/2012, 10/2012, 11/2012, etc ie mm/yyyy. But when the range is short I get eg 11/14/2012, 11/15/2012, 11/16/2012, etc ie mm/dd/yyyy (which is not the correct format for European dates). I know I can use $c->xAxis()->setDateScale3("{value|dd-mm-yyyy}") to force dd/mm/yyyy format, but it then overrides the previously OK mm/yyyy format on the datasets with wider date ranges.
Is there any way I can keep the existing "intelligent" auto-formatting (ie dd/mm/yyyy over short range and mm/yyyy over longer range), but set default date format to European intead of American? No offense to Americans, it's just not the normal date format over here |