コード例 #1
0
ファイル: chartpanel.cpp プロジェクト: lukecian/wxfreechart
void wxChartPanel::SetChart(Chart *chart)
{
    SAFE_REPLACE_OBSERVER(this, m_chart, chart);
    wxREPLACE(m_chart, chart);

    RecalcScrollbars();

    RedrawBackBitmap();
    Refresh(false);
}
コード例 #2
0
void AxisPlot::SetDataBackground(AreaDraw *dataBackground)
{
	SAFE_REPLACE_OBSERVER(this, m_dataBackground, dataBackground);
	wxREPLACE(m_dataBackground, dataBackground);
}
コード例 #3
0
void AxisPlot::SetLegend(Legend *legend)
{
	wxREPLACE(m_legend, legend);
	FirePlotNeedRedraw();
}