TagCloud Bug
Posted: Sun Apr 12, 2009 1:51 pm
I'm having serious issues with TagCloud Series. In my application I need to start with empty series. When I try to add first tag:
exception occurs: "Invalid floating point operation".
Error happens inside:
TTagCloudSeries.GetTagFontSize(ValueIndex: Integer): Integer;
function:
value
computes to 0, so the rsult on the next line:
is undefined.
Plese Help.
Mihaela Mihaljevic Jakic.
Code: Select all
Series1.AddTag('FirstTag', 1);
exception occurs: "Invalid floating point operation".
Error happens inside:
TTagCloudSeries.GetTagFontSize(ValueIndex: Integer): Integer;
function:
value
Code: Select all
tmp:=MandatoryValueList.MaxValue-MandatoryValueList.Value[ValueIndex];
Code: Select all
Dec(result, Round(0.75*tmp*FFont.Size/MandatoryValueList.Range));
Plese Help.
Mihaela Mihaljevic Jakic.