ComponentOne ChartNavigator for ASP.NET Web Forms
Features / Size
In This Topic
    Size
    In This Topic

    A ChartNavigator control is bound to a chart to display data trends. In order to represent correlations, trends and performance efficiently, the size of ChartNavigator must be set according to the size of the main chart.

    Set the width of ChartNavigator same as that of the main chart.

    Complete the following steps to set the height and width of C1ChartNavigator:

    In the Designer

    1. Right click the ChartNavigator and select Properties to open the Properties window.
    2. Set the value of Height property to 50px.
    3. Set the value of Width property to 500px.

    In Source View

    Set the Height and Width properties of the ChartNavigator within the <cC1:C1ChartNavigator> tag.

    Source View
    Copy Code
    <cC1:C1ChartNavigator ID="C1ChartNavigator1" runat="server" Height="50px" Width="500px">
    

    In Code

    Add the following code to the Page_Load event to set the height and width of the ChartNavigator.

    C#
    Copy Code
    C1ChartNavigator1.Height = 50;
    C1ChartNavigator1.Width = 500;
    

    VB
    Copy Code
    C1ChartNavigator1.Height = 50
    C1ChartNavigator1.Width = 500