Hello
It will be better to expose more parameter for event OnBeforeAdd for TChartSeries as:
TSeriesOnBeforeAdd=Function(Sender:TChartSeries;Const AXValue,AYValue:TChartValue;
Const ALabel:String; AColor:TColor):Boolean of object;
This will give user a much more easy way to eliminate un-qualified value be added to series.
Thanks.
[FRQ]:expose more parameter for event OnBeforeAdd
Re: [FRQ]:expose more parameter for event OnBeforeAdd
Hi,
I've added it to the wish list to be studied for inclusion in future releases (TV52016034).
Thanks for reporting it.
I've added it to the wish list to be studied for inclusion in future releases (TV52016034).
Thanks for reporting it.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: [FRQ]:expose more parameter for event OnBeforeAdd
Hello
Thanks for quick response.
However, I need to modify my request as following to avoid introducing trouble to your component.
1. the suggested new definition of TSeriesOnBeforeAdd be modified as:
TSeriesOnBeforeAdd=Function(Sender:TChartSeries;Const AXValue,AYValue:TChartValue;
Const ALabel:String; var AColor:TColor):Boolean of object;
AColor is now a VAR parameter.
This is very useful if the user want to replace the unqualified value to a NULL value by setting:
AColor:=clNone;
By this NULL value be added instead of an unqualified value, the chart will looked more neat and clean.
You case see the different in attachment
2. Please also remember to make test on 3D series in case
2.1 a false value is returned by this event
2.2 a true value is returned by this event, but Y value is replaced by a NULL
Thanks for quick response.
However, I need to modify my request as following to avoid introducing trouble to your component.
1. the suggested new definition of TSeriesOnBeforeAdd be modified as:
TSeriesOnBeforeAdd=Function(Sender:TChartSeries;Const AXValue,AYValue:TChartValue;
Const ALabel:String; var AColor:TColor):Boolean of object;
AColor is now a VAR parameter.
This is very useful if the user want to replace the unqualified value to a NULL value by setting:
AColor:=clNone;
By this NULL value be added instead of an unqualified value, the chart will looked more neat and clean.
You case see the different in attachment
2. Please also remember to make test on 3D series in case
2.1 a false value is returned by this event
2.2 a true value is returned by this event, but Y value is replaced by a NULL
- Attachments
-
- the unqualified value are not added.
- do not add unqualified value.png (19.79 KiB) Viewed 3970 times
-
- the unqualified value are replace by NULL
- replace unqualifed value to null.png (17.98 KiB) Viewed 3955 times
Re: [FRQ]:expose more parameter for event OnBeforeAdd
Hi,
Thanks again for your comments.
All the possibilities we can think on will be tested when this enhancement will be studied for inclusion, but I've added your comments to the ticket description for not to forget the concrete aspects you mentioned.
Thanks again for your comments.
All the possibilities we can think on will be tested when this enhancement will be studied for inclusion, but I've added your comments to the ticket description for not to forget the concrete aspects you mentioned.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |