I am having a dataset map which consists of many keys.I want to retrieve the elements and display the annual chart.I used hashMap to put all the keys in it and retrieved the elements using the iterator.
The keys are put like this for each month-ISSUED_AMOUNT_1,DEBITED_SMOUNT_1,REFUND_AMOUNT_1 for january and so on for all the 12 months,for december-ISSUED_AMOUNT_12,DEBITED_SMOUNT_12,REFUND_AMOUNT_12.
I iterated through the keys,and checked to which month it belongs and retrieved the value and added to categorydataset.
But the order of retrieval is not guaranteed in this and so if the key of 4th month is the first key,4th month is displayed first in the chart and so on.
As the months are not in order,the lines are disturbed.I could see one line for each series,but the line is distracted and breaked at some points and started at other points.
So,which map is preferred as solution to my problem?
I used 1 map object for each month.I this an issue?Shall i have to use the same map for all the months, as the keys are with different names.
Can any help me??
