Problems Changing Chart Line Colours (Colors)
I'm creating a report in XE7 FMX FR 2.2.1 with a chart using data from a TfrxUserDataSet. If I attempt to assign the color I get no colour. My OnGetValue procedure is as follows.
Using the same code with a VCL report works as expected. Am I doing something wrong or is this a bug?
Thanks
Steve
procedure TForm2.frxReport1GetValue(const VarName: string; var Value: Variant);
begin
if (VarName = 'XValue') then
Value := MyData[frxUserDataSet1.RecNo].XValue;
if (VarName = 'YValue') then
Value := MyData[frxUserDataSet1.RecNo].YValue;
if (VarName = 'Col') then
Value := Random($FFFFFF);
end;
Using the same code with a VCL report works as expected. Am I doing something wrong or is this a bug?
Thanks
Steve