Home 소개       다운로드       온라인 설명서      주식/코인 차트    Q & A     Blog    

에러바 차트(Error Bar Chart) - 백분율







viagra price

buy viagra online uk

amitriptyline pain

nerve pain in tooth amitriptyline

purchase abortion pill online

abortion pill usa legal click here name of abortion pill in u
데이터의 오차 범위를 백분율로 표현합니다. 기본값은 5%이고 ErrorPercentage 를 통해 값을 설정 가능합니다.




에러바 차트(Error Bar Chart)  에러바 차트(Error Bar Chart) - 표준편차  에러바 차트(Error Bar Chart) - 백분율  


C#
 
SeriesList sList = new SeriesList();
sList.ChartType = ChartType.ErrorBar;

Random r = new Random();
for(int i = 0; i < 2; i++)
{
Series sr = new Series();
sr.ErrorBarType = ErrorBarType.Percentage;

for(int x = 0; x < 4; x++)
{
SeriesItem item = new SeriesItem();
item.Name = x.ToString();

item.YValue = r.Next(90);

sr.items.Add(item);
}
sList.SeriesCollection.Add(sr);
}

this.hHippoChart1.PaletteType = PaletteType.Soft;
this.hHippoChart1.Titles.Label.Text = "Error Bar Chart";
this.hHippoChart1.LegendBox.Visible = false;
this.hHippoChart1.DesignType = ChartDesignType.Designable;
this.hHippoChart1.SeriesListDictionary.Add(sList);
this.hHippoChart1.DrawChart();


VB
 
Dim sList As New. SeriesList()
sList.ChartType = ChartType.ErrorBar

Dim r As New. Random()
Dim i As Integer = 0
While i < 2
Dim sr As New. Series()
sr.ErrorBarType = ErrorBarType.Percentage

Dim x As Integer = 0
While x < 4
Dim item As New. SeriesItem()
item.Name = x.ToString()

item.YValue = r.[Next](90)

sr.items.Add(item)
System.Math.Max(System.Threading.Interlocked.Increment(x),x - 1)
End While
sList.SeriesCollection.Add(sr)
System.Math.Max(System.Threading.Interlocked.Increment(i),i - 1)
End While

Me.hHippoChart1.PaletteType = PaletteType.Soft
Me.hHippoChart1.Titles.Label.Text = "Error Bar Chart"
Me.hHippoChart1.LegendBox.Visible = False
Me.hHippoChart1.DesignType = ChartDesignType.Designable
Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.DrawChart()



※ 히포차트 샘플 코드는 버전별로 상이한 결과를 나타낼 수 있습니다.

이 코드 관련 문의 사항은 페이스북 리플을 달아주시거나 아래 이메일로 이 페이지 주소와 함께 문의주세요.

helpdesk@hippochart.com





Copyright © 2009-2024 히포소프트(Hipposoft)   All Rights Reserved.