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.
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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.