Permalink
Browse files

Reads our JSON and displays the properties in the detail pane

  • Loading branch information...
1 parent be82c2a commit 30c6f075768b6beb257991a781b7d4534489ec4d @p2 committed Dec 18, 2012
Showing with 3,810 additions and 119 deletions.
  1. +85 −0 growth-charts-helper.xcodeproj/project.pbxproj
  2. +86 −0 growth-charts-helper.xcodeproj/xcuserdata/pp.xcuserdatad/xcschemes/growth-charts-helper.xcscheme
  3. +22 −0 growth-charts-helper.xcodeproj/xcuserdata/pp.xcuserdatad/xcschemes/xcschememanagement.plist
  4. +7 −0 growth-charts-helper.xcworkspace/contents.xcworkspacedata
  5. BIN growth-charts-helper.xcworkspace/xcuserdata/pp.xcuserdatad/UserInterfaceState.xcuserstate
  6. +10 −0 growth-charts-helper.xcworkspace/xcuserdata/pp.xcuserdatad/WorkspaceSettings.xcsettings
  7. +73 −0 growth-charts-helper/CHChartAreaView.h
  8. +441 −0 growth-charts-helper/CHChartAreaView.m
  9. +9 −0 growth-charts-helper/CHDocument.h
  10. +19 −12 growth-charts-helper/CHDocument.m
  11. +31 −0 growth-charts-helper/CHEnumToNumberTransformer.h
  12. +61 −0 growth-charts-helper/CHEnumToNumberTransformer.m
  13. +35 −0 growth-charts-helper/CHWindowController.h
  14. +55 −0 growth-charts-helper/CHWindowController.m
  15. +70 −0 growth-charts-helper/FromCharts/CHChart.h
  16. +165 −0 growth-charts-helper/FromCharts/CHChart.m
  17. +47 −0 growth-charts-helper/FromCharts/CHChartArea.h
  18. +142 −0 growth-charts-helper/FromCharts/CHChartArea.m
  19. +21 −0 growth-charts-helper/FromCharts/CHDateUnit.h
  20. +201 −0 growth-charts-helper/FromCharts/CHDateUnit.m
  21. +33 −0 growth-charts-helper/FromCharts/CHJSONHandling.h
  22. +29 −0 growth-charts-helper/FromCharts/CHTypes.h
  23. +47 −0 growth-charts-helper/FromCharts/CHUnit.h
  24. +359 −0 growth-charts-helper/FromCharts/CHUnit.m
  25. +37 −0 growth-charts-helper/FromCharts/CHValue.h
  26. +149 −0 growth-charts-helper/FromCharts/CHValue.m
  27. +23 −0 growth-charts-helper/FromCharts/NSDecimalNumber+Extension.h
  28. +70 −0 growth-charts-helper/FromCharts/NSDecimalNumber+Extension.m
  29. +79 −0 growth-charts-helper/FromCharts/PPRange.h
  30. +382 −0 growth-charts-helper/FromCharts/PPRange.m
  31. +1,010 −107 growth-charts-helper/en.lproj/CHDocument.xib
  32. +12 −0 growth-charts-helper/growth-charts-helper-Prefix.pch
@@ -14,6 +14,17 @@
EEEB2D891680E014004DC719 /* CHDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2D881680E014004DC719 /* CHDocument.m */; };
EEEB2D8C1680E014004DC719 /* CHDocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = EEEB2D8A1680E014004DC719 /* CHDocument.xib */; };
EEEB2D8F1680E014004DC719 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = EEEB2D8D1680E014004DC719 /* MainMenu.xib */; };
+ EEEB2DBC1680EA54004DC719 /* CHChartArea.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DBB1680EA54004DC719 /* CHChartArea.m */; };
+ EEEB2DBF1680EA70004DC719 /* PPRange.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DBE1680EA70004DC719 /* PPRange.m */; };
+ EEEB2DC61680EA8A004DC719 /* CHValue.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DC11680EA8A004DC719 /* CHValue.m */; };
+ EEEB2DC71680EA8A004DC719 /* CHUnit.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DC31680EA8A004DC719 /* CHUnit.m */; };
+ EEEB2DC81680EA8A004DC719 /* CHDateUnit.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DC51680EA8A004DC719 /* CHDateUnit.m */; };
+ EEEB2DCB1680EC6C004DC719 /* CHChart.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DCA1680EC6C004DC719 /* CHChart.m */; };
+ EEEB2DD11680EE05004DC719 /* NSDecimalNumber+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DD01680EE05004DC719 /* NSDecimalNumber+Extension.m */; };
+ EEEB2DD41680EE70004DC719 /* CHChartAreaView.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DD31680EE70004DC719 /* CHChartAreaView.m */; };
+ EEEB2DD61680F1E0004DC719 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EEEB2DD51680F1E0004DC719 /* QuartzCore.framework */; };
+ EEEB2DD91680FA96004DC719 /* CHWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DD81680FA95004DC719 /* CHWindowController.m */; };
+ EEEB2DDC1680FFC7004DC719 /* CHEnumToNumberTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = EEEB2DDB1680FFC7004DC719 /* CHEnumToNumberTransformer.m */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -31,13 +42,37 @@
EEEB2D881680E014004DC719 /* CHDocument.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CHDocument.m; sourceTree = "<group>"; };
EEEB2D8B1680E014004DC719 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/CHDocument.xib; sourceTree = "<group>"; };
EEEB2D8E1680E014004DC719 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+ EEEB2DB71680EA12004DC719 /* CHTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHTypes.h; sourceTree = "<group>"; };
+ EEEB2DB81680EA12004DC719 /* CHJSONHandling.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHJSONHandling.h; sourceTree = "<group>"; };
+ EEEB2DBA1680EA54004DC719 /* CHChartArea.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHChartArea.h; sourceTree = "<group>"; };
+ EEEB2DBB1680EA54004DC719 /* CHChartArea.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHChartArea.m; sourceTree = "<group>"; };
+ EEEB2DBD1680EA70004DC719 /* PPRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PPRange.h; sourceTree = "<group>"; };
+ EEEB2DBE1680EA70004DC719 /* PPRange.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PPRange.m; sourceTree = "<group>"; };
+ EEEB2DC01680EA8A004DC719 /* CHValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHValue.h; sourceTree = "<group>"; };
+ EEEB2DC11680EA8A004DC719 /* CHValue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHValue.m; sourceTree = "<group>"; };
+ EEEB2DC21680EA8A004DC719 /* CHUnit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHUnit.h; sourceTree = "<group>"; };
+ EEEB2DC31680EA8A004DC719 /* CHUnit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHUnit.m; sourceTree = "<group>"; };
+ EEEB2DC41680EA8A004DC719 /* CHDateUnit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHDateUnit.h; sourceTree = "<group>"; };
+ EEEB2DC51680EA8A004DC719 /* CHDateUnit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHDateUnit.m; sourceTree = "<group>"; };
+ EEEB2DC91680EC6C004DC719 /* CHChart.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHChart.h; sourceTree = "<group>"; };
+ EEEB2DCA1680EC6C004DC719 /* CHChart.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHChart.m; sourceTree = "<group>"; };
+ EEEB2DCF1680EE04004DC719 /* NSDecimalNumber+Extension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDecimalNumber+Extension.h"; sourceTree = "<group>"; };
+ EEEB2DD01680EE05004DC719 /* NSDecimalNumber+Extension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSDecimalNumber+Extension.m"; sourceTree = "<group>"; };
+ EEEB2DD21680EE70004DC719 /* CHChartAreaView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHChartAreaView.h; sourceTree = "<group>"; };
+ EEEB2DD31680EE70004DC719 /* CHChartAreaView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHChartAreaView.m; sourceTree = "<group>"; };
+ EEEB2DD51680F1E0004DC719 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
+ EEEB2DD71680FA95004DC719 /* CHWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHWindowController.h; sourceTree = "<group>"; };
+ EEEB2DD81680FA95004DC719 /* CHWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHWindowController.m; sourceTree = "<group>"; };
+ EEEB2DDA1680FFC7004DC719 /* CHEnumToNumberTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CHEnumToNumberTransformer.h; sourceTree = "<group>"; };
+ EEEB2DDB1680FFC7004DC719 /* CHEnumToNumberTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CHEnumToNumberTransformer.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
EEEB2D6E1680E014004DC719 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ EEEB2DD61680F1E0004DC719 /* QuartzCore.framework in Frameworks */,
EEEB2D761680E014004DC719 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -48,6 +83,7 @@
EEEB2D661680E014004DC719 = {
isa = PBXGroup;
children = (
+ EEEB2DD51680F1E0004DC719 /* QuartzCore.framework */,
EEEB2D7B1680E014004DC719 /* growth-charts-helper */,
EEEB2D741680E014004DC719 /* Frameworks */,
EEEB2D721680E014004DC719 /* Products */,
@@ -86,7 +122,13 @@
children = (
EEEB2D871680E014004DC719 /* CHDocument.h */,
EEEB2D881680E014004DC719 /* CHDocument.m */,
+ EEEB2DD71680FA95004DC719 /* CHWindowController.h */,
+ EEEB2DD81680FA95004DC719 /* CHWindowController.m */,
EEEB2D8A1680E014004DC719 /* CHDocument.xib */,
+ EEEB2DD21680EE70004DC719 /* CHChartAreaView.h */,
+ EEEB2DD31680EE70004DC719 /* CHChartAreaView.m */,
+ EEEB2DB91680EA29004DC719 /* FromCharts */,
+ EEEB2DDD168100EA004DC719 /* Helpers */,
EEEB2D8D1680E014004DC719 /* MainMenu.xib */,
EEEB2D7C1680E014004DC719 /* Supporting Files */,
);
@@ -105,6 +147,38 @@
name = "Supporting Files";
sourceTree = "<group>";
};
+ EEEB2DB91680EA29004DC719 /* FromCharts */ = {
+ isa = PBXGroup;
+ children = (
+ EEEB2DB71680EA12004DC719 /* CHTypes.h */,
+ EEEB2DB81680EA12004DC719 /* CHJSONHandling.h */,
+ EEEB2DC91680EC6C004DC719 /* CHChart.h */,
+ EEEB2DCA1680EC6C004DC719 /* CHChart.m */,
+ EEEB2DBA1680EA54004DC719 /* CHChartArea.h */,
+ EEEB2DBB1680EA54004DC719 /* CHChartArea.m */,
+ EEEB2DBD1680EA70004DC719 /* PPRange.h */,
+ EEEB2DBE1680EA70004DC719 /* PPRange.m */,
+ EEEB2DC01680EA8A004DC719 /* CHValue.h */,
+ EEEB2DC11680EA8A004DC719 /* CHValue.m */,
+ EEEB2DC21680EA8A004DC719 /* CHUnit.h */,
+ EEEB2DC31680EA8A004DC719 /* CHUnit.m */,
+ EEEB2DC41680EA8A004DC719 /* CHDateUnit.h */,
+ EEEB2DC51680EA8A004DC719 /* CHDateUnit.m */,
+ EEEB2DCF1680EE04004DC719 /* NSDecimalNumber+Extension.h */,
+ EEEB2DD01680EE05004DC719 /* NSDecimalNumber+Extension.m */,
+ );
+ path = FromCharts;
+ sourceTree = "<group>";
+ };
+ EEEB2DDD168100EA004DC719 /* Helpers */ = {
+ isa = PBXGroup;
+ children = (
+ EEEB2DDA1680FFC7004DC719 /* CHEnumToNumberTransformer.h */,
+ EEEB2DDB1680FFC7004DC719 /* CHEnumToNumberTransformer.m */,
+ );
+ name = Helpers;
+ sourceTree = "<group>";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -173,6 +247,16 @@
files = (
EEEB2D821680E014004DC719 /* main.m in Sources */,
EEEB2D891680E014004DC719 /* CHDocument.m in Sources */,
+ EEEB2DBC1680EA54004DC719 /* CHChartArea.m in Sources */,
+ EEEB2DBF1680EA70004DC719 /* PPRange.m in Sources */,
+ EEEB2DC61680EA8A004DC719 /* CHValue.m in Sources */,
+ EEEB2DC71680EA8A004DC719 /* CHUnit.m in Sources */,
+ EEEB2DC81680EA8A004DC719 /* CHDateUnit.m in Sources */,
+ EEEB2DCB1680EC6C004DC719 /* CHChart.m in Sources */,
+ EEEB2DD11680EE05004DC719 /* NSDecimalNumber+Extension.m in Sources */,
+ EEEB2DD41680EE70004DC719 /* CHChartAreaView.m in Sources */,
+ EEEB2DD91680FA96004DC719 /* CHWindowController.m in Sources */,
+ EEEB2DDC1680FFC7004DC719 /* CHEnumToNumberTransformer.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -310,6 +394,7 @@
EEEB2D941680E014004DC719 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "0450"
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "EEEB2D701680E014004DC719"
+ BuildableName = "growth-charts-helper.app"
+ BlueprintName = "growth-charts-helper"
+ ReferencedContainer = "container:growth-charts-helper.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "EEEB2D701680E014004DC719"
+ BuildableName = "growth-charts-helper.app"
+ BlueprintName = "growth-charts-helper"
+ ReferencedContainer = "container:growth-charts-helper.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "EEEB2D701680E014004DC719"
+ BuildableName = "growth-charts-helper.app"
+ BlueprintName = "growth-charts-helper"
+ ReferencedContainer = "container:growth-charts-helper.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "EEEB2D701680E014004DC719"
+ BuildableName = "growth-charts-helper.app"
+ BlueprintName = "growth-charts-helper"
+ ReferencedContainer = "container:growth-charts-helper.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SchemeUserState</key>
+ <dict>
+ <key>growth-charts-helper.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>EEEB2D701680E014004DC719</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
+ <true/>
+ <key>SnapshotAutomaticallyBeforeSignificantChanges</key>
+ <false/>
+</dict>
+</plist>
@@ -0,0 +1,73 @@
+/*
+ CHChartAreaView.h
+ growth-charts-helper
+
+ Created by Pascal Pfiffner on 12/18/12.
+ Copyright (c) 2012 CHIP. All rights reserved.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#import <Cocoa/Cocoa.h>
+#import <QuartzCore/QuartzCore.h>
+#import "CHChart.h"
+
+#define kCHChartAreaViewDebugDrawing 0
+
+/**
+ * A chart area represents an area on a PDF file to draw content into.
+ *
+ * Use one of its subclasses, they are more useful than this abstract superclass.
+ *
+ * You can use the chart area as a standard view, adding it to a superview and have it draw the items into its context when the area is drawn, or use it
+ * manually by not adding it to a view hierarchy and calling its drawing methods with your own context. We do this with CHChartPlotAreas from CHChartPage so
+ * the area can also display data points that lie outside its borders.
+ *
+ * @attention Override "drawLayer:inContext:" in subclasses, not "drawRect:"!
+ */
+@interface CHChartAreaView : NSView
+
+@property (nonatomic, assign) CGPoint origin; ///< Origin between 0 and 1 relative to its parent's grid
+@property (nonatomic, assign) CGSize size; ///< Size between 0 and 1 relative to its parent's grid
+@property (nonatomic, assign) CGPathRef outline; ///< The outline of the area. We do *not* clip to this area, but you can use it to do so.
+@property (nonatomic, assign) CGSize pageSize; ///< The size of the page we're currently displayed on, in screen pixels
+
+@property (nonatomic, copy) NSArray *areas; ///< An area can have any number of subareas
+
+- (void)setFromDictionary:(NSDictionary *)dict;
+
+- (void)reset;
+- (void)resetHighlight;
+
+- (void)positionInFrame:(CGRect)targetRect onView:(NSView *)aView pageSize:(CGSize)pageSize;
+- (CGRect)boundingBox;
+- (CGRect)framingBox;
+- (CGRect)outlineBox;
+- (CGRect)contentBox;
+
+- (void)updateWithDataSource:(id<CHChartDataSource>)dataSource;
+- (NSSet *)allDataTypes;
+- (NSSet *)plotDataTypes;
+
+- (BOOL)pointInside:(CGPoint)point withEvent:(NSEvent *)event;
+- (NSSet *)areasAtPoint:(CGPoint)point;
+
++ (BOOL)registerClass:(Class)areaClass forType:(NSString *)aType;
++ (Class)registeredClassForType:(NSString *)aType;
+
++ (NSCharacterSet *)outlinePathSplitSet;
+
+
+@end
Oops, something went wrong.

0 comments on commit 30c6f07

Please sign in to comment.