SlideShare a Scribd company logo
Graphical RPG Framework for IBM i 
SilverDev Tutorial 
How to Build a Graph in IBM i Applications?
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 2/ 19 
Steps: 
1. Build a new program ...................................................................................... 3 
2. Screen preparation ......................................................................................... 6 
3. Graphs types ................................................................................................... 9 
4. Data insertion ............................................................................................... 11 
5. Compilation .................................................................................................. 14 
6. CLP Creation ................................................................................................. 15 
7. 1st deployment ............................................................................................ 17 
8. Result ............................................................................................................ 18
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 3/ 19 
1. Build a new program 
Launch SilverDev Designer and select a context from the menu Tools > Context.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 4/ 19 
Use the « + » icon to create your new program, 
in the Context tab 
This program will contain SQL : 
Select SVDSQLRPG type
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 5/ 19 
Your program appears on the Context tab list 
Double-click it to open it
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 6/ 19 
2. Screen preparation 
Put first a panel on the top of the screen: 
On the Components tab, click on the CPanel icon and place it on the screen with another click. 
To adapt it to the screen width, use the Align property on the Inspector tab: alTop value.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 7/ 19 
Add a button to load data. 
Use CButton Component, place it on the screen and name it ‘Load’ with its Caption property.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 8/ 19 
Now prepare the graph display area: 
Use a CChart Component and select alClient value on the Align property
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 9/ 19 
3. Graphs types 
Double click on the graph area 
This pop-up appears. 
Click the New icon, at the top left, to insert new series. 
You can choose your graph type on this dialog box. 
We select the pie one.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 10/ 19 
The form is ready to receive data. 
Be careful: This screen is a preview. It does not displays real data
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 11/ 19 
4. Data insertion 
We’ll use the Load button to load data. Select it on the form. 
On the Events tab, select and double click the OnClick event. 
The source code has been automatically updated
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 12/ 19 
We’ll use data on two tables from SilverDev demo library : 
On table contains a book list (sddmbks), the other one contains books themes (sddmthm). 
The graph will display the number of books of each theme. 
Declare your variables: 
And prepare SQL query :
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 13/ 19 
Before displaying query’s resulsts, we need to clear previous data so they don’t overlap 
Use sdSeriesClear function: 
Now you can add data with sdAddPie function 
Tip: To get more info on SilverDev functions, use F1.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 14/ 19 
5. Compilation 
Save and compile the form 
Then Generate your program on Compiling menu
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 15/ 19 
6. CLP Creation 
To deploy the app, you need a CLP. Let’s build it on SilverDev: 
Open a new member 
Add on it your library and call your RPG program :
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 16/ 19 
Save the CLP 
And compile it.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 17/ 19 
7. 1st deployment 
Launch MyDesk and right click where you want to make your application available. Then, choose « New application » 
Fill the dialog box with the application title, the file name and the call command. 
On next screen, select the app authorizations.
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 18/ 19 
8. Result 
You can now launch your application and click the Load button to load data:
SilverDev – Tutorial – Build a Graph 
Experia Europe – All Rights Reserved -- 19/ 19 
More info on www.silverdev.com 
EXPERIA Europe 
4, rue L.Beridot 
Les jardins d'Epione 
38500 VOIRON - FRANCE 
www.experia.com 
info@experia.com

More Related Content

PDF
[Tutorial] Insert a Picture in IBM i Applications with SilverDev
PDF
[Tutorial] SilverDev Designer - RPG Development Studio
PDF
[Tutorial] SilverDev Wizard - english
PDF
SilverDev: Modernize Your IBM i User Experience
PDF
Course Syllabus For Basic sciences Department
PDF
IBM i: How modernized applications facilitate interactions with PCs?
PDF
Course Syllabus For Operations Management
PDF
[Tutorial] SilverDev for IBM i: Quick Start
[Tutorial] Insert a Picture in IBM i Applications with SilverDev
[Tutorial] SilverDev Designer - RPG Development Studio
[Tutorial] SilverDev Wizard - english
SilverDev: Modernize Your IBM i User Experience
Course Syllabus For Basic sciences Department
IBM i: How modernized applications facilitate interactions with PCs?
Course Syllabus For Operations Management
[Tutorial] SilverDev for IBM i: Quick Start

Viewers also liked (8)

PPT
Matchtech Group Plc Group Overview
PPT
Elemense Overview
PDF
Certification Gl
PDF
Certification Dnv
PDF
Certification Ccs
PDF
Certification Bv
PDF
Certification Lr
PPT
Hengtong Presentation India Market 29.11
Matchtech Group Plc Group Overview
Elemense Overview
Certification Gl
Certification Dnv
Certification Ccs
Certification Bv
Certification Lr
Hengtong Presentation India Market 29.11
Ad

Similar to [Tutorial] Build a graph in RPG with SilverDev (20)

PDF
Analytics with Power BI and R
PDF
Advance Computer Architecture
PPTX
Build your first android mobile app
DOCX
Android Programing Course Material Labs
PDF
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
PDF
Stat planet - tutorial
DOCX
EC6612 VLSI Design Lab Manual
PPTX
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
DOC
P.N. 4219640_inDex User's Manual
PPTX
AT&T Hack Dallas Node-RED Tutorial
PDF
PPT
Devry cis-170-c-i lab-1-of-7-getting-started
PPT
Devry cis-170-c-i lab-1-of-7-getting-started
PDF
Innovyze Infonet Manual
PDF
Mapping%20Skills%20Tutorial
PDF
Mapping%20Skills%20Tutorial
PDF
DSA Lesson 2 - Algorithm and Flowcharting.pdf
DOC
A d swincc15e
PDF
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
Analytics with Power BI and R
Advance Computer Architecture
Build your first android mobile app
Android Programing Course Material Labs
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Stat planet - tutorial
EC6612 VLSI Design Lab Manual
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
P.N. 4219640_inDex User's Manual
AT&T Hack Dallas Node-RED Tutorial
Devry cis-170-c-i lab-1-of-7-getting-started
Devry cis-170-c-i lab-1-of-7-getting-started
Innovyze Infonet Manual
Mapping%20Skills%20Tutorial
Mapping%20Skills%20Tutorial
DSA Lesson 2 - Algorithm and Flowcharting.pdf
A d swincc15e
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
Ad

More from SilverDev by Experia (14)

PDF
[Tutoriel] Créez un graph en RPG avec SilverDev
PDF
[Tutorial] Crear gráficos en RPG con SilverDev
PDF
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
PDF
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
PDF
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
PDF
Comment simplifier et améliorer l'interfaçage IBM i / PC?
PDF
How to simplify IBM i / PC exchanges with SilverDev?
PDF
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
PDF
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
PDF
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
PDF
[Tutoriel] Studio de développement RPG SilverDev Designer
PDF
[Tutoriel] SilverDev Wizard - français
PDF
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
PDF
RPG : Développez des applications graphiques avec Silverdev
[Tutoriel] Créez un graph en RPG avec SilverDev
[Tutorial] Crear gráficos en RPG con SilverDev
[Tutoriel] Insérer une image dans une application IBM i avec SilverDev
[Tutorial] Insertar una imagen en una aplicación IBM i con SilverDev
[Tutoriel] SilverDev pour IBM i : Démarrage rapide
Comment simplifier et améliorer l'interfaçage IBM i / PC?
How to simplify IBM i / PC exchanges with SilverDev?
Témoignage Igloo Post-Mix (Orangina-Schweppes / Pepsi Cola)
SilverDev / ARCAD Skipper Interface - for Structured Graphic Developments in ...
Temoignage SilverDev - Moderniser l’existant en RPG avec SilverDev
[Tutoriel] Studio de développement RPG SilverDev Designer
[Tutoriel] SilverDev Wizard - français
Experia annonce la nouvelle version de SilverDev pour AS400 / IBM i
RPG : Développez des applications graphiques avec Silverdev

Recently uploaded (20)

PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
medical staffing services at VALiNTRY
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
System and Network Administration Chapter 2
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Softaken Excel to vCard Converter Software.pdf
PPT
Introduction Database Management System for Course Database
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Transform Your Business with a Software ERP System
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Introduction to Artificial Intelligence
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Computer Software and OS of computer science of grade 11.pptx
Upgrade and Innovation Strategies for SAP ERP Customers
medical staffing services at VALiNTRY
wealthsignaloriginal-com-DS-text-... (1).pdf
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Wondershare Filmora 15 Crack With Activation Key [2025
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Internet Downloader Manager (IDM) Crack 6.42 Build 41
System and Network Administration Chapter 2
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Softaken Excel to vCard Converter Software.pdf
Introduction Database Management System for Course Database
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Transform Your Business with a Software ERP System
L1 - Introduction to python Backend.pptx
Reimagine Home Health with the Power of Agentic AI​
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Introduction to Artificial Intelligence

[Tutorial] Build a graph in RPG with SilverDev

  • 1. Graphical RPG Framework for IBM i SilverDev Tutorial How to Build a Graph in IBM i Applications?
  • 2. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 2/ 19 Steps: 1. Build a new program ...................................................................................... 3 2. Screen preparation ......................................................................................... 6 3. Graphs types ................................................................................................... 9 4. Data insertion ............................................................................................... 11 5. Compilation .................................................................................................. 14 6. CLP Creation ................................................................................................. 15 7. 1st deployment ............................................................................................ 17 8. Result ............................................................................................................ 18
  • 3. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 3/ 19 1. Build a new program Launch SilverDev Designer and select a context from the menu Tools > Context.
  • 4. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 4/ 19 Use the « + » icon to create your new program, in the Context tab This program will contain SQL : Select SVDSQLRPG type
  • 5. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 5/ 19 Your program appears on the Context tab list Double-click it to open it
  • 6. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 6/ 19 2. Screen preparation Put first a panel on the top of the screen: On the Components tab, click on the CPanel icon and place it on the screen with another click. To adapt it to the screen width, use the Align property on the Inspector tab: alTop value.
  • 7. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 7/ 19 Add a button to load data. Use CButton Component, place it on the screen and name it ‘Load’ with its Caption property.
  • 8. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 8/ 19 Now prepare the graph display area: Use a CChart Component and select alClient value on the Align property
  • 9. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 9/ 19 3. Graphs types Double click on the graph area This pop-up appears. Click the New icon, at the top left, to insert new series. You can choose your graph type on this dialog box. We select the pie one.
  • 10. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 10/ 19 The form is ready to receive data. Be careful: This screen is a preview. It does not displays real data
  • 11. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 11/ 19 4. Data insertion We’ll use the Load button to load data. Select it on the form. On the Events tab, select and double click the OnClick event. The source code has been automatically updated
  • 12. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 12/ 19 We’ll use data on two tables from SilverDev demo library : On table contains a book list (sddmbks), the other one contains books themes (sddmthm). The graph will display the number of books of each theme. Declare your variables: And prepare SQL query :
  • 13. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 13/ 19 Before displaying query’s resulsts, we need to clear previous data so they don’t overlap Use sdSeriesClear function: Now you can add data with sdAddPie function Tip: To get more info on SilverDev functions, use F1.
  • 14. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 14/ 19 5. Compilation Save and compile the form Then Generate your program on Compiling menu
  • 15. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 15/ 19 6. CLP Creation To deploy the app, you need a CLP. Let’s build it on SilverDev: Open a new member Add on it your library and call your RPG program :
  • 16. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 16/ 19 Save the CLP And compile it.
  • 17. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 17/ 19 7. 1st deployment Launch MyDesk and right click where you want to make your application available. Then, choose « New application » Fill the dialog box with the application title, the file name and the call command. On next screen, select the app authorizations.
  • 18. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 18/ 19 8. Result You can now launch your application and click the Load button to load data:
  • 19. SilverDev – Tutorial – Build a Graph Experia Europe – All Rights Reserved -- 19/ 19 More info on www.silverdev.com EXPERIA Europe 4, rue L.Beridot Les jardins d'Epione 38500 VOIRON - FRANCE www.experia.com info@experia.com