Change valuecolorlist

Hilda

New Member
In my graph the series linked to the field may have sometime 1 series in a catogery or sometimes 2 series in a catogery. I need to set the color of valuecolorlist according to number of series. Say if i have only one series then valuecolorlist should be say Blue, if series is two then say valuecolorlist to be Blue and Magenta. Can anybody tell how could i achieve this. I am trying to check for DataSetcount in Finish of Graph and if Datasetcount is 1 then setting ValuecolorList to blue but it give me error or illegal variable, etc
Can anyone help me out?
 
Top