2014-07-16 2 views
0

문제가 있습니다. TeeChart를 사용하는 Xamarin.Android 응용 프로그램이 있습니다. 차트를 만들고 데이터를 표시 한 후 차트를 클릭하고 응용 프로그램의 아무 곳으로나 드래그 할 수 있습니다. TeeChart를 사용하지 못하게하는 방법을 아는 사람이 있습니까?Xamarin.Android에서 TeeChart를 사용하지 않도록 설정하는 방법?

다음과 같이 사용하면 줌과 패닝 ZoomStyles.Classic Zoom.Style을 설정하고 몇 줌과 패닝 설정을 해제 할 수 있습니다 Xamarin.Android에 대한의 TeeChart와
var tChart1 = new TChart(this); 
      tChart1.Legend.Visible = false; 
      tChart1.Aspect.View3D = !tChart1.Aspect.View3D; 
      tChart1.Header.Text = String.Empty; 
      tChart1.Clickable = false; 
      tChart1.Enabled = false; 
      tChart1.Axes.Left.Labels.ValueFormat = "###.0"; 
      tChart1.Clickable = false; 
      tChart1.Axes.Left.Visible = true; 
      tChart1.Axes.Left.LabelsOnAxis = true; 
      tChart1.Axes.Top.Visible = false; 
      tChart1.Axes.Right.Visible = false; 
      tChart1.Axes.Right.LabelsOnAxis = true; 
      tChart1.Axes.Bottom.LabelsOnAxis = false; 

답변

1

:

tChart1.Zoom.Style = Steema.TeeChart.ZoomStyles.Classic; 
    tChart1.Zoom.Allow = false; 
    tChart1.Panning.Allow = Steema.TeeChart.ScrollModes.None; 

부담하십시오 이 기능은 몇 주 전에 게시 된 4.14.6.25 version에서만 사용할 수 있습니다. 따라서 이전 버전을 사용하는 경우이 기능을 사용할 수 있도록 최신 버전으로 업데이트하십시오.

+0

감사합니다. 작동합니다! –

관련 문제