custom axis title not disappearing?
Posted: Tue May 26, 2009 3:24 pm
Hey,
I've created a custom axis and 'attached' a series to it, but when I click on the legend to turn it off (via the checkbox), it doesn't seem to turn the axis title off?
Regards,
Chris.
I've created a custom axis and 'attached' a series to it, but when I click on the legend to turn it off (via the checkbox), it doesn't seem to turn the axis title off?
Code: Select all
public Form1()
{
InitializeComponent();
tChart1.Aspect.View3D = false;
tChart1.Legend.CheckBoxes = true;
Steema.TeeChart.Axis custAxis = new Steema.TeeChart.Axis(false, false, tChart1.Chart)
{
RelativePosition = 100, //// so labels are on left hand side
Title =
{
Text = "chris",
Angle = 270
},
Automatic = true,
Visible = true,
Grid =
{
Visible = false
}
,
MinimumOffset = 15,
MaximumOffset = 15
};
tChart1.Axes.Custom.Add(custAxis);
Steema.TeeChart.Styles.Line line = new Steema.TeeChart.Styles.Line(tChart1.Chart)
{
CustomVertAxis = custAxis
};
line.FillSampleValues(1000);
}
Chris.