I have an histogram showing people count (does not matter what actually) vs. time. But I need to show the time in
minutes (like 05:10 meaning 5 minutes 10 seconds) not in seconds (like 310).
Is there any way to make the histogram labels got from a function such as String function(int originalLabel)?
Thanks.
Pavel — 22.07.08
The histogram labels are displayed in current model time units and cannot be changed. You may put "Text"
element near the histogram and type the code like the following in the "Text" field on "Dynamic" tab
of this element:
""+getMinute()+" min. "+getSecond()+" sec."
Dinçer Kavraal — 24.07.08
Thanks, it is obviously doable. Besides, I use that method for plots. However, since histogram bars are dynamic, I can
not know where to put the labels. I should overlay the histogram X axis labels which I do not know where exactly.
That is the problem.
Any ideas for that?
Artem — 25.07.08
For instance, you may display min and max X-values using "Text". Also you may add new "Text"
displays the current value when a new item is added to the "Histogram Data".