If I select a log scale on a points chart with a log scale of minimum 0.1 and maximum 100 (3 cycle), the log scale (tick marks) from 0.1 to 1 will not display. The log scale from 1 to 10 and 10 to 100 displays correctly. Can you confirm this is a bug?
' Case Log Linear
Points1.Chart.Axes.Right.Logarithmic = True
Points1.Chart.Axes.Right.LogarithmicBase = 10
Points1.Chart.Axes.Left.Logarithmic = True
Points1.Chart.Axes.Left.LogarithmicBase = 10
Points1.Chart.Axes.Bottom.Logarithmic = False
Points1.Chart.Axes.Top.Logarithmic = False
' End Select
Points1.Chart.Axes.Left.Maximum = 100
Points1.Chart.Axes.Left.Minimum = 0.1
Points1.Chart.Axes.Right.Maximum = 100
Points1.Chart.Axes.Right.Minimum = 0.1
Log Chart Not Displaying Scale Correctly
Re: Log Chart Not Displaying Scale Correctly
Hello lilo,
I can not reproduce your problem using next code:
Could you tell us if previous code works in your end? If it doesn't work in your end, please modify the problem because we can reproduce your problem.
Thanks,
I can not reproduce your problem using next code:
Code: Select all
Steema.TeeChart.Styles.Points points1;
private void InitializeChart()
{
points1 = new Points(tChart1.Chart);
for (int i = 1; i < 100; i++)
{
points1.Add(i, Math.Log(i));
}
points1.VertAxis = VerticalAxis.Both;
tChart1.Axes.Right.Logarithmic = true;
tChart1.Axes.Right.LogarithmicBase = 10;
tChart1.Axes.Left.Logarithmic = true;
tChart1.Axes.Left.LogarithmicBase = 10;
tChart1.Axes.Left.Automatic = false;
tChart1.Axes.Left.Minimum = 0.1;
tChart1.Axes.Left.Maximum = 100;
tChart1.Axes.Right.Automatic = false;
tChart1.Axes.Right.Minimum = 0.1;
tChart1.Axes.Right.Maximum = 100;
}
Thanks,
Best Regards,
Sandra Pazos / 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 |