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

[히포차트 4.2] 라인차트 구간별 색상 지정 기능 지원







amoxicillin 500 dosage

buy amoxicillin for uti open amoxicillin 500mg uses

amoxil rash

amoxil suspension

accutane without blood tests

accutane without dermatologist untamedne.com accutane without birth control

amoxicillin 500mg caps

500mg capsules

usa buy abortion pill

where to buy abortion pill

buy abortion pill

abortion pill online usa

antibiotic without prescription

amoxil without prescription chrissully.co.uk buy amoxicillin without insurance
4.2 버전에서는 라인 차트의 구간별 색상을 지정할 수 있는 기능이 추가되었습니다. itemcolor 속성으로 간단히 설정 가능합니다.




Linechart - pointType, Shadow  Linechart - dashstyle, arrow  Linechart - 3D  라인 차트  null 데이터 처리  히포차트4 - Barline chart  [히포차트 4.2] 라인차트 구간별 색상 지정 기능 지원   많은 시리즈 입체형으로 그릴 경우 효율적인 방법  라인 포인트를 임의의 텍스로 변경해보자  


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



Random r = new Random();
for(int i = 0; i < 1; i++)
{
Series sr = new Series();
sr.Line.LineWidth = 3;
sr.Points.Width = 0;

for(int x = 0; x < 125; x++)
{
SeriesItem item = new SeriesItem();
item.Name = x.ToString();
item.YValue = r.Next(61, 90);

if (x > 3 && x < 23)
{
item.YValue = r.Next(88, 90);
item.ItemColor = Color.Blue;
}

if (x > 56 && x < 77)
{
item.YValue = r.Next(22, 45);
item.ItemColor = Color.Green;
}

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

this.hHippoChart1.LegendBox.Visible = false;
this.hHippoChart1.SeriesListDictionary.Add(sList);
this.hHippoChart1.DrawChart();


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



Dim r As New. Random()
For i As Integer = 0 To 0
Dim sr As New. Series()
sr.Line.LineWidth = 3
sr.Points.Width = 0

For x As Integer = 0 To 124
Dim item As New. SeriesItem()
item.Name = x.ToString()
item.YValue = r.[Next](61, 90)

If x > 3 AndAlso x < 23 Then
item.YValue = r.[Next](88, 90)
item.ItemColor = Color.Blue
End If

If x > 56 AndAlso x < 77 Then
item.YValue = r.[Next](22, 45)
item.ItemColor = Color.Green
End If

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

Me.hHippoChart1.LegendBox.Visible = False
Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.DrawChart()


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

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

helpdesk@hippochart.com





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