Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7162955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:49:12+00:00 2026-05-28T13:49:12+00:00

Is it possible to draw multiple lines with a single TLineSeries using TeeChart? I

  • 0

Is it possible to draw multiple lines with a single TLineSeries using TeeChart? I would like to specify a field in the dataset that the series should group by, drawing one line per group. Or is this not possible and a series should be added to the chart for each group/line that should be displayed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:49:13+00:00Added an answer on May 28, 2026 at 1:49 pm

    You could achieve it setting XValues.Order to loNone and adding a null point each time you want to start a new line. However, to speed up drawing and point handling TFastLineSeries uses the same color (SeriesColor) for all points. If you want to use diferent colors for individual points you should use the TLineSeries instead.

    uses Series;
    
    procedure TForm1.FormCreate(Sender: TObject);
    var i, j: Integer;
    begin
      Chart1.View3D:=false;
      Chart1.Legend.Visible:=false;
    
      with Chart1.AddSeries(TFastLineSeries) as TFastLineSeries do
      begin
        XValues.Order:=loNone;
        TreatNulls:=tnDontPaint;
        for i:=0 to 4 do
        begin
          if i>0 then AddNullXY(0,0);  //start a new line
    
          AddXY(0,Random*1000);
          for j:=1 to 24 do
            AddXY(j, Chart1[0].YValue[Chart1[0].Count-1] + random*10 - 5);
        end;
      end;
    end;
    

    Anyway, I don’t see why one would like to do the above instead of creating several TFastLine series.

    —

    Best Regards,

    Yeray Alonso

    Steema Support Central

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to draw a 3D chart using JfreeChart like in the following
When I draw multiple functions like exp,2^x,3^x, is it possible to generate a label
Is it possible to draw a road using bing maps js api? Ideally I
im trying to use the graphic veiw of QT to draw lines it's possible
I'm currently using OpenGL on Android to draw set width lines, which work great
Is it possible to use multiple brushes within a single GeometryDrawing ? I have
Is it possible to draw in other processes windows on MacOSX using Cocoa or
Is possible to draw lines in octave with plot or plot3? I mean, to
I'm trying to draw a google maps that has multiple Circle overlays, however I
I am trying to draw a (undirected) graph using the Tikz package, such that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.