new_BDSCharts
2016-08-09 19:10:30 0 举报
new_BDSCharts是一个创新的图表生成工具,专为数据分析和可视化设计。它提供了一种简单而强大的方式,帮助用户快速创建各种类型的图表,包括折线图、柱状图、饼图等。new_BDSCharts不仅具有直观的用户界面,还支持多种数据输入格式,如CSV、Excel等,使得数据处理变得轻而易举。此外,它还提供了丰富的定制选项,用户可以根据自己的需求调整图表的颜色、字体、布局等。new_BDSCharts的目标是让数据分析变得更加直观和易于理解,无论是对于专业的数据分析师,还是对于普通的数据使用者,都能从中受益。
作者其他创作
大纲/内容
LineChartView
ChartDelegate //绘制定制设定
//颜色设定- (UIColor *)obChartView:(OBXYChartView *)chartView dataColorAtSection:(NSInteger)section;// 动画设定- (OBChartAnimationDireciton)obChartView:(OBXYChartView *)chartView animationDirectionAtSection:(NSInteger)section;- (NSTimeInterval)obChartView:(OBXYChartView *)chartView animationDurationAtSection:(NSInteger)section;// x轴设定- (OBXYChartXAxisPosition)xAxisPoistionInOBChartView:(OBXYChartView *)chartView;- (CGFloat)xAxisHeightInOBChartView:(OBXYChartView *)chartView;- (CGFloat)obChartView:(OBXYChartView *)chartView xAxisWidthAtRow:(NSInteger)row;- (UIView *)obChartView:(OBXYChartView *)chartView xAxisViewAtRow:(NSInteger)row;// y轴设定- (NSInteger)numberOfYAxisSectionsInOBChartView:(OBXYChartView *)chartView;- (NSInteger)obChartView:(OBXYChartView *)obChartView numberOfYAxisRowsInSection:(NSInteger)section;- (OBXYChartYAxisPosition)obChartView:(OBXYChartView *)chartView yAxisPoistionAtSection:(NSInteger)section;- (CGSize)obChartView:(OBXYChartView *)chartView yAxisSizeAtSection:(NSInteger)section;- (UIView *)obChartView:(OBXYChartView *)chartView yAxisViewForIndexPath:(NSIndexPath *)indexPath;//选中响应- (void)obChartView:(OBChartView *)chartView didSelectItemAtIndexPath:(NSIndexPath *)indexPath;
ChartView
- dataSource- delegate- layout
- drawRect()
BarChartLayout
ChartLayout //真正绘制计算
- prepareForRender //计算好所需Attributes-(ChartAttributes*)renderAttributesAtIndexPath:(NSIndexPath)indexPath //主要绘制内容-(ChartAttributes*)highlightAttributesAtIndexPath:(NSIndexPath)indexPath //高亮内容-(ChartAttributes*)valueAttributesAtIndexPath:(NSIndexPath)indexPath //附属值-(ChartAttributes*)longpressAttributesAtIndexPath:(NSIndexPath)indexPath //长按展示
BarChartAttributes
ChartDataSource //绘制数据来源
LineChartLayout
ChartAttributes //绘制属性
- originPath //动画初始值- renderPath //真实绘制值
LineChartAttributes
0 条评论
下一页