Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
TChart code snippet to clear all series .
* View the code of 'ClearChart' in plain text
#include <Chart.hpp>
//From http://www.richelbilderbeek.nl/CppClearChart.htm
void ClearChart(TChart * const c)
{
assert(c); // c must be an initialized pointer
const int sz = c->SeriesCount();
{
c->Series[i]->Clear();
}
}
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.