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 8384199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:20:55+00:00 2026-06-09T17:20:55+00:00

I am creating a small iPhone application using CorePlot. The graph consists of 10

  • 0

I am creating a small iPhone application using CorePlot. The graph consists of 10 bars. Unfortunately, the y-values might differ between 0 and 1 million, therefore I create my plotspace with a rather huge yRange

plotSpace.yRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromDouble(yAxisStart)
                                                length:CPTDecimalFromDouble(yAxisLength)];

What I am experiencing is that my application is really slow when loading the graph, and I can pinpoint this issue to the rather large value of yAxisLength. I already removed the creation of tickmarks on the y axis, but still the performance is very bad. Can anyone give me a hint how to improve performance?

  • 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-06-09T17:20:57+00:00Added an answer on June 9, 2026 at 5:20 pm

    Make sure you update the labeling parameters, even if you don’t need any labels or ticks. The default labeling policy creates tick marks and labels one unit apart. That’s why a large axis range slows your app down so much. It also creates a separate Core Animation layer for each label. Creating 1 million labels will take a long time and use a lot of memory.

    If you don’t need any ticks or labels, set the labeling policy to CPTAxisLabelingPolicyNone. Otherwise, make the necessary adjustments to the various labeling properties (which ones to use depends on which policy you choose) so that there are reasonable number of ticks within the axis range.

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

Sidebar

Related Questions

I am new to iphone development.. am creating one small application where two viewcontrollers
I have a small doubt, so apologies first. I am creating an iPhone application
I creating a small desktop application using Qt and Poco on Mac OS X
I'm working with a small startup with the goal of creating an iPhone application.
I am creating small django application which holds some few questions (and answers for
I am creating a small application which will perform say 4 different, time consuming
I'm creating a small service using api-libraries, such as Twitter. Is it possible to
I'm creating a small vb.net application, and I'm trying trying to write a list
I am creating a small number of JSON Web Services using JsonResult as part
I am creating a small HTML editor using jQuery. I have created my own

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.