15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Using Graph Control in VC++

Xiangyang Liu -- liu@odin.mdacc.tmc.edu
Monday, January 29, 1996


Hi, has anyone used the graph control that comes with Visual Basic 3.0 in
a Visual C++ (1.51) program?  

I installed it on my App Studio.  It works except the following problem when 
displaying legend text:  I tried to display several sets of curves with a 
legend text for each of the curves.  But only one curve and its legend text
will appear on the screen.  As soon as I remove the code for displaying the 
legend text, the other curves will appear.

The line of code I used to display legend text is:

	MyGraph->SetStrProperty("LegendText", MyText);

Any help is appreciated.


Xiangyang  


P.S.  Using a more advanced version of VC++ is not among my current options.





Yuemin Zhang -- yz@holditch.com
Wednesday, January 31, 1996

It seems that later legend text overlaps the previous legend text.  
You may need give different start point to different legend text.


Yuemin Zhang
S. A. Holditch & Associates, Inc.




| Вернуться в корень Архива |