// PNLineChartView.h
//
// Copyright (c) 2014 John Yung pincution@gmail.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#import <UIKit/UIKit.h>
@class PNPlot;
@interface PNLineChartView : UIView
@property (nonatomic, strong) NSArray *xAxisValues;
@property (nonatomic, assign) NSInteger xAxisFontSize;
@property (nonatomic, strong) UIColor* xAxisFontColor;
@property (nonatomic, assign) NSInteger numberOfVerticalElements;
@property (nonatomic, strong) UIColor * horizontalLinesColor;
@property (nonatomic, assign) float max; // max value in the axis
@property (nonatomic, assign) float min; // min value in the axis
@property (nonatomic, assign) float interval; // interval value between two horizontal line
@property (nonatomic, assign) float pointerInterval; // the x interval width between pointers
@property (nonatomic, assign) float axisLineWidth; // axis line width
@property (nonatomic, assign) float horizontalLineInterval; // the height between two horizontal line
@property (nonatomic, assign) float horizontalLineWidth; // the width of the horizontal line
@property (nonatomic, assign) float axisBottomLinetHeight; // xAxis line off the view
@property (nonatomic, assign) float axisLeftLineWidth; //yAxis line between the view left
@property (nonatomic, strong) NSString* floatNumberFormatterString; // the yAxis label text should be formatted with
@property (nonatomic, strong) NSArray* yAxisValues; // array of number
/**
* readyonly dictionary that stores all the plots in the graph.
*/
@property (nonatomic, readonly, strong) NSMutableArray *plots;
/**
* this method will add a Plot to the graph.
*
* @param newPlot the Plot that you want to draw on the Graph.
*/
- (void)addPlot:(PNPlot *)newPlot;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
[ruotun.com]折线图.zip (29个子文件)
lineChartView-master
.DS_Store 6KB
lineChart.xcodeproj
project.xcworkspace
contents.xcworkspacedata 154B
xcuserdata
yangyo.xcuserdatad
WorkspaceSettings.xcsettings 333B
UserInterfaceState.xcuserstate 23KB
ericwang.xcuserdatad
UserInterfaceState.xcuserstate 8KB
xcuserdata
yangyo.xcuserdatad
xcdebugger
Breakpoints_v2.xcbkptlist 91B
xcschemes
xcschememanagement.plist 571B
lineChart.xcscheme 4KB
ericwang.xcuserdatad
xcschemes
xcschememanagement.plist 571B
lineChart.xcscheme 4KB
project.pbxproj 21KB
lineChartTests
en.lproj
InfoPlist.strings 45B
lineChartTests.m 653B
lineChartTests-Info.plist 689B
lineChart
en.lproj
InfoPlist.strings 45B
lineChart-Info.plist 1KB
main.m 352B
PNTestViewController.xib 3KB
PNAppDelegate.m 2KB
PNTestViewController.h 238B
PNTestViewController.m 2KB
Images.xcassets
LaunchImage.launchimage
Contents.json 442B
AppIcon.appiconset
Contents.json 333B
PNLineChart
PNLineChartView.h 3KB
PNLineChartView.m 9KB
PNPlot.m 1KB
PNPlot.h 1KB
lineChart-Prefix.pch 344B
PNAppDelegate.h 292B
共 29 条
- 1
资源评论
- lgp43007922015-10-22下错了,是IOS的,我需要的是移动浏览器上的
- Xylon_He2015-07-21这个对我还是很有用的
RUOTUN
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功