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.
Complete the following steps to set the height and width of C1ChartNavigator:
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"> |
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 |