C#
sList.AxisFactor.YAxis.AnalysisItems[AnalysisCategory.Average].Visible = true; Random r = new Random(); for (int x = 0; x < 4; x++) sr.items.Add(item); this.hHippoChart1.Titles.Label.ForeColor = Color.SteelBlue; |
VB
Dim sList As SeriesList = New SeriesList sList.ChartType = ChartType.Column sList.AxisFactor.YAxis.AnalysisItems(AnalysisCategory.Average).Visible = true sList.AxisFactor.YAxis.AnalysisItems(AnalysisCategory.Average).Label.Text = "평균" Dim r As Random = New Random Dim i As Integer = 0 Do While (i < 4) Dim sr As Series = New Series Dim x As Integer = 0 Do While (x < 4) Dim item As SeriesItem = New SeriesItem item.YValue = r.Next(100) sr.items.Add(item) x = (x + 1) Loop sList.SeriesCollection.Add(sr) i = (i + 1) Loop Me.hHippoChart1.Titles.Label.ForeColor = Color.SteelBlue Me.hHippoChart1.DesignType = ChartDesignType.Simple Me.hHippoChart1.SeriesListDictionary.Add(sList) Me.hHippoChart1.DrawChart |
'Features > Axis Analysisitem' 카테고리의 다른 글
통계아이템(Axis Analysisitem) 라인, 글자 디자인하기 (0) | 2009.04.10 |
---|---|
통계아이템(Axis Analysisitem) : 총합 표시하기(범례에 안보이게) (0) | 2009.04.10 |
통계아이템(Axis Analysisitem) : 최대값, 최소값 표시하기 (0) | 2009.04.10 |
통계아이템(Axis Analysisitem) : 중앙값, 표준편차 표시하기 (0) | 2009.04.10 |