API issue in SChartCategoryAxis


#1

From_ _SChartCategoryAxis.h:

This array should not be replaced or manipulated, but it can be used to link data point values to integer values.<br>
 The `dataIndex` from the data source may not correspond to the index of the category.*/

@property (nonatomic, retain) NSMutableArray *categories;

Why is this a mutable array backed by a readwrite property if it’s not supposed to be replaced or manipulated?


#2

Hi Tony,

This is read/write behaviour of this property is actually a legacy issue. We are planning to update this property to be read-only when we have our next major API update. Until then, we recommend that this property is not replaced or manipulated.

Thanks,
Jan Akerman