Gradient Area
Gradient Area
Using your editor, create an area series, set its gradient.visible = true and try to set the direction to "from center". I am running your latest version of TChart v3 and it blows up for me...
Re: Gradient Area
Hi UserLS,
Is the following code doing what you are describing?
Here it seems to work fine with the actual sources for both v3 and v4 (v2009).
Is the following code doing what you are describing?
Code: Select all
Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
area1.FillSampleValues(10);
area1.Gradient.Visible = true;
area1.Gradient.Style.Visible = true;
area1.Gradient.Style.Direction = Steema.TeeChart.Drawing.PathGradientMode.FromCenter;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Gradient Area
I am not sure about the code sample, but should I be able to do it using an editor? My problem is that my users are not going to write code, they instead, are setting up graphs using editor!
Re: Gradient Area
Hi UserLS,
First of all, note that the editor was designed for programmers help more than for final user's use.
We need to know a consistent way to reproduce the problems before we can analyze them and find how to fix them. That's why I tried to reproduce it in a simple snipped of code.
If you can't prepare a simple snipped of code, please try to explain the exact steps to follow to reproduce the crash from a clean chart.
First of all, note that the editor was designed for programmers help more than for final user's use.
We need to know a consistent way to reproduce the problems before we can analyze them and find how to fix them. That's why I tried to reproduce it in a simple snipped of code.
If you can't prepare a simple snipped of code, please try to explain the exact steps to follow to reproduce the crash from a clean chart.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Gradient Area
Finally I've managed to run it under the latest version (your installer for it is just a mess!) and it is not a problem anymore.
As to your editor, that is true, it is not designed for use by anyone (even your own people asked me, where I found a check-box on it). So, what you would suggest as alternative? Because my users do need to be able to go in and adjust graph's properties.
As to your editor, that is true, it is not designed for use by anyone (even your own people asked me, where I found a check-box on it). So, what you would suggest as alternative? Because my users do need to be able to go in and adjust graph's properties.
Re: Gradient Area
Hi UserLS,
You can also call some particular editors. For example the printer preview, some tools editors, pens editors,...
And if that doesn't fit your needs, you always can create your own editors to fully control what each action does.
You have the possibility to use our editor hiding the tabs you wish as in the demo at All Features\Welcome !\Components\ChartController\ChartController EditorSo, what you would suggest as alternative? Because my users do need to be able to go in and adjust graph's properties.
You can also call some particular editors. For example the printer preview, some tools editors, pens editors,...
And if that doesn't fit your needs, you always can create your own editors to fully control what each action does.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Gradient Area
Well, couple problems here:
first, your series editor, besides other ugly problems, does not allow hiding tabs (General, Data and Marks are the ones I cannot show for different reasons)
second, for example, your brush editor is a perfect example of how not to design your UI
third, why have an editor at all, if it is not designed to be used?
first, your series editor, besides other ugly problems, does not allow hiding tabs (General, Data and Marks are the ones I cannot show for different reasons)
second, for example, your brush editor is a perfect example of how not to design your UI
third, why have an editor at all, if it is not designed to be used?