Chart Creation in Design Mode

Hi,

I am trying to add more Lines to the chart as I need. I saw the example that is for Charts and in my opinion is little lame as it has like 20 queries.

I am trying to do it with one query which I will change before print and add as many lines(Series) as I need.

Can you please tell me how do this in design mode or show me where to look an example. Thanks in Advance

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:37AM
    try chart1.chart.addseries(csLine);
    here is a sample from delphi
    uses frxChart;

    var
    Chart: TfrxChartView;

    Chart := frxReport1.FindObject('Chart1') as TfrxChartView;
    Chart.AddSeries(csBar);

    with Chart.SeriesData[Chart.SeriesData.Count - 1] do
    begin
    DataType := dtFixedData;
    XSource := 'Jan;Feb;Mar;Apr';
    YSource := '31;28;31;30';
    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.