Wpf chart zooming

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Newbie
Newbie
Posts: 8
Joined: Mon Jun 18, 2012 12:00 am

Wpf chart zooming

Post by asupriya » Mon Jan 28, 2013 12:52 pm

How to zoom the chart with mouse right click in wpf?

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

Re: Wpf chart zooming

Post by Sandra » Mon Jan 28, 2013 4:29 pm

Hello asupriya,

Is not possible in this moment. There is a known bug for us with number [TW16015460]. We will try to fix it to upcoming versions of TeeChartWPF.

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

asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Re: Wpf chart zooming

Post by asupriya » Wed Jan 30, 2013 7:34 am

Amazing ... how can such a fundamental part of this library be having such a serious bug?

Anyways, if we need to implement it for WPF chart, how can we do it programatically? Please provide some sample code.

Thanks

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

Re: Wpf chart zooming

Post by Sandra » Wed Jan 30, 2013 2:33 pm

Hello asupriya,
Amazing ... how can such a fundamental part of this library be having such a serious bug?
I have increased the severity of bug number [TW16015460] because we will try to fix it to upcoming version of TeeChartWPF.
Anyways, if we need to implement it for WPF chart, how can we do it programatically? Please provide some sample code.
If you want use zoom with right button, you need do the same as you do in Winforms as do in next lines of code:

Code: Select all

 private void InitializeChart()
        {
            Steema.TeeChart.WPF.Styles.Bar bar1 = new Steema.TeeChart.WPF.Styles.Bar(tChart1.Chart);
            bar1.FillSampleValues();
            tChart1.Zoom.MouseButton = MouseButton.Right;
   }
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