home page
about us
consulting service
maintenance plan
training
faqs
hints and tips
resources
how to
testimonials
news
blog
case studies
clients
register
log in
contact us
This causes an issue for developers who want and/or require more flexibility in the choice of colours for the chart colour palette.One method would be to add some code to the report, defining the colour palette for the chart, and then applying the code.An alternative method is to use the SWITCH function. The Switch function evaluates a list of expressions and returns an Object value corresponding to the first expression in the list that is True.To create a custom palette based on the following values:
=Switch(Fields!CaseStatus.Value="Complete","LimeGreen",
Fields!CaseStatus.Value="Ready","GreenYellow",
Fields!CaseStatus.Value="In Progress","Yellow",
Fields!CaseStatus.Value="Not Progressed","Red",
Fields!CaseStatus.Value="Unknown","Blue")