I used the code
Chart1.Axes.Left.Logarithmic = true;
to show chart with logarithmic, but the chart is way over the top (see attached chartLogarithmic), how can I let the chart display in center?
Thanks ahead
How to make logarithmic chart to center
How to make logarithmic chart to center
- Attachments
-
- chartLogarithmic.png (19.96 KiB) Viewed 3966 times
-
- chart1.png (25.24 KiB) Viewed 3966 times
Re: How to make logarithmic chart to center
Hello Beige,
I hope will helps.
Thanks,
I recomend that adjust left axes using SetMinMax(minValue,maxValue). Please see next simple example, and check if is that you want do....but the chart is way over the top (see attached chartLogarithmic), how can I let the chart display in center?
Code: Select all
Steema.TeeChart.Styles.Line line1;
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
line1.FillSampleValues(100);
line1.Color = Color.Red;
line1.LinePen.Color = Color.Red;
line1.LinePen.Width = 2;
tChart1.Axes.Left.Logarithmic = true;
tChart1.Axes.Left.SetMinMax(10, 10000);
}
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 |