The WPF teechart's zoom funtion isn't able to work correctly
Posted: Thu Mar 24, 2011 7:39 am
When I use the Steema.TeeChart.WPF.TChart, the code is display as below:
private Steema.TeeChart.WPF.TChart tchart;
private Steema.TeeChart.WPF.Styles.FastLine line;
public Window1()
{
InitializeComponent();
tchart = new Steema.TeeChart.WPF.TChart();
// TeeChart.Aspect
this.tchart.Aspect.View3D = false;
// TeeChart.Langend
this.tchart.Legend.Visible = false;
tchart.Zoom.MouseButton = MouseButton.Right;
line = new FastLine(this.tchart.Chart);
line.FillSampleValues(100);
}
When I pressed down the mouse right button and zoomed the chart.
The selected rectangle couldn't release the mouse.
so it isn't able to zoom chart.
private Steema.TeeChart.WPF.TChart tchart;
private Steema.TeeChart.WPF.Styles.FastLine line;
public Window1()
{
InitializeComponent();
tchart = new Steema.TeeChart.WPF.TChart();
// TeeChart.Aspect
this.tchart.Aspect.View3D = false;
// TeeChart.Langend
this.tchart.Legend.Visible = false;
tchart.Zoom.MouseButton = MouseButton.Right;
line = new FastLine(this.tchart.Chart);
line.FillSampleValues(100);
}
When I pressed down the mouse right button and zoomed the chart.
The selected rectangle couldn't release the mouse.
so it isn't able to zoom chart.