Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
PNChart
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
MrWooJ
2014-12-03 15:31:55 +0330
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9779f5b7422c5cbe8be88e7a0e0d07debdd6d1f8
9779f5b7
1 parent
9298fb41
adding requirement information for triangle point
triangle point in linebar chart
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
PNChart/PNLineChartData.h
PNChartDemo/PCChartsTableViewController.m
PNChart/PNLineChartData.h
View file @
9779f5b
...
...
@@ -8,7 +8,8 @@
typedef
NS_ENUM
(
NSUInteger
,
PNLineChartPointStyle
)
{
PNLineChartPointStyleNone
=
0
,
PNLineChartPointStyleCircle
=
1
,
PNLineChartPointStyleSquare
=
3
PNLineChartPointStyleSquare
=
3
,
PNLineChartPointStyleTriangle
=
4
};
@class
PNLineChartDataItem
;
...
...
PNChartDemo/PCChartsTableViewController.m
View file @
9779f5b
...
...
@@ -38,7 +38,7 @@
PNLineChartData
*
data01
=
[
PNLineChartData
new
];
data01
.
color
=
PNFreshGreen
;
data01
.
itemCount
=
lineChart
.
xLabels
.
count
;
data01
.
inflexionPointStyle
=
PNLineChartPointStyle
Circ
le
;
data01
.
inflexionPointStyle
=
PNLineChartPointStyle
Triang
le
;
data01
.
getData
=
^
(
NSUInteger
index
)
{
CGFloat
yValue
=
[
data01Array
[
index
]
floatValue
];
return
[
PNLineChartDataItem
dataItemWithY
:
yValue
];
...
...
Please
register
or
login
to post a comment