void wxChartPanel::SetChart(Chart *chart) { SAFE_REPLACE_OBSERVER(this, m_chart, chart); wxREPLACE(m_chart, chart); RecalcScrollbars(); RedrawBackBitmap(); Refresh(false); }
void AxisPlot::SetDataBackground(AreaDraw *dataBackground) { SAFE_REPLACE_OBSERVER(this, m_dataBackground, dataBackground); wxREPLACE(m_dataBackground, dataBackground); }
void AxisPlot::SetLegend(Legend *legend) { wxREPLACE(m_legend, legend); FirePlotNeedRedraw(); }