Comments (3)
So it works fine when u take it out?
Sent from my iPad
On 11 Jan, 2013, at 1:50 AM, Niels Hansen [email protected] wrote:
Hi There,
I ran into an issue with the line plot and brought my app to its knees performance wise. I finally determined where the issue was. Its on line 73 of LineGraphView.m You make a call to
UIGraphicsPushContext(ctx); but then never call UIGraphicsPopContext();
I'm not 100% sure if you need either though.Thanks,
Niels—
Reply to this email directly or view it on GitHub.
from iosplot.
I just added UIGraphicsPopContext(); at the end and then it worked great. Need the pop after the push :)
Sent from my iPhone
On Jan 10, 2013, at 4:47 PM, honcheng [email protected] wrote:
So it works fine when u take it out?
Sent from my iPad
On 11 Jan, 2013, at 1:50 AM, Niels Hansen [email protected] wrote:
Hi There,
I ran into an issue with the line plot and brought my app to its knees performance wise. I finally determined where the issue was. Its on line 73 of LineGraphView.m You make a call to
UIGraphicsPushContext(ctx); but then never call UIGraphicsPopContext();
I'm not 100% sure if you need either though.Thanks,
Niels—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub.
from iosplot.
Thanks. Can you send me a pull request, just so I can credit you for the fix?
Sent from my iPad
On 11 Jan, 2013, at 8:03 AM, Niels Hansen [email protected] wrote:
I just added UIGraphicsPopContext(); at the end and then it worked great. Need the pop after the push :)
Sent from my iPhone
On Jan 10, 2013, at 4:47 PM, honcheng [email protected] wrote:
So it works fine when u take it out?
Sent from my iPad
On 11 Jan, 2013, at 1:50 AM, Niels Hansen [email protected] wrote:
Hi There,
I ran into an issue with the line plot and brought my app to its knees performance wise. I finally determined where the issue was. Its on line 73 of LineGraphView.m You make a call to
UIGraphicsPushContext(ctx); but then never call UIGraphicsPopContext();
I'm not 100% sure if you need either though.Thanks,
Niels—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub.
from iosplot.
Related Issues (20)
- Autoresizing PieChart HOT 1
- How to add a chart to UIScrollView? HOT 3
- Why use NSUinteger in PCLineChartView.m line 105
- Line Chart crashes when it's changed to the Landscape mode HOT 11
- Need to initialise it with data
- Does not compile clean
- In some special case: it doesnt look good
- Crash in LineChart HOT 2
- PieChart cause crash when I touch screen
- minValue and maxValue issues HOT 1
- Set chart width
- Legent titles are not displayed
- Example Project Errors Occurred for Me HOT 1
- Typos in readme
- Real time HOT 1
- App crashes while pushing to the Line Graph Screen for second or third time. HOT 1
- ios 8 issue
- Xcode 64 bit compatibility
- JSONKit.h's file not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iosplot.