Page 1 of 1
Pie in TChart disappears
Posted: Wed Mar 03, 2010 1:30 pm
by 9092401
Hello,
I have TChart embedded within a control displaying a pie. When the control becomes smaller the pie disappears, this wasn't a problem in Delphi what should i do
Jonathan
Re: Pie in TChart disappears
Posted: Thu Mar 04, 2010 9:05 am
by yeray
Hi jonathan,
At what size are you seeing this? Or could you please tell us if I'm missing to set any important property to reproduce the problem here?
Code: Select all
private void InitializeChart()
{
tChart1.Dock = DockStyle.Fill;
tChart1.Legend.Visible = false;
Steema.TeeChart.Styles.Pie pie1 = new Steema.TeeChart.Styles.Pie(tChart1.Chart);
pie1.Marks.Visible = false;
pie1.FillSampleValues();
tChart1.DoubleClick += new EventHandler(tChart1_DoubleClick);
}
void tChart1_DoubleClick(object sender, EventArgs e)
{
this.Width = 100;
this.Height = 100;
}
Re: Pie in TChart disappears
Posted: Sun Mar 07, 2010 8:21 am
by 9092401
Hi,
I don't know what properties need to be set in order for pie chart to not disappear. That is what I need the help with. I checked our delphi code, there is not code handeling of the pie, so it most be something to do with the settings of properties. Please help me as this is very urgent.
Thank you jonathan
Re: Pie in TChart disappears
Posted: Mon Mar 08, 2010 8:25 am
by narcis
Hi jonathan,
Could you please attach a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart build you are using?
Thanks in advance.