이것은 이미 Steema Software's public forums으로 답변되었습니다. 완전을 기하기 위해 여기서도 대답을 복사하겠습니다.
이렇게 할 수있는 기본 제공 기능이 없습니다. 다음과 같이 그러나, 나는 이미지에 표시되는 내용 ColorGrid 및 바 시리즈를 결합 수동으로 달성 할 수 있습니다
tChart1.Aspect.View3D = false;
tChart1.Legend.Visible = false;
tChart1.Width = 100;
tChart1.Height = 300;
tChart1.Axes.Bottom.MaximumOffset = 1;
Steema.TeeChart.Styles.ColorGrid colorGrid1 = new Steema.TeeChart.Styles.ColorGrid(tChart1.Chart);
const int maxVal = 10;
for (int i = 0; i < 1; i++)
{
for (int j = 0; j < maxVal; j++)
{
colorGrid1.Add(i, 0, j);
}
}
Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.None;
bar1.Marks.Visible = false;
bar1.ColorEach = true;
Random y = new Random();
for (int i = 0; i < 100; i++)
{
bar1.Clear();
double tmp = y.Next(maxVal);
int index = colorGrid1.ZValues.IndexOf(tmp);
colorGrid1.YValues[index] += 1;
bar1.Add(0.5, tmp, colorGrid1.StartColor);
}
을 그건 당신이 어떻게 차트 정상적으로에 대한 자세한 정보를 제공하십시오 찾고있는하지 무슨 경우 정확하게.