Page 1 of 1
about web chart zoom
Posted: Wed Jul 20, 2011 8:20 am
by 13050783
Dear Support Team,
We have commercial version of TeeChart v2.0.50727 for ASP.NET
my chart is on div,div has a vertical scroll.when I move the scroll let the trend chart shown on my screen,and then I zoom the chart, the chart y-axis is on the wrong region. So some points that I zoomed are disappear.
Please help.
Best Regards
Carol
Re: about web chart zoom
Posted: Wed Jul 20, 2011 2:16 pm
by 10050769
Hello Carol,
Can you please, arrange a simple project we run as-is here, so we can try to find a good solution for you?
Thanks,
Re: about web chart zoom
Posted: Thu Jul 21, 2011 9:34 am
by 13050783
I have put our sample project on attachment. Hopping your solution soon.
Thanks
Re: about web chart zoom
Posted: Fri Jul 22, 2011 12:20 pm
by 10050769
Hello mks-ydi,
I couldn't reproduce your problem using your code. Please, can you explain step to step how we can reproduce your problem here? On the other hand, I am very grateful if you can try to do a test using last version of TeeChart.Net. You can use the
evaluation version and try check if your problem persist.
Thanks,
Re: about web chart zoom
Posted: Mon Jul 25, 2011 9:05 am
by 13050783
Hi Sandra
I have tried TeeChart.dll 4.1.2011.4197. The problem is still there.
Thanks
mks-ydi
Re: about web chart zoom
Posted: Tue Jul 26, 2011 12:27 pm
by 10050769
Hello mks-ydi,
I have done many test with your project, and finally I can reproduce your problem. The problem is caused in MasterPage and you can solve it, removing div tab, that doesn't allow zoom works fine, as do in next code:
Code: Select all
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="ChartZoom._Default" %>
<%@ Register Assembly="TeeChart" Namespace="Steema.TeeChart.Web" TagPrefix="tchart" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
<style type="text/css">
.TeeChart
{
position:absolute;
left:200px;
top:200px;
}
</style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<tchart:WebChart ID="WebChart1" runat="server" GetChartFile="GetChart.aspx"
TempChart="Session" AutoPostback="False" Height="300px"
Width="400px"/>
</asp:Content>
And modifying the position of chart into the master page, for example, as do in next lines of code:
Code: Select all
WebChart1.Style["position"] = "absolute";
WebChart1.Style["left"] = "200px";
WebChart1.Style["top"] = "200px";
Can you please, tell us if previous code works as you expected? On the other hand, I inform you, that the build 4.1.2011.4197, you use to check if problem appears, is not the last build of TeeChart.Net, so the last is Build 4.1.2011.06283. I would be very grateful, if you also can make the test in last version of TeeChart.
I hope will helps.
Thanks,