通过代码设置TeeChart横纵坐标轴的标题
问题描述:
vs2013 C++(MFC)程序中,怎么通过代码设置TeeChart8横纵坐标轴的标题
答
m_TeeChart.get_axis()().GetBottom().GetTitle().SetCaption("X轴的标题"); // 设置X轴的标题,准确的说应该是设置底部轴的标题
m_TeeChart.get_axis().get_left().GetTitle().SetCaption("Y轴的标题");// 设置左侧轴的标题