Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor bug fixes

  • Loading branch information...
commit 1a107142b4f7246b02e3da59983dd8fa3d0f866a 1 parent 92e00e4
Sergey Lenkov authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  Classes/YBGraphView.m
2  Classes/YBGraphView.m
@@ -421,7 +421,7 @@ - (void)drawRect:(NSRect)rect {
421 421
422 422 if ([values count] == 1) {
423 423 int x = (self.frame.size.width) / 2;
424   - int y = [[values objectAtIndex:0] intValue] * stepY;
  424 + int y = [[values objectAtIndex:0] floatValue] * stepY;
425 425
426 426 if (!useMinValue) {
427 427 y = ([[values objectAtIndex:0] floatValue] - minY) * stepY;

0 comments on commit 1a10714

Please sign in to comment.
Something went wrong with that request. Please try again.