ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / Chart Extenders / C1BarChart Extender / Styling the Axis Labels
In This Topic
    Styling the Axis Labels
    In This Topic

    To modify the X-Axis and Y-axis label color and font size complete the following:

    Select View | Properties Window in the Visual Studio menu.

    1. Click the drop-down list at the top of the Properties window and select Panel1_C1BarChartExtender.
    2. In the C1BarChart properties window expand Axis->X->Labels->AxisLabelStyle and set FontSize to 11.
    3. In the C1BarChart properties window expand Axis->Y->Labels->AxisLabelStyle and set FontSize to 11.
    4. In the C1BarChart properties window expand Axis->Y and set Text to Price.
    5. In the C1BarChart properties window expand Axis->Y->TextStyle->Fill and set Color to Black.
    6. In the C1BarChart properties window expand Axis->Y->TextStyle and set FontSize to 11.
    7. In the C1BarChart properties window expand Axis->X->TextStyle and set FontSize to 11.
    8. In the C1BarChart properties window expand Axis->X and set Text to Kitchen Electronics.
    9. In the C1BarChart properties window expand Axis->X->TextStyle->Fill and set color to Black.

    This topic illustrates the following:

    The following image shows the Y-Axis label’s font size and forecolor modified. The font size was modified using the FontSize property and the forecolor was modified using the Fill property.