Page 1 of 1
Cone bar graphs with gradient
Posted: Wed Mar 17, 2010 5:28 pm
by 14045174
I have a bar graph. If I select its style as Cone or Inverted Cone, than make its Gradient visible and select Gradient Direction "From Center" or "Radial" I am getting "Out of memory" error and kicked out of my program without a chance to save my changes. I am running a December build of version 3. I have problems installing the latest build (see my previous post), but the release notes do not indicate that this problem was fixed there.
Re: Cone bar graphs with gradient
Posted: Thu Mar 18, 2010 11:14 am
by 10050769
Hello UserLs,
I could reproduce your problem with last versions of TeeChart .Net (version 3 and version 4). I have added it in Bug list report with number[
TF02014735] and we will try to fix for next versions of TeeChart .Net.
On the other hand, I think it is interesting to know, the problem works correctly in run time, using next lines of code:
Code: Select all
private void InitializeChart()
{
bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar1.FillSampleValues();
bar1.Pen.Visible = false;
bar1.BarStyle = Steema.TeeChart.Styles.BarStyles.InvCone;
bar1.Gradient.Visible = true;
bar1.Gradient.Style.Direction = Steema.TeeChart.Drawing.PathGradientMode.FromCenter;
}
I am running a December build of version 3. I have problems installing the latest build (see my previous post),
Please, see Narcis response about your previous post:
http://www.teechart.net/support/viewtop ... 787#p45787
Thanks,
Re: Cone bar graphs with gradient
Posted: Thu Mar 18, 2010 2:26 pm
by 14045174
There is no mystery there: you forgot to add one line, which makes a whole lot of difference:
Code: Select all
bar1.Gradient.Style.Visible = true;
Re: Cone bar graphs with gradient
Posted: Fri Mar 19, 2010 9:24 am
by 10050769
Hello UserLs,
Thanks, for information. I have added it in bug Report (TF02014735) and we will try to fix for next versions.
Thanks,