Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graph Properties
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Graph Properties
Miscellaneous
Thread ID:
00445139
Message ID:
00445139
Views:
58
Hi!


Is any one of you knows how to set the default font properties or manipulate the display characteristics of a olegraph (Microsoft Graph) ...


For your reference:


Here is the code that i used to display graph of report
**************************************************************
#DEFINE CRLF CHR(13)+CHR(10)
#DEFINE TAB CHR(9)
#DEFINE ECON_LOC "ECON"
#DEFINE INFR_LOC "INFRA"
#DEFINE SOCI_LOC "SOCIAL"
#DEFINE DEVT_LOC "DEVT-ADMIN"
#DEFINE bartype -4099
#DEFINE coltype -4100
#DEFINE pietype -4102


SET SAFETY OFF
SELECT SECTOR
cGData = ""+ TAB + ECON_LOC + TAB + INFR_LOC + TAB + SOCI_LOC + TAB + DEVT_LOC +CRLF
GO TOP
SCAN
IF !EOF() AND !EMPTY(reg_acro)
cGData = cGData + UPPER(REG_ACRO) + TAB + STR(ECONOMIC) + TAB + STR(INFRA) + TAB + STR(SOCIAL) + TAB + STR(DEVT_ADMIN) + CRLF
ENDIF
ENDSCAN
create table foo (gen1 g)
SET SAFETY ON
append blank
THIS.LockScreen = .T.
append general gen1 class "msgraph.chart" DATA m.cGData
THIS.OleBoundControl1.ControlSource = "Gen1"
THIS.OleBoundControl1.HasLegend = .F.
THIS.OleBoundControl1.autoformat(coltype,1)
THIS.LockScreen = .F.
**************************************************************
Please help me solve this.....


Hope for your prompt reply.....


Regards.....
Joe Mamokan
Database Specialist
Email Address: mamokan@eudoramail.com
Url Address: http://visnet_dd.tripod.com
"Can you VISUALIZE Quick Data Access"
Cell # +639172482033
Reply
Map
View

Click here to load this message in the networking platform