Articles in this section
Category / Section

How to Set Specific Color for Specific Values in Chart Series

Published:
Updated:

Creating visually appealing and informative charts is essential for presenting data effectively. Customizing the chart series colors in Bold Reports can significantly enhance the clarity and impact of your charts, making it easier for viewers to interpret the information.

To set a particular color for a specific value in the chart series of the reports, follow these instructions:

  1. Drag and drop the bar chart report items from the widget panel as shown in the image below.

    image.png

  2. Click on the chart items and then set the data set values for the chart accordingly.

    image.png

  3. Click the preview button to see the output in the report viewer.

    image.png

  4. To set a specific color for the particular value in the chart series, choose the Chart Series property in the Basic Settings option, as shown in the image below.

    image.png

  5. Select the expression option in the Series Color property of the chart.

    image.png

  6. Use an expression like the one below mentioned in the Series Color property to show the specific color for a particular value.

    =Switch(Fields!Gender.Value="M","Red",Fields!Gender.Value="F","Pink") 
    

    image.png

  7. After setting the expression, click the preview button again to see the output with different colors for different values in the series.

    image.png

  8. Click here to download the sample report.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied