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

영역마커 - 온도 위험 지역 표시







buy amoxicillin

buy amoxicillin-clavulanate uk patemery.azurewebsites.net amoxicillin 500 mg capsules

abortion pill philippines

abortion in philippines click here abortion in philippines

amitriptyline nerve pain medication

amitriptyline nerve pain in neck online nerve pain in tooth amitriptyline

naltrexone buy online

low dose naltrexone buy blog.caregiverlist.com where to buy naltrexone

abortion philippines

buy abortion pill philippines
면적을 이용해 데이터의 특성을 표시할 수 있는 영역 마커 기능입니다.




영역마커 - 온도 위험 지역 표시  영역마커 - X 축 데이터 영역 표시  [히포차트 4.2] 영역마커, 라인마커 종합 샘플  


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

AxisArea tk = new AxisArea("safe", 0, 300);
tk.BackColor = Color.FromArgb(50, Color.Red);
tk.TextFormat.Alignment = StringAlignment.Far;
sList.AxisFactor.YAxis.Areas.Add(tk);

AxisArea tk2 = new AxisArea("low", 300, 500);
tk2.BackColor = Color.FromArgb(100, Color.Red);
tk2.TextFormat.Alignment = StringAlignment.Far;
sList.AxisFactor.YAxis.Areas.Add(tk2);

AxisArea tk3 = new AxisArea("normal", 500, 700);
tk3.BackColor = Color.FromArgb(150, Color.Red);
tk3.TextFormat.Alignment = StringAlignment.Far;
sList.AxisFactor.YAxis.Areas.Add(tk3);

AxisArea tk4 = new AxisArea("dangerous", 700, 900);
tk4.BackColor = Color.FromArgb(200, Color.Red);
tk4.TextFormat.Alignment = StringAlignment.Far;
sList.AxisFactor.YAxis.Areas.Add(tk4);

Random r = new Random();
for(int i = 0; i < 4; i++)
{
Series sr = new Series();
sr.Points.Width = 6;
sr.Points.PointType = PointType.FillRectangle;

for(int x = 0; x < 3; x++)
{
SeriesItem item = new SeriesItem();
item.Name = "item" + x.ToString();
item.XValue = x;
item.YValue = r.Next(900);

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

this.hHippoChart1.DesignType = ChartDesignType.Simple;
this.hHippoChart1.SeriesListDictionary.Add(sList);
this.hHippoChart1.DrawChart();


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

Dim tk As New. AxisArea("safe", 0, 300)
tk.BackColor = Color.FromArgb(50, Color.Red)
tk.TextFormat.Alignment = StringAlignment.Far
sList.AxisFactor.YAxis.Areas.Add(tk)

Dim tk2 As New. AxisArea("low", 300, 500)
tk2.BackColor = Color.FromArgb(100, Color.Red)
tk2.TextFormat.Alignment = StringAlignment.Far
sList.AxisFactor.YAxis.Areas.Add(tk2)

Dim tk3 As New. AxisArea("normal", 500, 700)
tk3.BackColor = Color.FromArgb(150, Color.Red)
tk3.TextFormat.Alignment = StringAlignment.Far
sList.AxisFactor.YAxis.Areas.Add(tk3)

Dim tk4 As New. AxisArea("dangerous", 700, 900)
tk4.BackColor = Color.FromArgb(200, Color.Red)
tk4.TextFormat.Alignment = StringAlignment.Far
sList.AxisFactor.YAxis.Areas.Add(tk4)

Dim r As New. Random()
For i As Integer = 0 To 3
Dim sr As New. Series()
sr.Points.Width = 6
sr.Points.PointType = PointType.FillRectangle

For x As Integer = 0 To 2
Dim item As New. SeriesItem()
item.Name = "item" & x.ToString()
item.XValue = x
item.YValue = r.[Next](900)

sr.items.Add(item)
Next
sList.SeriesCollection.Add(sr)
Next

Me.hHippoChart1.DesignType = ChartDesignType.Simple
Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.DrawChart()



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

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

helpdesk@hippochart.com





Copyright © 2009-2018 투데이트레이딩. Inc.  All Rights Reserved.