Cone bar graphs with gradient
Cone bar graphs with gradient
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
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:
http://www.teechart.net/support/viewtop ... 787#p45787
Thanks,
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;
}
Please, see Narcis response about your previous post:I am running a December build of version 3. I have problems installing the latest build (see my previous post),
http://www.teechart.net/support/viewtop ... 787#p45787
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: Cone bar graphs with gradient
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
Hello UserLs,
Thanks, for information. I have added it in bug Report (TF02014735) and we will try to fix for next versions.
Thanks,
Thanks, for information. I have added it in bug Report (TF02014735) and we will try to fix for next versions.
Thanks,
Best Regards,
Sandra Pazos / 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 |