Label
Posted: Tue Aug 02, 2011 12:12 pm
How do I get a get a veritical label to appear next to the left axis labels, sample attahed of what is required,text of Target Number
Code: Select all
private void InitializeChart()
{
Steema.TeeChart.Styles.HorizBar horizBar = new Steema.TeeChart.Styles.HorizBar(tChart1.Chart);
tChart1.Aspect.View3D = false;
DateTime today = DateTime.Today;
TimeSpan oneDay = TimeSpan.FromDays(1);
horizBar.HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Top;
Random rnd = new Random();
for (int i = 1; i < 10; i++)
{
horizBar.Add(i,rnd.Next(), Color.Green);
}
horizBar.HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Top;
tChart1.Axes.Left.Title.Visible = true;
tChart1.Axes.Left.Title.Text = "Target Number";
tChart1.Axes.Top.Title.Visible = true;
tChart1.Axes.Top.Title.Text = "Number of Calls";
}