Choose peak filling based on expression

You can use an expression to have the peaks automatically filled with specific colors. This allows you to show peaks with specific properties in a different color. For example, you can use a report parameter for the peak area, and fill all peaks with an area greater than the given value with a red color.

  1. In the Report Properties, add a report parameter (e.g. Report_Parameter_0) of type Integer.

  2. In the Chromatogram Properties, select the Peak Labels page.

  3. Under Peak Filling, select a fill type, e.g. Gradient type 3. Select Use Color and choose <Expression...>.

  4. In the Expression Editor, enter the required expression. For example:

  5. =iif(Peak_Area > Report_Parameter_0, "Red", "DarkGray")

    The color and their names are listed in a separate node in the lower left panel.

In the report preview, provide a value for the report parameter. All peaks with an area greater than this value will be shown with a red filling.