Home > Software engineering >  How hidden vs2013 teechart grid
How hidden vs2013 teechart grid

Time:11-23

Make a chart, the younger brother now in use teechart2014 previously hidden grid directly with Axes. Bottom. GridPen. Visible=false, you can hide the grid, use vs2013 now, what kind of interface classes to obtain get_GridPen?
M_TChart - & gt; AddSeries (0);
CAxes Axis=(CAxes) m_TChart - & gt; Get_Axis ();
CAxis Y_Axis=Axis. Get_Left ();
CAxis X_Axis=Axis. Get_Bottom ();
X_Axis. SetMinMax (0.5, x + 0.5);//coordinates X
Y_Axis. SetMinMax (up_y + 2, low_y - 2);//Y
X_Axis. Put_Inverted (inverse);
CXXXX GridPen=X_Axis. Get_GridPen ();
  • Related