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
kevinzhow
2014-05-05 18:01:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bc3af21932b7fdcd1d39c2784a4a3b3fd94b6982
bc3af219
1 parent
0ac40d58
Fix Color
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
PNChart/PNColor.h
PNChartDemo/PCChartsTableViewController.m
PNChart/PNColor.h
View file @
bc3af21
...
...
@@ -19,7 +19,9 @@
#define PNGreen [UIColor colorWithRed:77.0 / 255.0 green:186.0 / 255.0 blue:122.0 / 255.0 alpha:1.0f]
#define PNTitleColor [UIColor colorWithRed:0.0 / 255.0 green:189.0 / 255.0 blue:113.0 / 255.0 alpha:1.0f]
#define PNButtonGrey [UIColor colorWithRed:141.0 / 255.0 green:141.0 / 255.0 blue:141.0 / 255.0 alpha:1.0f]
#define PNLightGreen [UIColor colorWithRed:77.0 / 255.0 green:216.0 / 255.0 blue:122.0 / 255.0 alpha:1.0f]
#define PNFreshGreen [UIColor colorWithRed:77.0 / 255.0 green:196.0 / 255.0 blue:122.0 / 255.0 alpha:1.0f]
#define PNDeepGreen [UIColor colorWithRed:77.0 / 255.0 green:176.0 / 255.0 blue:122.0 / 255.0 alpha:1.0f]
#define PNRed [UIColor colorWithRed:245.0 / 255.0 green:94.0 / 255.0 blue:78.0 / 255.0 alpha:1.0f]
#define PNMauve [UIColor colorWithRed:88.0 / 255.0 green:75.0 / 255.0 blue:103.0 / 255.0 alpha:1.0f]
#define PNBrown [UIColor colorWithRed:119.0 / 255.0 green:107.0 / 255.0 blue:95.0 / 255.0 alpha:1.0f]
...
...
PNChartDemo/PCChartsTableViewController.m
View file @
bc3af21
...
...
@@ -157,9 +157,9 @@
NSArray
*
items
=
@[[
PNPieChartDataItem
dataItemWithValue
:
10
color
:
PN
Red
],
[
PNPieChartDataItem
dataItemWithValue
:
20
color
:
PN
TwitterColor
description
:
@"WWDC"
],
[
PNPieChartDataItem
dataItemWithValue
:
40
color
:
PNGreen
description
:
@"GOOL I/O"
],
NSArray
*
items
=
@[[
PNPieChartDataItem
dataItemWithValue
:
10
color
:
PN
LightGreen
],
[
PNPieChartDataItem
dataItemWithValue
:
20
color
:
PN
FreshGreen
description
:
@"WWDC"
],
[
PNPieChartDataItem
dataItemWithValue
:
40
color
:
PN
Deep
Green
description
:
@"GOOL I/O"
],
];
...
...
Please
register
or
login
to post a comment