class::draw::DataSet

class draw::DataSet
  : public api::InfoObject

Summary

[DataSet](#classdraw_1_1_data_set_1ab3bf8f10c1f0a471ccce6a07a2da6dbf)()

[DataSet](#classdraw_1_1_data_set_1a7205d74ff9f98cea4cf015526e3d3b00)(  

float * data,
u32 n_data
)

virtual float at(

u32 i
) const

float max() const

float min() const

void set(

const float * data,
u32 n
)

virtual u32 size() const

Members

DataSet()

DataSet(

float * data,
u32 n_data
)


virtual float at(

u32 i
) const


float max() const

float min() const

void set(

const float * data,
u32 n
)

This sets the data to use in the graph. The caller needs to manage the memory for the data points. This object simply has a pointer to the external data.

Parameters

  • data A pointer to the data

  • n The number of data points


virtual u32 size() const

X

Thanks for Coming!

Subscribe to news and updates