Code: Select all
tChart.Axes.Depth.Ticks.Visible = true;
tChart.Axes.Depth.Title.Text = "blah"
Code: Select all
private void AddLabel( Steema.TeeChart.AxisLabels als, string sText, double nValue ) {
Steema.TeeChart.AxisLabelItem li = new Steema.TeeChart.AxisLabelItem(_chart);
li.Text = sText;
li.Value = nValue;
li.Transparent = true;
li.Transparency = 50;
als.Items.Add(li);
}
public void SetAxesLabels(List<string> Labels1, List<string> Labels2) {
// set the tick labels on the horizontal axis
for (int k = 0; k < Labels1.Count; ++k) {
AddLabel(_chart.Axes.Bottom.Labels, Labels1[k], k);
}
// set the tick labels on the depth axis
for (int k = 0; k < Labels2.Count; ++k) {
AddLabel(_chart.Axes.Depth.Labels, Labels2[k],k);
}
}