2013-10-01 2 views

답변

1

통계 도구는 평균 트렌드와 같은 일련의 기본 기능을 쉽게 추가 할 수 있습니다

덕분에, etc.And 또한 선택한 시리즈에 대한 기본 통계 정보 보고서를 보여줍니다. 당신은 TeeChartActiveX 데모 프로젝트에 간단한 예를 찾을 수 있습니다, 구체적으로, 모든 기능 \ 도구 SeriesStats 또는 코드의 다음 간단한 예를 살펴 복용 \ : 나는

감사합니다 도움이되기를 바랍니다

Private Sub Form_Load() 
    With TChart1 
     .AddSeries scLine 
     .Series(0).FillSampleValues 100 
     .Tools.Add tcSeriesStats 
     .Tools.Items(0).asSeriesStats.Series = TChart1.Series(0) 
     ' Add a series to be used for an Average Function 
     .AddSeries scLine 
     'Define the Function Type for the new Series 
     .Series(1).SetFunction tfAverage 
     .Series(1).DataSource = .Series(0) 
    Text1.Text = .Tools.Items(0).asSeriesStats.Statistics.Text 
    End With 

End Sub 

는,

+0

새 시리즈를 추가 할 수 없습니다. 통계 도구의 정보 탭에있는 데이터 만 필요합니다. 어떻게 검색 할 수 있습니까? –

+0

안녕하세요 Akshay Bhalla, 정보를 원하면 다음 코드 행에서 Text1.Text = TChart1.Tools.Items (0) .asSeriesStats.Statistics.Text이므로 수행해야합니다. 시리즈의 통계 텍스트에만 액세스해야합니다. –