// configurationXGChartConfiguration*configuration=[[XGChartConfigurationalloc]init];configuration.chartType=XGChartTypeLineChart;configuration.paddingTop=20;configuration.paddingLeft=20;configuration.paddingBottom=20;configuration.paddingRight=20;configuration.xGridCount=3;configuration.yGridCount=4;configuration.gridColor=[UIColorgrayColor];configuration.xAxisLabelColor=[UIColorwhiteColor];configuration.xAxisLabelFontSize=12;configuration.yAxisLabelColor=[UIColorwhiteColor];configuration.yAxisLabelFontSize=12;NSMutableArray<XGChartPoint*>*chartPoints=[[NSMutableArrayalloc]init];for(inti=1;i<31;i++){XGChartPoint*point=[[XGChartPointalloc]initWithX:iandY:arc4random_uniform(100)];[chartPointsaddObject:point];}configuration.chartPoints=chartPoints;configuration.strokeColor=[UIColorredColor];configuration.fillColor=[UIColorredColor];configuration.lineWidth=3;// line chartXGChart*lineChart=[[XGChartalloc]initWithFrame:CGRectMake(0,64,self.view.bounds.size.width,(self.view.bounds.size.height-64)/3)configuration:configuration];lineChart.backgroundColor=[UIColorblackColor];[self.viewaddSubview:lineChart];