Parallel line for min/max values #15
Comments
The |
I already tried that.. but it didn't work. UIView *maxLine = [[UIView alloc] initWithFrame:CGRectMake(0,[self calculateMaximumPointValue],self.mygraph.view.frame.size.width,3)]; |
Hi @rootilein ! Here is something that works for me:
Let me know if it works for you too. |
Hello @Boris-Em, But on a second one, it's a little but too low: I tried to fix that and changed the "+ 30" at the end to "+ 25". Then I've two more questions...
|
I'm glad I could help you @rootilein ! The calculation for the minLine should look like something like that:
The issue with the background on your first image seems to me like an issue with the values that are rounded up. I thought that I fixed that a while ago, but apparently not really. Let me know if you have any other questions. |
Thanks again for your fast answer. my code looks like: http://pastebin.com/E5Fe0Ck8 (it's too long for here) According to the background issue: |
Hey @rootilein These are good information for the background issue. It should help me figure out what the problem is. I will take a look at all of this tonight. |
Thank you. #define padding 200 |
It might be the padding, if you changed it in the file 'BEMSimpleLineGraphView.m'.
Let me know if it works or not. |
d'oh... thank you. my mistake... and I wondered, why you're substracting "80" :D :D now it's working quite nice! Thank you!! |
No problem! I'm glad I could help. I will investigate on the issue with the background now. Thanks for everything @rootilein. |
Hi @rootilein, |
Hello @Boris-Em, |
Thank you @rootilein. |
I'd like to have an interface like shown on this mockup:
But I really have difficulties to find the correct y values for my min and max point.
Any suggestions?
The text was updated successfully, but these errors were encountered: