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

구간 강조(X축)







where can i buy naltrexone online

buy naltrexone

pregnancy termination in manila

pregnancy termination in manila

naltrexone buy online canada

how to buy naltrexone read buy naltrexone online usa
X축의 특정 구간을 다른 시리즈리스트로 추가하여 보여줌으로써 강조 효과를 줍니다.




구간 강조(Y축)  구간 강조(X축)  


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

AxisArea ar = new AxisArea("", 10, 20);
ar.BackColor = Color.FromArgb(40, Color.SteelBlue);
ar.LegendVisible = false;
sList.AxisFactor.XAxis.Areas.Add(ar);

SeriesList sList2 = new SeriesList();
sList2.AxisFactor.XAxis.SetAxisStep(10, 20, 1);
sList2.AxisFactor.XAxis.Areas.Add(ar);
sList2.GraphTitle.Label.Text = "↓";
sList2.GraphTitle.Label.Font = new Font("굴림", 20, FontStyle.Bold);
sList2.GraphTitle.TitleAlign = StringAlignment.Center;

sList.AxisFactor.XAxis.DataType = AxisDataType.Number;
sList2.AxisFactor.XAxis.DataType = AxisDataType.Number;

Random r = new Random();
Series sr = new Series();

sList.Margin = 30;

for(int x = 0; x < 40; x++)
{
SeriesItem item = new SeriesItem();
item.YValue = r.Next(110) * x;
item.Name = x.ToString();
item.XValue = x;

sr.items.Add(item);
}

sList.SeriesCollection.Add(sr);
sList2.SeriesCollection.Add(sr);

this.hHippoChart1.SeriesListDictionary.Add(sList);
this.hHippoChart1.SeriesListDictionary.Add(sList2);
this.hHippoChart1.Titles.Label.ForeColor = Color.SteelBlue;
this.hHippoChart1.DesignType = ChartDesignType.None;
this.hHippoChart1.Direction = GraphAreaLocation.Vertical;
this.hHippoChart1.LegendBox.Visible = false;

this.hHippoChart1.DrawChart();


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

Dim ar As New. AxisArea("", 10, 20)
ar.BackColor = Color.FromArgb(40, Color.SteelBlue)
ar.LegendVisible = False
sList.AxisFactor.XAxis.Areas.Add(ar)

Dim sList2 As New. SeriesList()
sList2.AxisFactor.XAxis.SetAxisStep(10, 20, 1)
sList2.AxisFactor.XAxis.Areas.Add(ar)
sList2.GraphTitle.Label.Text = "↓"
sList2.GraphTitle.Label.Font = New Font("굴림", 20, FontStyle.Bold)
sList2.GraphTitle.TitleAlign = StringAlignment.Center

sList.AxisFactor.XAxis.DataType = AxisDataType.Number
sList2.AxisFactor.XAxis.DataType = AxisDataType.Number

Dim r As New. Random()
Dim sr As New. Series()

sList.Margin = 30

Dim x As Integer = 0
While x < 40
Dim item As New. SeriesItem()
item.YValue = r.[Next](110) * x
item.Name = x.ToString()
item.XValue = x

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

sList.SeriesCollection.Add(sr)
sList2.SeriesCollection.Add(sr)

Me.hHippoChart1.SeriesListDictionary.Add(sList)
Me.hHippoChart1.SeriesListDictionary.Add(sList2)
Me.hHippoChart1.Titles.Label.ForeColor = Color.SteelBlue
Me.hHippoChart1.DesignType = ChartDesignType.None
Me.hHippoChart1.Direction = GraphAreaLocation.Vertical
Me.hHippoChart1.LegendBox.Visible = False

Me.hHippoChart1.DrawChart()



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

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

helpdesk@hippochart.com





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