Thank you.Quant wrote: *Line is converted to log curve *
http://www.youtube.com/watch?v=y55VmSIMBjE
for mathematical formula use below link
https://en.wikipedia.org/wiki/Semi-log_plot
Semi-log plots are perfectly feasible in TeeChart, e.g.
Code: Select all
Line series;
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
series = new Line(tChart1.Chart);
series.Add(9, 25112);
series.Add(12, 12223);
series.Add(14, 9216);
series.Add(16, 7488);
series.Add(21, 4889);
tChart1.Axes.Left.Logarithmic = true;
tChart1.Axes.Left.Increment = 5000;
tChart1.Axes.Left.SetMinMax(2000, 40000);
tChart1.Axes.Bottom.SetMinMax(5, 25);
}
Code: Select all
Line series, func;
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
series = new Line(tChart1.Chart);
series.Add(9, 25112);
series.Add(12, 12223);
series.Add(14, 9216);
series.Add(16, 7488);
series.Add(21, 4889);
tChart1.Axes.Left.Logarithmic = true;
tChart1.Axes.Left.Increment = 5000;
tChart1.Axes.Left.SetMinMax(2000, 40000);
tChart1.Axes.Bottom.SetMinMax(5, 25);
func = new Line(tChart1.Chart);
TrendFunction trend = new TrendFunction();
trend.TrendStyle = TrendStyles.Exponential;
func.Function = trend;
func.DataSource = series;
}