Home > Software engineering >  Used in VS2010 teechart5 controls, how to use the code change x y title? (small white just contact,
Used in VS2010 teechart5 controls, how to use the code change x y title? (small white just contact,

Time:10-13

check on the net of VC6.0 code is m_TeeChart GetAxis () GetLeft (.) GetTitle () SetCaption (the title of the "Y");
But no GetAxis chart1 header files in VS2010 class
I have loaded the CAxes. "h", "CAxis. H", "CAxisTitle. H" header file, but don't know how to call, also don't know which members of this call?
Small white just contact teeshart and vc + +, if god can give best modify the code, thank you all for the great god give directions!

CodePudding user response:

Advice to compile the first link debug TeeChart5 bring relevant example code,

CodePudding user response:

//modify the left axis words
CAxes axes=(CAxes) m_chart1. Get_Axis ();
CAxis axisLeft=axes. Get_Left ();
CAxisTitle axisLeftTitle=axisLeft. Get_Title ();
AxisLeftTitle. Put_Caption (_T (" the union time/hour "));
Brothers, in vs2010 code to write, other attributes are written as documentation, attribute and grammar can consult website (website: http://www.teechart.net/docs/

CodePudding user response:

I also is to make the graph, the original poster can you give a link to learn

CodePudding user response:

just how to write an article on the high version of the Visual studio using VC 6.0 the teechart wording, you can consult:
Teechart using twitter in vc + +

CodePudding user response:

Measuring the building code available,
This is I write:
M_chart. GetAxis (.) GetBottom (). The GetTitle () SetCaption (_T (" serial number "));
M_chart. GetAxis (.) GetLeft (.) GetTitle () SetCaption (_T (" value "));
But to include # include "axistitle. H", and takes the corresponding source file header file. Lack of CPP added to the project, or you will quote

CodePudding user response:

Mark, are learning
  • Related