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

간트차트 - 시간/분 스케일







tamoxifen citrate 20mg online

tamoxifen

buy accutane malaysia

buy accutane pills

buy abortion pill philippines

abortion in philippines redirect pregnancy termination in manila
시간 혹은 분단위로 Y스케일을 구성한 간트차트입니다.




Gantt chart  Gantt chart - multi series  Gantt chart - arrow, process, peoples  간트차트 - 시간/분 스케일  히포차트 4.1 - 간트차트 (마일스톤, 그룹화)  간트차트 좀 더 자세한 설정  히포차트 4.3 - 날짜형 축을 이용한 간트차트 (월별)  히포차트 4.3 - 간트차트(Gantt chart) 마우스 이동하여 날짜 변경하기  


C#
 
SeriesList sList = new SeriesList();
sList.SeriesCollection.Add(new Series());
sList.ChartType = ChartType.Gantt;
sList.AxisFactor.YAxis.DataType = AxisDataType.DateTime;

sList.AxisFactor.YAxis.Interval = 10;
sList.AxisFactor.Orientation = AxisOrientation.TopLeft;

for(int i = 0; i < 5; i++)
{
sList.SeriesCollection[0].items.Add(new SeriesItem());
sList.SeriesCollection[0].items[i].IsShowFigureText = true;
}

sList.Gantt.DateType = DateType.Time;
sList.Gantt.Suffix = "분간";
sList.AxisFactor.YAxis.DateTimeFormat = "HH:mm";

sList.AxisFactor.YAxis.Interval = 60;

sList.AxisFactor.YAxis.IsAutoSetting = false;
sList.AxisFactor.YAxis.MinUnitDateTimeValue = new DateTime(2009, 1, 10, 2, 0, 0);
sList.AxisFactor.YAxis.MaxUnitDateTimeValue = new DateTime(2009, 1, 10, 15, 0, 0);

sList.SeriesCollection[0].items[0].YStartDateTimeValue = new DateTime(2009, 1, 10, 2, 30, 0);
sList.SeriesCollection[0].items[0].YDateTimeValue = new DateTime(2009, 1, 10, 8, 0, 0);

sList.SeriesCollection[0].items[1].YStartDateTimeValue = new DateTime(2009, 1, 10, 4, 0, 0);
sList.SeriesCollection[0].items[1].YDateTimeValue = new DateTime(2009, 1, 10, 5, 0, 0);

sList.SeriesCollection[0].items[2].YStartDateTimeValue = new DateTime(2009, 1, 10, 11, 55, 0);
sList.SeriesCollection[0].items[2].YDateTimeValue = new DateTime(2009, 1, 10, 14, 0, 0);

sList.SeriesCollection[0].items[3].YStartDateTimeValue = new DateTime(2009, 1, 10, 5, 0, 0);
sList.SeriesCollection[0].items[3].YDateTimeValue = new DateTime(2009, 1, 10, 9, 0, 0);

sList.SeriesCollection[0].items[4].YStartDateTimeValue = new DateTime(2009, 1, 10, 11, 0, 0);
sList.SeriesCollection[0].items[4].YDateTimeValue = new DateTime(2009, 1, 10, 13, 30, 0);

sList.SeriesCollection[0].items[0].Name = "수면 시간";
sList.SeriesCollection[0].items[1].Name = "자유 시간";
sList.SeriesCollection[0].items[2].Name = "공부좀 합시다";
sList.SeriesCollection[0].items[3].Name = "밥먹기";
sList.SeriesCollection[0].items[4].Name = "여친과 데이트";

Palette p = new Palette();

sList.SeriesCollection[0].items[0].ItemColor = p.DefaultColor1;
sList.SeriesCollection[0].items[1].ItemColor = p.DefaultColor2;
sList.SeriesCollection[0].items[2].ItemColor = p.DefaultColor3;
sList.SeriesCollection[0].items[3].ItemColor = p.DefaultColor4;
sList.SeriesCollection[0].items[4].ItemColor = p.DefaultColor5;

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


VB
 
Dim sList As New. SeriesList()
sList.SeriesCollection.Add(New Series())
sList.ChartType = ChartType.Gantt
sList.AxisFactor.YAxis.DataType = AxisDataType.DateTime

sList.AxisFactor.YAxis.Interval = 10
sList.AxisFactor.Orientation = AxisOrientation.TopLeft

Dim i As Integer = 0
While i < 5
sList.SeriesCollection(0).items.Add(New SeriesItem())
sList.SeriesCollection(0).items(i).IsShowFigureText = True
System.Math.Max(System.Threading.Interlocked.Increment(i),i - 1)
End While

sList.Gantt.DateType = DateType.Time
sList.Gantt.Suffix = "분간"
sList.AxisFactor.YAxis.DateTimeFormat = "HH:mm"

sList.AxisFactor.YAxis.Interval = 60

sList.AxisFactor.YAxis.IsAutoSetting = False
sList.AxisFactor.YAxis.MinUnitDateTimeValue = New DateTime(2009, 1, 10, 2, 0, 0)
sList.AxisFactor.YAxis.MaxUnitDateTimeValue = New DateTime(2009, 1, 10, 15, 0, 0)

sList.SeriesCollection(0).items(0).YStartDateTimeValue = New DateTime(2009, 1, 10, 2, 30, 0)
sList.SeriesCollection(0).items(0).YDateTimeValue = New DateTime(2009, 1, 10, 8, 0, 0)

sList.SeriesCollection(0).items(1).YStartDateTimeValue = New DateTime(2009, 1, 10, 4, 0, 0)
sList.SeriesCollection(0).items(1).YDateTimeValue = New DateTime(2009, 1, 10, 5, 0, 0)

sList.SeriesCollection(0).items(2).YStartDateTimeValue = New DateTime(2009, 1, 10, 11, 55, 0)
sList.SeriesCollection(0).items(2).YDateTimeValue = New DateTime(2009, 1, 10, 14, 0, 0)

sList.SeriesCollection(0).items(3).YStartDateTimeValue = New DateTime(2009, 1, 10, 5, 0, 0)
sList.SeriesCollection(0).items(3).YDateTimeValue = New DateTime(2009, 1, 10, 9, 0, 0)

sList.SeriesCollection(0).items(4).YStartDateTimeValue = New DateTime(2009, 1, 10, 11, 0, 0)
sList.SeriesCollection(0).items(4).YDateTimeValue = New DateTime(2009, 1, 10, 13, 30, 0)

sList.SeriesCollection(0).items(0).Name = "수면 시간"
sList.SeriesCollection(0).items(1).Name = "자유 시간"
sList.SeriesCollection(0).items(2).Name = "공부좀 합시다"
sList.SeriesCollection(0).items(3).Name = "밥먹기"
sList.SeriesCollection(0).items(4).Name = "여친과 데이트"

Dim p As New. Palette()

sList.SeriesCollection(0).items(0).ItemColor = p.DefaultColor1
sList.SeriesCollection(0).items(1).ItemColor = p.DefaultColor2
sList.SeriesCollection(0).items(2).ItemColor = p.DefaultColor3
sList.SeriesCollection(0).items(3).ItemColor = p.DefaultColor4
sList.SeriesCollection(0).items(4).ItemColor = p.DefaultColor5

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



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

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

helpdesk@hippochart.com





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