
And this my setting:
logarithmic is true, Log base is 10, and inverted is true.
But I get this chart.

Is there any way to change the width?
Please tell me.
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
for (int i = 0; i < 100; i++)
{
line1.Add(i * i, Convert.ToString(Math.Pow(10, i) / 1000));
}
tChart1.Axes.Bottom.Inverted = true;
tChart1.GetAxisLabel += new Steema.TeeChart.GetAxisLabelEventHandler(tChart1_GetAxisLabel);
}
void tChart1_GetAxisLabel(object sender, Steema.TeeChart.GetAxisLabelEventArgs e)
{
//if (sender.Equals(tChart1.Axes.Bottom))
//{
// e.LabelText = Convert.ToString(Math.Pow(10, e.ValueIndex) / 1000);
//}
}
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
![]() ![]() ![]() ![]() ![]() ![]() |
Instructions - How to post in this forum |