I add a single null value with AddNullXY to a LineSeries and the Point is visible! The points are correct invisible if I add a second null value.
Is it possilbe to get a bugfix for this?
Behalves Bert Kreisel
Single null value is visible
-
- Newbie
- Posts: 23
- Joined: Wed Jan 12, 2005 5:00 am
- Location: Germany/Chemnitz
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bert,
Thanks for reporting. I could reproduce the issue here. This happens with line series with visible pointers and with point series as well. I've added the defect (TV52011780) to our bug list to be fixed for future releases.
In the meantime, a workaround is using the following code in the series OnGetPointerStyle event.
Another solution is only using an empty OnGetPointerStyle event:
Thanks for reporting. I could reproduce the issue here. This happens with line series with visible pointers and with point series as well. I've added the defect (TV52011780) to our bug list to be fixed for future releases.
In the meantime, a workaround is using the following code in the series OnGetPointerStyle event.
Code: Select all
function TForm1.Series1GetPointerStyle(Sender: TChartSeries;
ValueIndex: Integer): TSeriesPointerStyle;
begin
if ((Sender.Count=1) and (ValueIndex=0) and
(Sender.ValueColor[ValueIndex]=clNone)) then
result:=psNothing
else
result:=psRectangle;
end;
Code: Select all
function TForm1.Series1GetPointerStyle(Sender: TChartSeries;
ValueIndex: Integer): TSeriesPointerStyle;
begin
//
end;
Best Regards,
Narcís Calvet / 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 |