MS4BIĀ®

MS4BI HELP 2022

by MS4script
01-Introduction
Preface & Copyright
Getting started
Informations + Cmd/param Server
Demos Simple
02- Declarations
Structure
Type
03- Instructions
Conditions if,do,while..
Char/Text functions Char or Text..()
Get + Include functions Get, Include..
String functions String# (hashtag)
Date-Time Day, Time, Year.
Display
Call
Formulas Complex
04- Database
Connector Ado, Odbc, Dsn, SAP, Ms4
DB Connect Create, delete
Import DataSource Import, Consolidation
Administration Admin, User
05- Sql-Query
Sql
Query Form : BTS,Plus
Grid option
06- Charts
Forms Plus, Win, Image, Excel, Morris...
Pie Std, Donut, 3D...
Bar Std, Stack, Line, Area, Plot
Radar
QrCode, Gauge
Step, Stock...
,Google,Leaflet... GeoMap
,Gantt,Timeline,Org.
DrawWindow [web]
07- Dashboard
Form tab, no tab
Responsive UI
08- Report
Report Hierarchy
Report Design
09- Filters
Dialogue + Call
10- Menus
Menu Design
Menu Frameset
Menu Custom
11-UI : Responsive
Tables Responsive,Frame,position
List Group
Text
Panel Header, body, Footer
Button Button, Progress Bar
Icon & Button
Collapse Group, Panel
Notifications
12- Encryption
Encrypt
Decrypt
13- Windows
Dialogue
Picture, Frame, Button..
MsgBox
Grid

Designer

00-OverView
01-Transaction
02-Setting
05-Import
10-Formula
15-Report-Part1
16-Report-Part2
20-Query-Part1
21-Query-Part2
25-Report-Query-Style
30-QrCodeImage
31-Windows
32-Frame
40-TabStrip
50-Collapse
60-BeginForm
63-Input-SubmitBox
70-Input-Select
71-Input-Insert
72-Input-Update
73-Input-Delete
75-Input-Query
77-ListComBo
81-Button-Link
82-Button-DataList
86-Sticky-Label
91-Insert-PhpJsHtml
92-Insert-MS4script
15- Css, html, Php, js.
Insert Native language Begin_sw..End_Sw
16-Install + tools.
Installation & Configuration This Menu
Generate Native... Php, Html, js..
Code Generator Ms4 Script
MarkDown Ms4 Script
Source Code Menu Help This Menu
written with ms4script
      

BASIC HELP : MS4BI by MS4script

2022 version 1.10

Chapter 6 : CHARTS

KEYWORD : FormPchart : DRAWSTEP

Definition

Based on the FormPchart graphics library, displays Standard, Plot, scale of STEP charts .

Syntax

  	
	Table : 
	
	FormPchart :	DrawSTEP, title : string/literal, 
		ImageAREA : (height) integer, (width) integer ,
	     TYPE : integer, FORMAT: string/literal  use View  ("Table Name or $MS4VIEWDBTMP ");
	or
	Array :
	FormPchart :	DrawStep, title : string/literal, 
		ImageAREA : (height) integer, (width) integer ,
	     TYPE : integer, FORMAT: string/literal
		use  
 		array Label : literal 		:literal 1,literal 2,3,4 .....,
 		array value : literal	: integer 1,integer 2,3,4 .....;
	 
	

Example

  		   
 #include "#SYSPATHMS4BI+\zInclude\includeChart.h"  
 
 ***********************************************************	
BEGIN
 	 
DBconnect{Ms4DB}(LEnvDemoExcelDB);  
FormPchart : DrawSTEP, title : " STEP Standard Business 2011,2012,2013" ,
 ImageAera :700, 300 ,TYPE : $STANDARD,  FORMAT :"$" 
  use View  ("ms4EmplBusinessDollars20111213")  ;
 	   
END ;
 
 ** or ARRAY
 BEGIN
 DBconnect{Ms4DB}(LEnvDemoExcelDB); 
 FormPchart : DrawStep, title : " STEP Standard Product xxxxxxx" ,
 ImageAera :700, 300 ,TYPE : $STANDARD,  FORMAT :"Unit " 
 use  
 Array   Label : "Select Products" : "Apple","Banana","Orange","Lemon","Peach","Strawberry"    ,
 Array   Value :  "Probe1"         :  34,55,15,62,38,42    ,  
 array   Value :  "Probe1Weight"   :  15,30,20,19,15,10      ,  
 Array   Value :  "Probe2"         :  25,10,15,11,12,50    ,
 Array   Value :  "Probe2Weight"   :  16,10,14,10,14,16      ;
 	   
 END ;

	  

FormPchart STEP

STEP Standard Business 2011,2012,2013

Source & Copy : FormPchart STEP
Visualise Example : FormPchart STEP Scale
Source & Copy : FormPchart STEP Scale
Visualise Example : FormPchart STEP Plot
Source & Copy : FormPchart STEP Plot
Visualise ALL Examples : FormPchart
Visualise ALL CHART examples

Prerequisites

- include header file : driver:\MandragorePlanete\MS4BI\zInclude\IncludeChart.h
- DBconnect{Ms4DB} (DB Name )

Remarks

IncludeChart.h :
integer : $STANDARD := 1 ; integer : $PLOT := 90 ;
integer : $NETWORK := 91 ;
integer : $SCALE := 92 ;

Chart type : (FormPlus ,FormPchart, FORMMORRIS)

MS4SCRIPT : only ADD-ON MS4BI

See also

ToolBarExport, MS4_QUERY $MS4VIEWDBTMP



KEYWORD : FormPchart : DRAWSTOCK

Definition

Based on the FormPchart graphics library, displays STOCK charts .

Syntax

  	
 
	Array :
	FormPchart :	DrawStock, title : string/literal, 
		ImageAREA : (height) integer, (width) integer ,
	     TYPE : integer, FORMAT: string/literal
		use  
 		array Label : literal 		:literal 1,literal 2,3,4 .....,
 		array value : literal	: integer 1,integer 2,3,4 .....;
	 
	

Example

  		   
 #include "#SYSPATHMS4BI+\zInclude\includeChart.h"  
 
BEGIN
 DBconnect{Ms4DB}(LEnvDemoExcelDB); 
 FormPchart : DrawStock, title : " STOCK Standard Product xxxxxxx" ,
 ImageAera :700, 300 ,TYPE : $STANDARD,  FORMAT :"$" 
 use  
 Array   Label : "Time"      :  "8h","10h","12h","14h","16h","18h" 
 Array   Value :  "Open"       :  34,55,15,62,38,42   ,  
 Array   Value :  "Close" 	  :  42,25,40,38,49,36     ,  
 Array   Value :  "Min"        :  27,14,12,25,32,32    ,
 Array   Value :  "Max"        :  45,59,47,65,64,48      ;
 END ;
	 
	  

FormPchart STOCK

STOCK Standard Open/Close (only !!!!)

Source & Copy FormPchart STOCK
Visualise ALL Examples : FormPchart
Visualise ALL CHART examples

Prerequisites

- include header file : driver:\MandragorePlanete\MS4BI\zInclude\IncludeChart.h
- DBconnect{Ms4DB} (DB Name )

Remarks

IncludeChart.h :
integer : $STANDARD := 1 ;
Chart type : (FormPlus ,FormPchart, FORMMORRIS)

MS4SCRIPT : only ADD-ON MS4BI

See also

ToolBarExport, MS4_QUERY $MS4VIEWDBTMP



KEYWORD : FormPchart : DRAWSPLINE

Definition

Based on the Pchart graphics library, displays Standard, Plot, scale of SPLINE charts .

Syntax

  	
	Table : 
	
	 FormPchart :	DrawSPLINE, title : string/literal, 
		ImageAREA : (height) integer, (width) integer ,
	     TYPE : integer, FORMAT: string/literal  use View  ("Table Name or $MS4VIEWDBTMP ");
	or
	Array :
	FormPchart :	DrawSpline, title : string/literal, 
		ImageAREA : (height) integer, (width) integer ,
	     TYPE : integer, FORMAT: string/literal
		use  
 		array Label : literal 		:literal 1,literal 2,3,4 .....,
 		array value : literal	: integer 1,integer 2,3,4 .....;
	 
	
BEGIN

Example

  		   
 #include "#SYSPATHMS4BI+\zInclude\includeChart.h"  
 
 ***********************************************************	
BEGIN
 	 
DBconnect{Ms4DB}(LEnvDemoExcelDB);  
FormPchart : DrawSPLINE, title : " STEP Standard Business 2011,2012,2013" ,
 ImageAera :700, 300 ,TYPE : $STANDARD,  FORMAT :"$" 
  use View  ("ms4EmplBusinessDollars20111213")  ;
 	   
END ;
 
 ** or ARRAY
BEGIN
FormPchart : DrawSpline, title : " SPLINE Standard  xxxxxxx" ,
ImageAera :700, 300 ,TYPE : $STANDARD,  FORMAT :"$" 
 use  
 Array   Label : "Time"      :  "8h","10h","12h","14h","16h","18h" 
 Array   Value :  "Open"       :  34,55,15,62,38,42   ,  
 Array   Value :  "Close" 	  :  42,25,40,38,49,36     ,  
 Array   Value :  "Min"        :  27,14,12,25,32,32    ,
 Array   Value :  "Max"        :  45,59,47,65,64,48      ;
 END ;

	  

FormPchart SPLINE

SPLINE standard Business 2011,2012,2013

Source & Copy FormPchart SPLINE
Visualise Example : FormPchart SPLINE Plot
Source & Copy : FormPchart SPLINE Plot
Visualise ALL Examples : FormPchart
Visualise ALL CHART examples

Prerequisites

- include header file : driver:\MandragorePlanete\MS4BI\zInclude\IncludeChart.h
- DBconnect{Ms4DB} (DB Name )

Remarks

IncludeChart.h :
integer : $STANDARD := 1 ; integer : $PLOT := 90 ;

Chart type : (FormPlus ,FormPchart, FORMMORRIS)

MS4SCRIPT : only ADD-ON MS4BI

See also

ToolBarExport, MS4_QUERY $MS4VIEWDBTMP



KEYWORD : FORMEXCEL : CHART

Definition

Based on the EXCEL graphics library, displays PIE, BAR, SCATTER, RADAR, STEP, STOCK,BUBBLE... chart types.

Syntax

  	
	
 FormExcel : Chart(Chart type: integer) ,  title :  string/literal   use  View  ("[Table Name or $MS4VIEWDBTMP]"); 
		or
 FormExcel : Chart(Chart type: integer) , height : "xx%", width : "xx%" 
             title :  string/literal   use  View  ("[Table Name or $MS4VIEWDBTMP]"); 

		
 	

Example

  		   
 #include  "#SYSPATHMS4BI+\zInclude\IncludeChartExcel.h"  
    BEGIN
 	   DBconnect{Ms4DB}(LEnvDemoExcelDB); 
 		FormExcel : Chart(xlSurface),  height : "50%", width : "90%"  , title :  " type xlSurface : Business 2011,2012,2013 by  EMPLOYEE " 
                 use View   (" [ms4EmplBusinessDollars20111213]")  ; 
    END;	
	  

Excel : surface

type xlSurface : Business 2011,2012,2013 by EMPLOYEE

Visualise Example : FormExcel Bar
Source & Copy FormExcel Bar
Visualise ALL Examples : FormExcel
Visualise ALL CHART examples

Prerequisites

- include header file : driver:\MandragorePlanete\MS4BI\zInclude\IncludeChartExcel.h
- DBconnect{Ms4DB} (DB Name )

Remarks

IncludeChartExcel.h :

(70) Chart type :
define xlBAR 5 ** BAR.
define xlBARExploded 69 ** Exploded BAR.
define xlBAROfBAR 68 ** BAR of BAR.
define ....

MS4SCRIPT : only ADD-ON MS4BI

See also

ExcelExportImage_JPG, ToolBarExport



KEYWORD : EXCELEXPORTIMAGE_JPG

Definition

Based on the EXCEL graphics library, exports charts in JPG image format.

Syntax

  	
	
 FormExcel : Chart(Chart type: integer) ,  title :  string/literal   use  View  ("[Table Name or $MS4VIEWDBTMP]"); 
 			ExcelExportImage_JPG( string/literal : Directory and JPG file name) ;		
 		
 	

Example

  		   
#include  "#SYSPATHMS4BI+\zInclude\IncludeChartExcel.h"   
 
** ************************************************************
** EXPORT EXCEL CHART
** ***********************************************************	
 BEGIN
 	   DBconnect{Ms4DB}(LEnvDemoExcelDB); 
		FormExcel : Chart(xl3DBAR), title :  " Business 2011 by  EMPLOYEE "  
		use   View  ("[ms4EmplTotalBusiness2011]")
			ExcelExportImage_JPG("c:\temp\ms4ImageExcelBAR3D1.jpg") ; 
 END;	
	  

Interested in joining us? contact@mgplanete.com
The Mg Planete team


Copyright 2022 by Mandragore Planete

the official sites :
mgplanete.com
getms4bi.com
demos.ms4bi.com
help.ms4bi.com
ms4script.com

Download

official site :
getms4bi.com

Our purpose : Keep it simple !


written with ms4script
  • help 01.010.2022.8

MS4BI in 5 minutes