CustomAxis Both Side
Posted: Wed Feb 01, 2006 12:42 pm
how could i add CustomAxis(Vertical) that will be drawn both left and right side ...Here is my code:
Code: Select all
Axis axis = new Axis(false, false, TChart1.Chart);
axis.MinimumOffset = 5;
axis.MaximumOffset = 10;
axis.Grid.Visible = false;
axis.Automatic = true;
axis.Labels.Color = Color.Red;
axis.Labels.Brush.Color = Color.Red;
axis.Labels.CustomSize = 40;
TChart1.Axes.Custom.Add(axis);
Candle c = new Candle(TChart1.Chart);
c.DataSource = .............;
TChart1.Series.Add(c);
c.CustomVertAxis = axis;