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

  • Home
  • SEARCH
  • 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 6332791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:21:03+00:00 2026-05-24T18:21:03+00:00

What is the best way of creating multiline plot. Is it possible to have

  • 0

What is the best way of creating multiline plot.

Is it possible to have new lines added at the runtime or is there a way of preserving existing line preserved while the plot is refreshed with new data?

I assume that new data could be appended to existing array in order to make existing chart line appear as a new chart line (chart line would return to some starting point and continue from thereon as new line), but I had read somewhere that one chart line can not have more than one colour, thus it would be impossible to hide the line between end and start point, or am I wrong?

What would be the best approach?

  • 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-24T18:21:04+00:00Added an answer on May 24, 2026 at 6:21 pm

    A single Core Plot graph can contain multiple plots which can all be the same type or a mixture of different types. You can add and remove plots any time. Adding another scatter plot is the easiest way to do what you describe in the question.

    If the data for an existing plot changes, you can call -reloadData on the plot to refresh its data, or on the graph to update all plots at once. For better performance with large or frequently updated data sets, plots also have methods to add data points to an existing plot and to remove a subset of the data to allow partial updates of the plot data.

    It is true that a single plot can only use one line style for the plot line, but you can leave gaps in the data line by returning nil or [NSNull null] from the datasource.

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

Sidebar

Related Questions

Possible Duplicate: Best way to stop SQL Injection in PHP I am creating a
Do anyone have an idea whats the best way of creating an own library
Is there a library or best-practice way of creating a menu with navigation links
I have been in this forum before to find the best way of creating
I have been struggling with the best way of creating, accessing and updating values
Possible Duplicate: Best way to prevent SQL injection in PHP? I am creating a
what is the best way for creating a jsp visitor hit counters? is it
Just wondering what is the best practice way of creating a class that needs
When creating a CodeIgniter project, what is the best way to handle relations between
The best way to explain my problem is by a example. I have a

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.