作成日: 2014/09/26 最終更新日: 2014/09/26
文書種別
技術情報
詳細
グラフラベルの表示位置は、ラベル同士が重ならないように自動調整が可能です。
◆サンプルコード
[VB]
[C#]
◆サンプルコード
[VB]
C1WebChart1.ChartLabels.AutoArrangement.Options = AutoLabelArrangementOptions.Default
C1WebChart1.ChartLabels.AutoArrangement.Method = AutoLabelArrangementMethodEnum.FindingOptimum
Dim lbls As ChartLabels = C1WebChart1.ChartLabels
Dim lbl As C1.Win.C1Chart.Label
For Each lbl In lbls.LabelsCollection
lbl.Compass = LabelCompassEnum.Auto
Next lbl
C1WebChart1.ChartLabels.AutoArrangement.Method = AutoLabelArrangementMethodEnum.FindingOptimum
Dim lbls As ChartLabels = C1WebChart1.ChartLabels
Dim lbl As C1.Win.C1Chart.Label
For Each lbl In lbls.LabelsCollection
lbl.Compass = LabelCompassEnum.Auto
Next lbl
[C#]
C1WebChart1.ChartLabels.AutoArrangement.Options = AutoLabelArrangementOptions.Default;
C1WebChart1.ChartLabels.AutoArrangement.Method = AutoLabelArrangementMethodEnum.FindingOptimum;
ChartLabels lbls = C1WebChart1.ChartLabels;
foreach( C1.Win.C1Chart.Label lbl in lbls.LabelsCollection)
lbl.Compass = LabelCompassEnum.Auto;
C1WebChart1.ChartLabels.AutoArrangement.Method = AutoLabelArrangementMethodEnum.FindingOptimum;
ChartLabels lbls = C1WebChart1.ChartLabels;
foreach( C1.Win.C1Chart.Label lbl in lbls.LabelsCollection)
lbl.Compass = LabelCompassEnum.Auto;
旧文書番号
69778