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

Linechart - pointType, Shadow







buy amoxicillin over the counter

buy amoxicillin

buy amitriptyline online

amitriptyline 25mg online buy amitriptyline london

where can i buy naltrexone online

buy naltrexone canada

albuterol ventolin vs proair

generic albuterol vs ventolin
다양한 포인트 타입과 그림자효과를 반영한 멀티 시리즈 라인 차트




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 < 5; i++)
{
Series sr = new Series();
sr.Line.LineWidth = 4;
sr.Points.Width = 8;
sr.Points.PointType = PointType.FillCircle;
sr.IsLineShadowEffect = true;

if (i == 1) sr.Points.PointType = PointType.FillCircle;
if (i == 2) sr.Points.PointType = PointType.FillRectangle;
if (i == 3) sr.Points.PointType = PointType.FillTriangle;
if (i == 4)
{
sr.Points.PointType = PointType.Image;
sr.Points.PointImage = @"C:\Documents and Settings\Administrator\My Documents\My Pictures\hwatoo_missiongray.gif";
}

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

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

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 4
Dim sr As New. Series()
sr.Line.LineWidth = 4
sr.Points.Width = 8
sr.Points.PointType = PointType.FillCircle
sr.IsLineShadowEffect = True

If i = 1 Then
sr.Points.PointType = PointType.FillCircle
End If
If i = 2 Then
sr.Points.PointType = PointType.FillRectangle
End If
If i = 3 Then
sr.Points.PointType = PointType.FillTriangle
End If
If i = 4 Then
sr.Points.PointType = PointType.Image
sr.Points.PointImage = "C:\Documents and Settings\Administrator\My Documents\My Pictures\hwatoo_missiongray.gif"
End If

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

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

Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.DrawChart()


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

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

helpdesk@hippochart.com





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