This framework provides an NSView subclass which draws pie charts or graphs of lines and/or bars including axis labels. The SM2DGraphView class acts very much like an NSTableView or NSBrowser; SM2DGraphView takes responsibility for all of the drawing code but relies on a data source object to provide the specific lines and points to draw. A delegate object can also be assigned to a graph object to modify the behavior of the graph view.
Includes Interface Builder (IB) palette to easily add graphs to your nib files.
What's new in this version:
Axis labels (not tick labels, but the overall axis label) can now be either NSString or NSAttributed string. Added dashed line drawing attribute thanks to Jerome Duquennoy. Renamed folders and files within the archive to better separate things that require the Mac OS X 10.5 SDK from the older 10.4 SDK. Using the 10.5 SDK allows compiling with Garbage Collection support, as well as 64-bit support.
Comments