Skip to content

Commit

Permalink
Allow any zoom in the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Apr 10, 2016
1 parent 43a352f commit 34d8e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChartsDemo/Classes/Demos/LineChart1ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ - (void)viewDidLoad

_chartView.rightAxis.enabled = NO;

[_chartView.viewPortHandler setMaximumScaleY: 2.f];
[_chartView.viewPortHandler setMaximumScaleX: 2.f];
//[_chartView.viewPortHandler setMaximumScaleY: 2.f];
//[_chartView.viewPortHandler setMaximumScaleX: 2.f];

BalloonMarker *marker = [[BalloonMarker alloc] initWithColor:[UIColor colorWithWhite:180/255. alpha:1.0] font:[UIFont systemFontOfSize:12.0] insets: UIEdgeInsetsMake(8.0, 8.0, 20.0, 8.0)];
marker.minimumSize = CGSizeMake(80.f, 40.f);
Expand Down

0 comments on commit 34d8e4d

Please sign in to comment.