From 732858e94269180ffd30d299d5f12a551da03a41 Mon Sep 17 00:00:00 2001 From: kudit Date: Mon, 17 Mar 2014 10:02:03 -0400 Subject: [PATCH] changed yscale to a double as an int, this has issues if the number of a y point is larger than the number of pixels available to display (ends up forcing scale to 0 and thus all points end up at 0) --- OVGraphView/OVGraphView/OVGraphPlotView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OVGraphView/OVGraphView/OVGraphPlotView.h b/OVGraphView/OVGraphView/OVGraphPlotView.h index ecd2b81..e191c07 100644 --- a/OVGraphView/OVGraphView/OVGraphPlotView.h +++ b/OVGraphView/OVGraphView/OVGraphPlotView.h @@ -11,7 +11,7 @@ #import "OVGraphYIndicatorView.h" @class OVPlotScrollView; @interface OVGraphPlotView : UIView { - int yscale; + double yscale; int spacebetweenpoints; UIColor *opaquecolor; UIColor *lightercolor;