Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 8.0 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  2969 (14 on line) Last Update: Dec 24, 2003  
    TGraphX5    Printer Friendly  
 
Description   Inheritance   Example   Properties   Methods
 
 Description

The TGraphX5 object allows you to create spectacular graphics with APL+Win
using the GraphX software developed by MAI and the SoftwareFx ChartFX client server component
The Trial version of ChartFX can be downloaded from:
http://eu.softwarefx.com/SFXTrial/Trial_downloads.asp?ProductID=CfxClientServer

Description   Inheritance   Example   Properties   Methods
 
 Inheritance

Inherits from:  TFrame5 TObject5

Description   Inheritance   Example   Properties   Methods
 
 Example
 
 

The above form is generated by the following APL+Win Objects™ code:


      CopyTGraphX5
      aaa„?10 3˝1000
      aaa[;1]„Ľ10
      'ff'Świ'*Create' 'TForm5'('*caption' 'TGraphX5 Example')('sysmenu'1)('*size'350 650)
      'ff'Świ'*.gr.Create' 'TGraphX5'('wherelc'0 0 '>>' '>>')('attach'1 2 3 4)
      'ff'Świ'.gr.yfmt' 'I6'
      'ff'Świ'.gr.plotdata'aaa
      'ff'Świ'*Set'('ontop'1)'Show' 'SessionFocus'
      'ff'Świ'.gr.ChangeType' 'Bar'
      'ff'Świ'?.gr.barstyle'
Get or Set the bar style for Bar graphs
Syntax:  'obj'Świ'barstyle'styles
styles: a vector of styles chosen from:
        1	Horizontal Bars
        2	Stack Bars (requires non negative data)
        4	Normalize to 100%(requires +2)
        8	Different Colors on Single Series
Example:
      'ff.gr'Świ'barstyle'1 2 4

      'ff'Świ'.gr.barstyle'2
      'ff'Świ'.gr.barstyle'2 8
      'ff'Świ'.gr.threed'1
      'ff'Świ'.gr.barstyle'2 4 8
      'ff'Świ'.gr.barstyle'1 2 8
      'ff'Świ'.gr.barstyle'1 8
      'ff'Świ'.gr.values'1
      'ff'Świ'.gr.values'0
      'ff'Świ'.gr.ChangeType' 'Area'
      'ff'Świ'.gr.title' 'Sample TGraphX5 Graph'
      'ff'Świ'.gr.plaintitle'1
      'ff'Świ'.gr.xlegend'(ś'C++' 'VB' 'APL+Win')
      'ff'Świ'.gr.legend'(ś'January' 'February' 'March' 'April' 'May' 'June' 'July' 'August' 'September' 'October')
      'ff'Świ'.gr.legendpos' 'right'
      'ff'Świ'.gr.legendpos' 'bottom'
      'ff'Świ'.gr.legendpos' 'left'
      'ff'Świ'.gr.toolbar'1
      Śerase'aaa'
 
Description   Inheritance   Example   Properties   Methods
 
 Properties
 
barstyle    
Description:  Get or Set the bar style for Bar graphs 
Syntax:  'obj' Świ 'barstyle'styles 
styles: a vector of styles chosen from: 
        1	Horizontal Bars 
        2	Stack Bars (requires non negative data) 
        4	Normalize to 100%(requires +2) 
        8	Different Colors on Single Series 
Example: 
      'ff.gr' Świ 'barstyle'1 2 4 
class    
Description:  Return current object class 
Syntax:  class„'obj' Świ 'class' 
help    
Example: 
0 0˝CopyTGraphX5 
aaa„?10 3˝1000 
aaa[;1]„Ľ10 
0 0˝'ff' Świ '*Create' 'TForm5' ('*caption' 'TGraphX5 Example') ('sysmenu'1) ('*size'350 650) 
0 0˝'ff' Świ '*.gr.Create' 'TGraphX5' ('wherelc'0 0 '>>' '>>') ('attach'1 2 3 4) 
'ff' Świ '.gr.yfmt' 'I6' 
'ff' Świ '.gr.plotdata'aaa 
'ff' Świ '*Set' ('ontop'1) 'Show' 'SessionFocus' 
'ff' Świ '.gr.ChangeType' 'Bar' 
'ff' Świ '?.gr.barstyle' 
'ff' Świ '.gr.barstyle'2 
'ff' Świ '.gr.barstyle'2 8 
'ff' Świ '.gr.threed'1 
'ff' Świ '.gr.barstyle'2 4 8 
'ff' Świ '.gr.barstyle'1 2 8 
'ff' Świ '.gr.barstyle'1 8 
'ff' Świ '.gr.values'1 
'ff' Świ '.gr.values'0 
'ff' Świ '.gr.ChangeType' 'Area' 
'ff' Świ '.gr.title' 'Sample TGraphX5 Graph' 
'ff' Świ '.gr.plaintitle'1 
'ff' Świ '.gr.xlegend' (ś'C++' 'VB' 'APL+Win') 
'ff' Świ '.gr.legend' (ś'January' 'February' 'March' 'April' 'May' 'June' 'July' 'August' 'September' 'October') 
'ff' Świ '.gr.legendpos' 'right' 
'ff' Świ '.gr.legendpos' 'bottom' 
'ff' Świ '.gr.legendpos' 'left' 
'ff' Świ '.gr.toolbar'1 
Śerase'aaa' 
legend    
Description:  Specify where the legend should be placed 
Syntax:  'obj' Świ 'legendpos'position 
position:  one of 'top' 'left' 'bottom' 'right' 'float' 'none' 
Example: 
      'ff.gr' Świ 'legendpos' 'right' 
legendhelp    
Description:  Get or Set the curve legend help 
Syntax:  'obj' Świ 'legendhelp'cmat 
cmat:  character matrix of curve legend texts 
Example: 
      'ff.gr' Świ 'legendhelp' (ś'1st month' '2nd month' '3rd month' '4th month') 
legendpos    
Description:  Specify where the legend should be placed 
Syntax:  'obj' Świ 'legendpos'position 
position:  one of 'top' 'left' 'bottom' 'right' 'float' 'none' 
Example: 
      'ff.gr' Świ 'legendpos' 'right' 
plaintitle    
Description:  Get or Set various graph styles 
Syntax:  'obj' Świ 'property'boolean 
property: 'toolbar' 'threed' 'values' or 'plaintitle' 
boolean:  a boolean scalar 
Example: 
      'ff.gr' Świ 'threed'1 
plotdata    
Description:  Get or Set the matrix of data to be plotted 
Syntax:  'obj' Świ 'plotdata'datamatrix 
datamatrix:  a matrix where each row is a serie of points and each column a category 
         or  a vector of numeric values to draw one curve or one set of bars 
Example: 
      'ff.gr' Świ 'plotdata' (ś(Ľ10) (1 3 2 5 4 7 8 6 10 9) (10?10)) 
title    
Description:  Get or Set the graph title 
Syntax:  'obj' Świ 'title'title 
title:  character vector containing graph title 
Example: 
      'ff.gr' Świ 'title' 'Programming Languages' 
xlegend    
Description:  Get or Set the X-axis legends 
Syntax:  'obj' Świ 'xlegend'cmat 
cmat:  character matrix of X-axis legend texts 
Example: 
      'ff.gr' Świ 'xlegendhelp' (ś'C++' 'VB' 'APL+Win') 
xlegendhelp    
Description:  Get or Set the x-axis legend help 
Syntax:  'obj' Świ 'xlegendhelp'cmat 
cmat:  character matrix of x-axis legend help texts 
Example: 
      'ff.gr' Świ 'xlegendhelp' (ś'The worst language' 'A better language' 'The best language') 
yfmt    
Description:  Get or Set the y-axis label format 
Syntax:  'obj' Świ 'yfmt'fmtstring 
fmtstring:  an APL+Win valid Format String 
Example: 
      'ff.gr' Świ 'yfmt' 'I6' 
Description   Inheritance   Example   Properties   Methods
 
 Methods
 
ChangeType    
Description:  Changes the graph type 
Syntax:  'obj' Świ 'ChangeType'newtype 
newtype:  one of 'Area' 'Bar' 'FloatBar' 'Line' 'Pie' 'Scatter' 'Surface' 
Example: 
      'ff.gr' Świ 'ChangeType' 'Surface' 
New     Description: Create a new instance of TGraphX5
Example:
      'obj' Świ '*Create' 'TGraphX5'

PlotRows    
Description:  Calculates the 'plot_rows' property of a GraphX object 
based on the 'plot_data' argument matrix 
This method is used internally by the <plotdata> property 
Syntax:  plot_rows„'obj' Świ 'PlotRows'plot_data 
plot_data:  a valid plotdata property (see plotdata property above) 
plot_rows:  the calculated plotrows property (see notes below) 
Notes: 
The property plot_rows is an Nx4 numeric matrix specifying sub arrays of plot_data for graphing. 
It provides a way to pass both x and y coordinates in plot_data when using Scatter graphs 
and offers some flexibility when specifying data for categorical charts. 
Each row of plot_rows specifies a sub array of plot_data. 
Columns of plot_rows have the following meaning: (All indices are specified in index origin 1.) 
    1 = index of first row in plot_data in sub array 
    2 = number of successive rows of plot_data in sub array 
    3 = index of first column in plot_data in sub array 
    4 = number of successive columns of plot_data in sub array 
When plot_rows is specified and the graph class is Scatter, each sub array of plot_data 
is graphed against the first row of plot_data, in the matching sub array columns. 
Note: If plot_xdata is also specified, plot_xdata takes precedence and plot_rows is ignored. 
Example: 
      'ff.gr' Świ 'PlotRows' (ś(Ľ10) (1 3 2 5 4 7 8 6 10 9) (10?10)) 
Description   Inheritance   Example   Properties   Methods
 
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.