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

범례 사용자 정의 구성







amoxicillin 500mg tds

amoxil 500 uses click here amoxicillin 500mg how to take

buy amoxicillin liquid

buy amoxicillin uk blog.caregiverlist.com amoxicillin over the counter

abortion pill kit

where to buy abortion pill in usa marcelosincic.com.br usa buy abortion pill

buy naltrexone from trusted pharmacy

buy naltrexone without prescription blog.jeannettespecglass.com buy naltrexone online canada
범례의 자동 조절을 취소하고 사용자 임의로 구성할 수 있습니다.




범례 - LegendFormat   범례 헤더  범례 - 멀티시리즈리스트 구성과 항목세부조정  범례 - 이너레전드(inner legend)  범례 사용자 정의 구성  히포차트 4.1 - 외부 범례 위치 조정하기  [히포차트 4.2] 범례 글자 폰트 조절 지원   범례 이름이 너무 길때 넓이 설정하기  히포차트 4.3 - 이너 레전드 (내부 범례) , 배경색  


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

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

sr.Name = "Series" + i.ToString();

for(int x = 0; x < 100; x++)
{
SeriesItem item = new SeriesItem();
item.Name = "item" + x.ToString();
item.YValue = r.Next(200, 340);

sr.items.Add(item);
}

sList.SeriesCollection.Add(sr);
}

this.hHippoChart1.LegendBox.IsAutoSetting = false;
this.hHippoChart1.LegendBox.LegendBoxItems.Clear();
sList.Legend.IsAutoSetting = false;
sList.Legend.LegendBoxItems.Clear();

LegendBoxItem box = new LegendBoxItem();

LegendRow row = new LegendRow(LegendFormat.Icon_Name);
row.Item.LegendBoxType = ChartType.Column;
row.Item.IconColor = Color.SteelBlue;
row.Item.Label.Text = "수동 범례1";
row.Item.Label.Font = new Font("굴림", 9, FontStyle.Bold);

LegendRow row2 = new LegendRow(LegendFormat.Icon_Name);
row2.Item.LegendBoxType = ChartType.Circular;
row2.Item.IconColor = Color.YellowGreen;
row2.Item.Label.Text = "수동 범례2";
row2.Item.Label.Font = new Font("굴림", 9, FontStyle.Bold);

box.Rows.Add(row);
box.Rows.Add(row2);

sList.Legend.LegendBoxItems.Add(box);
this.hHippoChart1.LegendBox.LegendBoxItems.Add(box);

this.hHippoChart1.LegendBox.Header.NameLabel.Text = "범례를 길게했네";

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


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

Dim r As New. Random()
Dim i As Integer = 0
While i < 1
Dim sr As New. Series()
sr.Points.Width = 0

sr.Name = "Series" + i.ToString()

Dim x As Integer = 0
While x < 100
Dim item As New. SeriesItem()
item.Name = "item" + x.ToString()
item.YValue = r.[Next](200, 340)

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

sList.SeriesCollection.Add(sr)
System.Math.Max(System.Threading.Interlocked.Increment(i),i - 1)
End While

Me.hHippoChart1.LegendBox.IsAutoSetting = False
Me.hHippoChart1.LegendBox.LegendBoxItems.Clear()
sList.Legend.IsAutoSetting = False
sList.Legend.LegendBoxItems.Clear()

Dim box As New. LegendBoxItem()

Dim row As New. LegendRow(LegendFormat.Icon_Name)
row.Item.LegendBoxType = ChartType.Column
row.Item.IconColor = Color.SteelBlue
row.Item.Label.Text = "수동 범례1"
row.Item.Label.Font = New Font("굴림", 9, FontStyle.Bold)

Dim row2 As New. LegendRow(LegendFormat.Icon_Name)
row2.Item.LegendBoxType = ChartType.Circular
row2.Item.IconColor = Color.YellowGreen
row2.Item.Label.Text = "수동 범례2"
row2.Item.Label.Font = New Font("굴림", 9, FontStyle.Bold)

box.Rows.Add(row)
box.Rows.Add(row2)

sList.Legend.LegendBoxItems.Add(box)
Me.hHippoChart1.LegendBox.LegendBoxItems.Add(box)

Me.hHippoChart1.LegendBox.Header.NameLabel.Text = "범례를 길게했네"

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



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

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

helpdesk@hippochart.com





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