Add chat series via script

Hello,

I can't find a way to add multiple series on a chart from the code. Is it possible? Thank you.

Jimmy

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:02AM
    jimmy here is a sample from delphi

    procedure TForm1.Button1Click(Sender: TObject);
    var

    Chart:TfrxChartView;


    begin
    frxreport1.LoadFromFile('base.fr3',true);
    //Chart := frxReport1.FindObject('Chart1') as TfrxChartView;
    Chart := frxReport1.FindObject('Chart1') as TfrxChartView;
    Chart.AddSeries(csline);

    with Chart.SeriesData[Chart.SeriesData.Count - 1] do
    begin
    DataType := dtFixedData;
    XSource := 'Jan;Feb;Mar;Apr';
    YSource := '31;28;31;30';
    end;
    frxreport1.DesignReport;
    end;

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.