This class implements default chart data set.
You can find more information in comments below. Overrided methods can be found in corresponding base class.
class CChartDataSet :public virtual IChartDataSet
{
public:
String getXLabel(const float x, const String &default_label) override; // Return default_label
String getYLabel(const float y, const String &default_label) override; // Return default_label
int getDataCount() override;
IChartData *getData(const int index) override;
void Release() override;
IChartDataSet *Clone() override;
bool AddData(IChartData *data) override;
bool DetachData(const int index) override;
bool DetachData(IChartData *data) override;
bool DeleteData(const int index) override;
bool DeleteData(IChartData *data) override;
bool DetachDatas() override;
bool DeleteDatas() override;
CChartDataSet(); // Create empty
CChartDataSet(const std::vector<IChartData*> &datas); // Create with specified datas
virtual ~CChartDataSet();
};
Namespace: | nitisa::charts |
Include: | Charts/Core/ChartDataSet.h |