Hi Maurice,
As far as I know, there is no "getData" method in ChartDirector. Anyway, ChartDirector expects data to be "double" values. If you have long values, we suggest you to convert them to double values first, before passing the data to ChartDirector. For example:
//convert to double array
std::vector<double> temp(myArraySize);
for (int i = 0; i < myArraySize; ++i)
temp[i] = (double)myLongArray[i];
c->addLineLayer(DoubleArray(&(temp[0]), myArraySize), .....);
Regards
Peter Kwan |