Copyright: (C) 2011-2017 Free Software Foundation
- Declared in:
- OKChart.h
OKChart provides the superclass for different chart
types. It comprises generic properties and methods
for a chart class.
A chart is a plotting of one
or more series of values in manners similar to a
spreadsheet graph. Values are generally not
thought to be dependent upn each other, that is,
not a function-plotting although it can be used for
that.
OresmeKit provides several instances like the Line chart or Pie chart. You may of course sublass it and implement your own custom chart type.
Data Series
OKChart s draw data is represented in OKSeries . Depending on the chart style, one or more series are supported or needed.
Series may be managed by
An
OKChart
is a subclass of NSView
, thus the
final drawing happens in the drawRect.
OKNumberFormatting