2D Chart for WinForms | ComponentOne
Chart for WinForms Task-Based Help / Adding Visual Effects to Chart Elements / Customize Header and Footer / Add a Light Pattern to the Chart Header and Footer
In This Topic
    Add a Light Pattern to the Chart Header and Footer
    In This Topic

    You can show repetitive light patterns in a chart element by setting the Scale property to a value less than 1. As you decrease the Scale, the light pattern repeats more. The values of the Scale property range from 0 to 1.

    To add a light pattern to the Chart Header and Chart Footer elements, complete the following steps:

    1. Add a Chart Header and Chart Footer.

      For details on how to add a Chart Header see, Add a Chart Header. For details on how to add a Chart Footer see, Add a Chart Footer.

    2. Open the Visual Effects designer.

      For details on how to access the Visual Effects designer see Access the Visual Effects Designer.

    3. In the Available Elements list box, click on the boxes next to Header and Footer.
    4. Click on the Parameters tab. Set the light Shape property to Rectangle.
    5. Select the Scale property and move the Scale slider the left to 0.20 or enter .20 in the text box.
      Note: The Scale property is only applicable for the Rectangle light gradient.

      The rectangular pattern is repeated for the Header element.


      The rectangular pattern is repeated for the Footer element.


    To add a light pattern to the Chart Header's and Footer's text element, complete the following steps:

    1. Open the Visual Effects designer.

      For details on how to access the Visual Effects designer see Access the Visual Effects Designer.

    2. In the Available Elements list box, unselect the Header and Text check boxes and click on the boxes next to Header.Text and Footer.Text.
    3. Click on the Parameters tab. Set the light Shape property to Rectangle.
    4. Select the Scale property and move the Scale slider to 0.20 or enter 0.20 in the text box.
      Note: The Scale property is only applicable for the Rectangle light gradient.

      The rectangular pattern is repeated for the Header's text element.


      The rectangular pattern is repeated for the Footer's text element.


    See Also