Skip to content

Commit

Permalink
Make coloured demo look like the Android demo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Apr 5, 2015
1 parent 54517db commit 8768794
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ChartsDemo/Classes/Demos/ColoredLineChartViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ - (void)setupChart:(LineChartView *)chart data:(LineChartData *)data color:(UICo
chart.pinchZoomEnabled = NO;
[chart setViewPortOffsetsWithLeft:10.f top:0.f right:10.f bottom:0.f];

ChartLegend *l = chart.legend;
l.form = ChartLegendFormCircle;
l.formSize = 6.f;
l.textColor = UIColor.whiteColor;
l.font = [UIFont fontWithName:@"HelveticaNeue-Light" size:10.f];
chart.legend.enabled = NO;

chart.leftAxis.enabled = NO;
chart.rightAxis.enabled = NO;
Expand Down

0 comments on commit 8768794

Please sign in to comment.