This is a migrated thread and some comments may be shown as answers.

RadChart with timer

1 Answer 98 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Simone
Top achievements
Rank 1
Simone asked on 28 Apr 2008, 04:50 PM
Hi All,

I'm trying RadChart and RadGrid to evaluate if the suite is confortable for my project.

I've to create a page with a grid that shows some data and below a chart that shows the same other data.
I need to refresh the chart with a timer.

On TimerChart_Tick event I rebind the Chart with my data.
All works fine, but when the chart's RadAjaxPanel refreshs the pager and scroollbar of the grid below, outside the ajaxpanel, move like if the grid it was updated.

I'don't uderstand the problem,
thanks and reguards.

this is the code:

<

asp:Panel ID="GridPanel" runat="Server" Visible="False" Width="100%">

<telerik:RadGrid ID="gwTrend" runat="server" Width="99%">

</telerik:RadGrid>

</asp:Panel>

<asp:Panel ID="ChartPanel" runat="Server" Visible="True" Width="100%">

<telerik:RadAjaxPanel EnableOutsideScripts="True" id="RadAjaxPanel1" runat="server" LoadingPanelID="AjaxLoadingPanel1">

<asp:Timer ID="TimerChart" runat="server" Interval="3000" OnTick="TimerChart_Tick">

</asp:Timer>

<telerik:RadChart ID="chTrend" runat="server" Height="600px" Width="1000px" AlternateText=""

EnableViewState="false">

<Appearance Border-Color="246,246,246">

</Appearance>

<PlotArea>

<%

--<YAxis AutoScale="false" Appearance-ValueFormat="General" >

</YAxis>--

%>

<XAxis LayoutMode="Normal" AutoScale="false" Appearance-ValueFormat="General" >

<Appearance MinorGridLines-Visible="false" MajorGridLines-Visible="true" />

<AxisLabel TextBlock-Text="Tempo" Appearance-Position-AlignedPosition="Center">

</AxisLabel>

</XAxis>

</PlotArea>

<%

--<Legend Visible="False">

<Appearance Border-Color="227, 227, 227" FillStyle-FillType="Solid" FillStyle-MainColor="white">

</Appearance>

</Legend>--

%>

<%

--<ChartTitle>

<TextBlock Text="Server CPU Load by Days">

</TextBlock>

</ChartTitle>--

%>

<Series>

<telerik:ChartSeries Name="Series1" Type="Line">

<Appearance ShowLabels="False" LineSeriesAppearance-Width="3" PointMark-Visible="false"

FillStyle-MainColor="199, 243, 178" FillStyle-SecondColor="17, 147, 7" Border-Color="dimgray">

</Appearance>

</telerik:ChartSeries>

</Series>

</telerik:RadChart>

</telerik:RadAjaxPanel>

<telerik:RadAjaxLoadingPanel id="AjaxLoadingPanel1" runat="server">

<div style="TEXT-ALIGN: center">

<asp:Image id="Image2" Runat="server" BorderWidth="0px" ImageUrl="~/Widgets/Loading.gif"

AlternateText="loading..."></asp:Image>

</div>

</telerik:RadAjaxLoadingPanel>

</asp:Panel>





1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 30 Apr 2008, 11:43 AM
Hello Simone,

Unfortunately we were unable to reproduce the described behavior. Please review the attached sample application and let us know how we could observe the problematic issue.


Sincerely yours,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Simone
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or