ok
am making charts for users and there statistics e.g.( bandwidth , sent bits ..... ect)
and my users objects are in arraylist called Globalusers
and am adding them into a dataset
am facing these two strange problems
1. when am making the category as the users region
it is giving me zero values when display
Code: Select all
dataset.addValue( ( (InternetUser) (Globalusers.get(i)) ).getRecNum() , series1, ( (InternetUser) (Globalusers.get(i)) ).getRegion() );
Code: Select all
dataset.addValue( ( (InternetUser) (Globalusers.get(i)) ).getRecNum() , series1, ( (InternetUser) (Globalusers.get(i)) ).getBU() );
2.The other interesting problem is
when displaying the results with the region category and the regions are duplecated and some of them in upper case and some are in lower
it gives e.g.( london = 438, LONDON = 3882, and PARIS = 3153)
so i thought that the datset category is case sensitive
then when i made the all in UPPERCASE format
guess what ???

it gives this result
e.g.( LONDON = 438 , PARIS = 3153 )
oh my god

and thank you for your help in advance