-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Data classes in detail
Philipp Jahoda edited this page Mar 29, 2015
·
6 revisions
This wiki entry focuses on the subclasses of the ChartData class.
All other subclasses of ChartData not mentioned here do not provide any specific enhancements.
BarData (class BarData)
-
setGroupSpace(float percent): Sets the space between groups of bars of different datasets in percent of the total width of one bar. 100 = space is exactly one bar width, default: 80 -
isGrouped(): Returns true if this data object is grouped (consists of more than 1DataSet), false if it is not.
ScatterData (class ScatterData)
-
getGreatestShapeSize(): Returns the largest shape-size across allScatterDataSetsthis data object contains.
PieData (class PieData)
-
getDataSet(): Returns thePieDataSetobject that is set for this data object.PieDataobjects cannot contain multiplePieDataSets. -
setDataSet(PieDataSet set): Sets thePieDataSetthis data object should represent.
CombinedData (class CombinedData)
This data object is designed to contain instances of all other data objects. Use the setData(...) methods to provide the data for this object. This is used for the CombinedChart only.