Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Request #18051 DataPreprocessor_Array Duplicate labels
Submitted: 2010-11-13 21:25 UTC
From: marks Assigned:
Status: Open Package: Image_Graph (version 0.8.0)
PHP Version: 5.2.12 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2010-11-13 21:25 UTC] marks (Marek Soucek)
Description: ------------ May be its an intention not a bug, but having in DataPreprocessor_Array duplicate labels, they are displayed only for the first value, where used. Its caused by the if clause condition in Graph/Axis.php line 1181. I found this, because I intended to format Timestapms on x axis in 2 level, (first of the day in full format Y-m-d H:i others in the same day H:i only) and I have not succeed to set up 2 levels of labels and so I decided to format my labels outside and deliver them through a DataPreprocessor_Array. as xvalue=>myformatedlabel. Setting upper mentioned condition to true gives expected results i my case, but I haven't studied the influence on other cases. Best regards Marek.

Comments