about web chart zoom

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
mks-ydi
Newbie
Newbie
Posts: 26
Joined: Mon Nov 10, 2008 12:00 am

about web chart zoom

Post by mks-ydi » Wed Jul 20, 2011 8:20 am

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: about web chart zoom

Post by Sandra » Wed Jul 20, 2011 2:16 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mks-ydi
Newbie
Newbie
Posts: 26
Joined: Mon Nov 10, 2008 12:00 am

Re: about web chart zoom

Post by mks-ydi » Thu Jul 21, 2011 9:34 am

I have put our sample project on attachment. Hopping your solution soon.

Thanks
Attachments
ChartZoom.zip
(163.95 KiB) Downloaded 515 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: about web chart zoom

Post by Sandra » Fri Jul 22, 2011 12:20 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

mks-ydi
Newbie
Newbie
Posts: 26
Joined: Mon Nov 10, 2008 12:00 am

Re: about web chart zoom

Post by mks-ydi » Mon Jul 25, 2011 9:05 am

Hi Sandra

I have tried TeeChart.dll 4.1.2011.4197. The problem is still there.

Thanks
mks-ydi

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: about web chart zoom

Post by Sandra » Tue Jul 26, 2011 12:27 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply