Hi,
firstly:
how do you remove the outer chart border i.e. the very outer one that goes around everything? I have tried setting all borders I can find to 0 but it still shows.
secondly:
I have a horizontal bar chart that goes from negative to positive. Is it possible to make a vertical solid line on the zero value but no other grid lines?
thanks in advance
Border
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi edgemeistergeneral,
Sorry for the late reply.
Sorry for the late reply.
You should set Panel Bevels:firstly:
how do you remove the outer chart border i.e. the very outer one that goes around everything? I have tried setting all borders I can find to 0 but it still shows.
Code: Select all
tChart1.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None;
tChart1.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
Yes, you could use a ColorLine tool for that and hide axes grid, for example:secondly:
I have a horizontal bar chart that goes from negative to positive. Is it possible to make a vertical solid line on the zero value but no other grid lines?
Code: Select all
public Form1()
{
InitializeComponent();
InitializeChart();
}
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.HorizBar horizBar1 = new Steema.TeeChart.Styles.HorizBar(tChart1.Chart);
horizBar1.Add(-5);
horizBar1.Add(-2);
horizBar1.Add(1);
horizBar1.Add(3);
horizBar1.Add(5);
Steema.TeeChart.Tools.ColorLine colorLine1 = new Steema.TeeChart.Tools.ColorLine(tChart1.Chart);
colorLine1.Axis = tChart1.Axes.Bottom;
colorLine1.Value = 0;
colorLine1.AllowDrag = false;
tChart1.Axes.Bottom.Grid.Visible = false;
tChart1.Axes.Left.Grid.Visible = false;
}
Best Regards,
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 |